agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Comma-separated phase names
$ npx -y skills add jmagly/aiwg --skill devkit-create-framework --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/devkit-create-frameworkContext preview
The summary Claude sees to decide when to auto-load this skill.
Comma-separated phase names
namespace: aiwg name: devkit-create-framework platforms: [all] description: Comma-separated phase names
Create 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**: 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**:
Point to existing frameworks as examples:
Reference documentation:
Framework 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>
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing