install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/devkit-create-addon" ~/.claude/skills/jmagly-aiwg-devkit-create-addon && rm -rf "$T"
manifest:
.agents/skills/devkit-create-addon/SKILL.mdsource content
Create AIWG Addon
Create a new standalone addon with AI assistance.
Usage
/devkit-create-addon <name> [--interactive]
Arguments
| Argument | Required | Description |
|---|---|---|
| name | Yes | Addon name (kebab-case recommended) |
Options
| Option | Description |
|---|---|
| --interactive | Enable interactive mode with guided questions |
What This Creates
agentic/code/addons/<name>/ ├── manifest.json # Addon configuration ├── README.md # Documentation ├── agents/ # Agent definitions ├── commands/ # Slash commands └── skills/ # Auto-triggered skills
Interactive Mode
When
--interactive is specified, I will ask:
- Purpose: What is the primary purpose of this addon?
- Capabilities: What specific capabilities should it provide?
- Initial agents: Should I create any starter agents?
- Initial commands: Should I create any starter commands?
- Core status: Should this be a core addon (auto-installed)?
Examples
# Quick creation /devkit-create-addon security-scanner # Interactive guided creation /devkit-create-addon code-metrics --interactive
Execution
- Validate name: Ensure name follows kebab-case convention
- Check existence: Verify addon doesn't already exist
- Gather info: In interactive mode, ask clarifying questions
- Generate manifest: Create manifest.json with appropriate fields
- Create structure: Build directory structure
- Generate README: Create documentation with usage instructions
- Optionally create components: If interactive, offer to create initial agents/commands
- Report success: Show created files and next steps
CLI Equivalent
For non-interactive creation, you can also use:
aiwg scaffold-addon <name> --description "..." --author "..."
Related Commands
- Add agent to addon/devkit-create-agent
- Add command to addon/devkit-create-command
- Add skill to addon/devkit-create-skill
- Validate addon structure/devkit-validate
References
- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
- @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
- @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-addon command
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md — Scope rules for addon design