Back to list
Swoking

symfony-skautoform

by Swoking

Claude Code plugin pour projets Symfony StarterKit

0🍴 0📅 Jan 19, 2026

SKILL.md


name: symfony-sk:autoform description: Declare AutoForms in migrations. Use when registering form keys and field labels. allowed-tools: Read, Write, Edit, Glob, Grep

AutoForm Skill

⛔ CRITICAL RULES

MANDATORY: Validate with AskUserQuestion BEFORE writing to migration.


Mission

Register AutoForm declarations and field labels in migrations.


Functions

// Register form
$this->addAutoform('FormKey', FullDtoClass::class);

// Add field labels
$this->addAutoformLabel('DtoClassName_propertyName', [
    'FR' => 'Label français',
    'EN' => 'English label',
]);

Label Key Format

<DtoClassName>_<propertyName>

Example: EventCreateDto_title, EventCreateDto_date


Process

  1. Identify DTO: Name and properties
  2. Generate labels: For each property
  3. Validate: Use AskUserQuestion for all labels
  4. Write: Add to migration

Example Migration

// Register form
$this->addAutoform('EventCreate', EventCreateDto::class);

// Field labels
$this->addAutoformLabel('EventCreateDto_title', [
    'FR' => 'Titre',
    'EN' => 'Title',
]);

$this->addAutoformLabel('EventCreateDto_date', [
    'FR' => 'Date',
    'EN' => 'Date',
]);

Checklist

  • Form registered with addAutoform()
  • All properties have labels
  • Label keys follow DtoClassName_propertyName
  • All languages have translations
  • AskUserQuestion used before writing

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon