Agent Skills for helping developers work with Craft CMS and Craft Commerce.
| Skill | Description |
|---|---|
craft-6-plugin-upgrade |
Walks a developer and their agent through upgrading a Craft 5 (Yii 2) plugin or module to Craft 6 (Laravel) in stages, from running on 6.x with the Yii 2 adapter to native Laravel code. Craft 6 is in alpha, so the bundled docs snapshot may lag behind. |
Each skill lives in its own directory under skills/:
skills/
└── example-skill/
├── SKILL.md # Required: metadata and instructions
├── scripts/ # Optional: executable helpers
├── references/ # Optional: supporting documentation
└── assets/ # Optional: templates and other resources
example-skill is a template for contributors, not an implemented Craft CMS or Commerce skill.
- Copy
skills/example-skill/toskills/<skill-name>/. - Update the YAML frontmatter in
SKILL.md. Thenamemust match the directory name, be 1–64 characters, and contain only lowercase letters, numbers, and single hyphens (no leading or trailing hyphens). Thedescriptionmust be 1–1024 characters and explain what the skill does and when to use it. - Replace the placeholder instructions with a focused workflow, examples, and validation steps. State any applicable Craft CMS or Commerce versions and prerequisites.
- Add supporting files only as needed, linking to them using paths relative to
SKILL.md. Remove unused optional directories and.gitkeepplaceholders when adding files.
Follow the Agent Skills specification. If you have the upstream skills-ref validator installed, run:
skills-ref validate skills/<skill-name>