Devkit create framework

From jmagly/aiwg · View interactive version

Devkit create framework is an AI agent skill from the GitHub repository jmagly/aiwg. Guided creation of a new AIWG framework (lifecycle phases, agents, templates) in a local AIWG checkout. Wraps the canonical scaffold-framework skill and `aiwg scaffold-framework` command.

How to use this skill

Skill file

Create AIWG Framework

Create a new AIWG framework with complete lifecycle structure.

The canonical skill for this action is scaffold-framework (aiwg-utils); this skill adds the guided design questions and runs the same aiwg scaffold-framework command. Run it from the root of your AIWG checkout (for example after switching to dev mode with aiwg --use-dev <path>).

Process

1. Validate Framework Name

Check that $ARGUMENTS contains a valid framework name:

Check existing frameworks:

ls agentic/code/frameworks/

2. Interactive Design (if --interactive)

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

3. Execute Scaffolding

Run the CLI scaffolding tool:

aiwg scaffold-framework <name> \
  --description "<derived from interactive>" \
  --phases "<phase1,phase2,...>"

4. Post-Creation Guidance

After scaffolding, provide guidance on next steps:

Immediate Actions:

  1. Review and customize actors-and-templates.md
  2. Define your first agents for each phase
  3. Create initial templates for key artifacts

Agent Creation Priority:

Command Creation Priority:

Template Creation Priority:

5. Provide Reference Resources

Point to existing frameworks as examples:

Reference documentation:

Output Format

Framework Created: <name>
─────────────────────────

Location: 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
  ✓ <framework-root>/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>

Notes

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.