Create a new AIWG framework with AI-guided design
Scaffold a complete AIWG framework with lifecycle structure, agents, commands, and templates. Use interactive mode for guided design when creating new frameworks for complex workflows.
/plugin marketplace add jmagly/ai-writing-guide/plugin install jmagly-utils-plugins-utils@jmagly/ai-writing-guideCreate a new AIWG framework with complete lifecycle structure.
Check that $ARGUMENTS contains a valid framework name:
Check existing frameworks:
ls ~/.local/share/ai-writing-guide/agentic/code/frameworks/
If --interactive is specified, guide the user through framework design:
Framework Purpose:
What lifecycle does this framework manage? (e.g., software development, marketing campaigns, legal cases)
Target Audience:
Who will use this framework? (e.g., development teams, marketing departments, legal firms)
Phase Structure:
What phases does this lifecycle include? Default: inception, elaboration, construction, transition Custom examples: discovery, analysis, synthesis, publication
Agent Categories:
What types of roles are needed?
- Analysis roles (analysts, researchers)
- Design roles (architects, designers)
- Implementation roles (developers, writers)
- Quality roles (reviewers, testers)
- Management roles (coordinators, managers)
Template Categories:
What artifact types will be produced?
- Planning documents
- Requirements documents
- Design documents
- Implementation artifacts
- Quality artifacts
- Deployment artifacts
Run the CLI scaffolding tool:
node ~/.local/share/ai-writing-guide/tools/scaffolding/scaffold-framework.mjs \
<name> \
--description "<derived from interactive>" \
--phases "<phase1,phase2,...>"
After scaffolding, provide guidance on next steps:
Immediate Actions:
actors-and-templates.mdAgent Creation Priority:
Command Creation Priority:
flow-<phase>)flow-<phase>-to-<next>)Template Creation Priority:
Point to existing frameworks as examples:
sdlc-complete: 53 agents, 48 commands, comprehensive lifecyclemedia-marketing-kit: 37 agents, marketing-focused lifecycleReference documentation:
docs/development/framework-creation-guide.mddocs/development/devkit-overview.mdFramework Created: <name>
─────────────────────────
Location: ~/.local/share/ai-writing-guide/agentic/code/frameworks/<name>/
Phases: <phase1> → <phase2> → ... → <phaseN>
Created:
✓ manifest.json
✓ README.md
✓ plan-act-<name>.md
✓ actors-and-templates.md
✓ agents/manifest.md
✓ commands/manifest.md
✓ templates/manifest.json
✓ flows/<phase>.md (for each phase)
✓ metrics/tracking-catalog.md
✓ config/models.json
Next Steps:
1. Define actors: Edit actors-and-templates.md
2. Add agents: aiwg add-agent <name> --to <framework>
3. Add commands: aiwg add-command <name> --to <framework>
4. Add templates: aiwg add-template <name> --to <framework> --category <phase>
5. Deploy: aiwg use <framework>
--interactive for guided design process