| name | scaffold-plugin |
| description | Scaffold a new AI plugin in the .ai/ marketplace directory. Use when the user wants to create a new plugin, skill, agent, or hook package. |
Scaffold Plugin
Create a new plugin in the .ai/ marketplace directory.
Instructions
- Ask the user for a plugin name (lowercase, hyphens allowed) if not provided.
- Run the scaffolding script:
bash .ai/starter-aipm-plugin/scripts/scaffold-plugin.sh <plugin-name>
- Report the created file tree to the user.
- Suggest next steps: edit the generated
SKILL.md, add agents or hooks.
Notes
- The script creates
.ai/<plugin-name>/ with starter plugin files, including a starter skill.
- If the directory already exists,
aipm make plugin is idempotent (reports existing files without failing).
- After scaffolding, customize the scaffolded plugin files as needed.