symfony-sk:autoform

Register AutoForm declarations and translated field labels in Symfony migrations.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Swoking/symfony-sk-plugin --skill symfony-sk-autoform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: symfony-sk:autoform
Source: https://github.com/Swoking/symfony-sk-plugin/tree/main/plugins/symfony-sk/skills/autoform
Command: npx skills add https://github.com/Swoking/symfony-sk-plugin --skill symfony-sk-autoform

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the registration of AutoForm declarations and their labels in Symfony migrations, reducing manual wiring and human error.

Core Features & Use Cases

  • Register form keys with addAutoform and attach DTO classes
  • Generate and translate field labels via addAutoformLabel for each DTO property
  • Validate entries with AskUserQuestion before writing to migrations

Quick Start

Identify the target DTO and its properties, then apply addAutoform and addAutoformLabel calls in the migration to create the declarations and labels.

Frequently Asked Questions about symfony-sk:autoform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register AutoForm declarations in Symfony migrations?

Register AutoForm declarations in Symfony migrations by using the addAutoform call to attach form keys to DTO classes, automating manual wiring and reducing human error.

How do I generate and translate field labels for DTO properties in Symfony migrations?

Generate and translate field labels for DTO properties by applying the addAutoformLabel call in your Symfony migration to create per-property labels with translations for multiple languages.

What is the best way to automate form key registration and field label generation for Symfony DTOs?

Automate form key registration and field label generation by identifying the target DTO and its properties, then applying addAutoform and addAutoformLabel calls within your Symfony migration workflow.

Does this AutoForm migration approach validate inputs before writing to the database?

Yes, the AutoForm migration approach validates entries using AskUserQuestion before writing to migrations, ensuring all form keys and labels are confirmed prior to execution.

Can I use addAutoformLabel to handle localization for multiple languages in Symfony migrations?

Yes, you can use addAutoformLabel to handle localization in Symfony migrations by generating per-property labels with translations explicitly configured for multiple languages.