@aiwg/flue 2026.11.9 → 2026.11.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +217 -5
- package/skills/add-agent/SKILL.md +20 -6
- package/skills/add-command/SKILL.md +0 -1
- package/skills/add-skill/SKILL.md +13 -2
- package/skills/agent-loop/SKILL.md +1 -1
- package/skills/agent-loop-ext/SKILL.md +1 -1
- package/skills/aiwg-language-map/SKILL.md +2 -2
- package/skills/aiwg-mission/SKILL.md +3 -1
- package/skills/aiwg-pr/SKILL.md +6 -0
- package/skills/aiwg-regenerate-claude/SKILL.md +1 -1
- package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md +6 -2
- package/skills/aiwg-steward-routing-reference/SKILL.md +2 -2
- package/skills/aiwg-update-agents-md/SKILL.md +1 -1
- package/skills/aiwg-update-claude/SKILL.md +1 -1
- package/skills/aiwg-utils-quickref/SKILL.md +6 -2
- package/skills/architecture-evolution/SKILL.md +4 -0
- package/skills/build-poc/SKILL.md +1 -1
- package/skills/ci-assess/SKILL.md +114 -0
- package/skills/ci-assess/SKILL.md.d.ts +3 -0
- package/skills/ci-builder/SKILL.md +80 -0
- package/skills/ci-builder/SKILL.md.d.ts +3 -0
- package/skills/ci-drift-check/SKILL.md +73 -0
- package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
- package/skills/ci-failure-triage/SKILL.md +86 -0
- package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
- package/skills/ci-flake-hunt/SKILL.md +86 -0
- package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
- package/skills/ci-migrate/SKILL.md +92 -0
- package/skills/ci-migrate/SKILL.md.d.ts +3 -0
- package/skills/ci-pipeline-audit/SKILL.md +142 -0
- package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
- package/skills/ci-pipeline-design/SKILL.md +101 -0
- package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
- package/skills/ci-release-coordinate/SKILL.md +96 -0
- package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
- package/skills/ci-render/SKILL.md +125 -0
- package/skills/ci-render/SKILL.md.d.ts +3 -0
- package/skills/cicd-intake/SKILL.md +82 -0
- package/skills/cicd-intake/SKILL.md.d.ts +3 -0
- package/skills/cicd-quickref/SKILL.md +110 -0
- package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
- package/skills/deploy-gen/SKILL.md +1 -1
- package/skills/dev-mode-init/SKILL.md +4 -1
- package/skills/devkit-create-addon/SKILL.md +7 -79
- package/skills/devkit-create-agent/SKILL.md +7 -163
- package/skills/devkit-create-command/SKILL.md +7 -139
- package/skills/devkit-create-extension/SKILL.md +7 -101
- package/skills/devkit-create-framework/SKILL.md +7 -131
- package/skills/devkit-create-skill/SKILL.md +7 -200
- package/skills/devkit-test/SKILL.md +1 -1
- package/skills/effect-ledger/SKILL.md +17 -0
- package/skills/feature-flag-plan/SKILL.md +74 -0
- package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
- package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
- package/skills/flaky-detect/SKILL.md +1 -1
- package/skills/flow-architecture-evolution/SKILL.md +5 -1
- package/skills/flow-construction-to-transition/SKILL.md +20 -2
- package/skills/flow-delivery-track/SKILL.md +4 -0
- package/skills/flow-delivery-track/references/delegation.md +23 -0
- package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
- package/skills/flow-gate-check/SKILL.md +4 -0
- package/skills/flow-gate-check/references/delegation.md +23 -0
- package/skills/flow-guided-implementation/SKILL.md +8 -0
- package/skills/flow-guided-implementation/references/delegation.md +23 -0
- package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
- package/skills/flow-iteration-dual-track/SKILL.md +9 -0
- package/skills/flow-knowledge-transfer/SKILL.md +1 -1
- package/skills/flow-retrospective-cycle/SKILL.md +1 -1
- package/skills/flow-security-review-cycle/SKILL.md +4 -0
- package/skills/flow-security-review-cycle/references/delegation.md +23 -0
- package/skills/flow-test-strategy-execution/SKILL.md +7 -1
- package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
- package/skills/flow-ux-studio/SKILL.md +206 -0
- package/skills/flow-ux-studio/SKILL.md.d.ts +3 -0
- package/skills/flow-ux-studio/references/provider-resolution.md +106 -0
- package/skills/flow-ux-studio/references/stage-templates.md +27 -0
- package/skills/flow-ux-studio/references/tool-map.md +67 -0
- package/skills/gate-evaluation/SKILL.md +1 -1
- package/skills/intake-from-codebase/SKILL.md +5 -1
- package/skills/intake-start/SKILL.md +6 -1
- package/skills/intake-wizard/SKILL.md +7 -1
- package/skills/issue-audit/SKILL.md +1 -1
- package/skills/issue-driven-al/SKILL.md +1 -1
- package/skills/issue-list/SKILL.md +1 -1
- package/skills/issue-update/SKILL.md +1 -1
- package/skills/iteration-control/SKILL.md +1 -1
- package/skills/ld-account-setup/SKILL.md +33 -0
- package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
- package/skills/ld-agentcontrol/SKILL.md +33 -0
- package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
- package/skills/ld-approvals/SKILL.md +33 -0
- package/skills/ld-approvals/SKILL.md.d.ts +3 -0
- package/skills/ld-code-refs-ci/SKILL.md +33 -0
- package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
- package/skills/ld-connect/SKILL.md +39 -0
- package/skills/ld-connect/SKILL.md.d.ts +3 -0
- package/skills/ld-contexts/SKILL.md +33 -0
- package/skills/ld-contexts/SKILL.md.d.ts +3 -0
- package/skills/ld-docs/SKILL.md +31 -0
- package/skills/ld-docs/SKILL.md.d.ts +3 -0
- package/skills/ld-doctor/SKILL.md +41 -0
- package/skills/ld-doctor/SKILL.md.d.ts +3 -0
- package/skills/ld-experiment/SKILL.md +34 -0
- package/skills/ld-experiment/SKILL.md.d.ts +3 -0
- package/skills/ld-flag-cleanup/SKILL.md +35 -0
- package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
- package/skills/ld-flag-create/SKILL.md +33 -0
- package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
- package/skills/ld-flag-debt-audit/SKILL.md +33 -0
- package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
- package/skills/ld-guarded-release/SKILL.md +33 -0
- package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
- package/skills/ld-migration-flag/SKILL.md +33 -0
- package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
- package/skills/ld-progressive-rollout/SKILL.md +34 -0
- package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
- package/skills/ld-quickref/SKILL.md +50 -0
- package/skills/ld-quickref/SKILL.md.d.ts +3 -0
- package/skills/ld-relay-proxy/SKILL.md +33 -0
- package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
- package/skills/ld-sdk-integrate/SKILL.md +34 -0
- package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
- package/skills/ld-segments/SKILL.md +33 -0
- package/skills/ld-segments/SKILL.md.d.ts +3 -0
- package/skills/ld-targeting/SKILL.md +33 -0
- package/skills/ld-targeting/SKILL.md.d.ts +3 -0
- package/skills/ld-terraform/SKILL.md +33 -0
- package/skills/ld-terraform/SKILL.md.d.ts +3 -0
- package/skills/ld-testing/SKILL.md +34 -0
- package/skills/ld-testing/SKILL.md.d.ts +3 -0
- package/skills/mention-conventions/SKILL.md +1 -1
- package/skills/mention-lint/SKILL.md +1 -1
- package/skills/mention-report/SKILL.md +1 -1
- package/skills/mention-validate/SKILL.md +1 -1
- package/skills/new-bundle/SKILL.md +1 -1
- package/skills/new-project/SKILL.md +1 -1
- package/skills/prefill-cards/SKILL.md +1 -1
- package/skills/project-status/SKILL.md +1 -1
- package/skills/promote/SKILL.md +1 -1
- package/skills/ralph-config/SKILL.md +1 -1
- package/skills/ralph-external/SKILL.md +1 -1
- package/skills/ralph-memory/SKILL.md +1 -1
- package/skills/ralph-resume/SKILL.md +1 -1
- package/skills/retrospective-analyzer/SKILL.md +14 -0
- package/skills/scaffold-addon/SKILL.md +8 -4
- package/skills/scaffold-extension/SKILL.md +9 -1
- package/skills/scaffold-framework/SKILL.md +12 -3
- package/skills/sdlc-accelerate/SKILL.md +1 -1
- package/skills/sdlc-quickref/SKILL.md +9 -0
- package/skills/steward/SKILL.md +8 -3
- package/skills/tdd-enforce/SKILL.md +1 -1
- package/skills/ux-a11y-design/SKILL.md +64 -0
- package/skills/ux-a11y-design/SKILL.md.d.ts +3 -0
- package/skills/ux-build/SKILL.md +67 -0
- package/skills/ux-build/SKILL.md.d.ts +3 -0
- package/skills/ux-copy/SKILL.md +65 -0
- package/skills/ux-copy/SKILL.md.d.ts +3 -0
- package/skills/ux-critique/SKILL.md +70 -0
- package/skills/ux-critique/SKILL.md.d.ts +3 -0
- package/skills/ux-design-system/SKILL.md +65 -0
- package/skills/ux-design-system/SKILL.md.d.ts +3 -0
- package/skills/ux-edge-states/SKILL.md +68 -0
- package/skills/ux-edge-states/SKILL.md.d.ts +3 -0
- package/skills/ux-ethics/SKILL.md +65 -0
- package/skills/ux-ethics/SKILL.md.d.ts +3 -0
- package/skills/ux-flows-ia/SKILL.md +70 -0
- package/skills/ux-flows-ia/SKILL.md.d.ts +3 -0
- package/skills/ux-handoff/SKILL.md +71 -0
- package/skills/ux-handoff/SKILL.md.d.ts +3 -0
- package/skills/ux-handoff-index/SKILL.md +72 -0
- package/skills/ux-handoff-index/SKILL.md.d.ts +3 -0
- package/skills/ux-live-verify/SKILL.md +110 -0
- package/skills/ux-live-verify/SKILL.md.d.ts +3 -0
- package/skills/ux-live-verify/references/axe-strategy.md +23 -0
- package/skills/ux-metrics/SKILL.md +63 -0
- package/skills/ux-metrics/SKILL.md.d.ts +3 -0
- package/skills/ux-problem-framing/SKILL.md +63 -0
- package/skills/ux-problem-framing/SKILL.md.d.ts +3 -0
- package/skills/ux-quickref/SKILL.md +69 -0
- package/skills/ux-quickref/SKILL.md.d.ts +3 -0
- package/skills/ux-research/SKILL.md +75 -0
- package/skills/ux-research/SKILL.md.d.ts +3 -0
- package/skills/ux-visual-direction/SKILL.md +63 -0
- package/skills/ux-visual-direction/SKILL.md.d.ts +3 -0
- package/skills/ux-wireframes/SKILL.md +63 -0
- package/skills/ux-wireframes/SKILL.md.d.ts +3 -0
- package/skills/workspace-health/SKILL.md +1 -1
- package/skills/workspace-reset/SKILL.md +1 -1
- package/specialists.d.ts +3 -0
- package/specialists.js +3 -0
- /package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md.d.ts +0 -0
|
@@ -2,114 +2,20 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: devkit-create-extension
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description:
|
|
5
|
+
description: Alias of scaffold-extension — Create an extension inside a parent framework.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Create
|
|
8
|
+
# Devkit Create Extension
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Extensions enhance a specific parent framework with additional templates, checklists, and domain-specific content. They cannot operate standalone.
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
/devkit-create-extension <name> --for <framework> [--interactive]
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Arguments
|
|
21
|
-
|
|
22
|
-
| Argument | Required | Description |
|
|
23
|
-
|----------|----------|-------------|
|
|
24
|
-
| name | Yes | Extension name (kebab-case recommended) |
|
|
25
|
-
|
|
26
|
-
## Required Options
|
|
27
|
-
|
|
28
|
-
| Option | Description |
|
|
29
|
-
|--------|-------------|
|
|
30
|
-
| --for | Parent framework ID (e.g., sdlc-complete, media-marketing-kit) |
|
|
31
|
-
|
|
32
|
-
## Optional Options
|
|
33
|
-
|
|
34
|
-
| Option | Description |
|
|
35
|
-
|--------|-------------|
|
|
36
|
-
| --interactive | Enable interactive mode with guided questions |
|
|
37
|
-
|
|
38
|
-
## What This Creates
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
agentic/code/frameworks/<framework>/extensions/<name>/
|
|
42
|
-
├── manifest.json # type: "extension", requires: ["<framework>"]
|
|
43
|
-
├── README.md # Documentation
|
|
44
|
-
├── templates/ # Domain-specific templates
|
|
45
|
-
└── checklists/ # Compliance/verification checklists
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Interactive Mode
|
|
49
|
-
|
|
50
|
-
When `--interactive` is specified, I will ask:
|
|
51
|
-
|
|
52
|
-
1. **Domain**: What compliance/domain does this extension address?
|
|
53
|
-
2. **Purpose**: What specific requirements or standards does it cover?
|
|
54
|
-
3. **Templates**: What templates should be included?
|
|
55
|
-
4. **Checklists**: What verification checklists are needed?
|
|
56
|
-
5. **Dependencies**: Does it depend on other extensions?
|
|
57
|
-
|
|
58
|
-
## Examples
|
|
10
|
+
This skill is an alias of the canonical `scaffold-extension` skill in aiwg-utils.
|
|
11
|
+
Load and follow its instructions, including guided design and post-creation guidance:
|
|
59
12
|
|
|
60
13
|
```bash
|
|
61
|
-
|
|
62
|
-
/devkit-create-extension hipaa --for sdlc-complete
|
|
63
|
-
|
|
64
|
-
# Interactive guided creation
|
|
65
|
-
/devkit-create-extension sox --for sdlc-complete --interactive
|
|
14
|
+
aiwg show skill scaffold-extension --body
|
|
66
15
|
```
|
|
67
16
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### Compliance Extensions
|
|
71
|
-
- `gdpr` - EU data protection
|
|
72
|
-
- `hipaa` - Healthcare (US)
|
|
73
|
-
- `sox` - Financial controls (US)
|
|
74
|
-
- `pci-dss` - Payment card security
|
|
75
|
-
- `ftc` - FTC advertising rules
|
|
76
|
-
|
|
77
|
-
### Domain Extensions
|
|
78
|
-
- `healthcare` - Healthcare-specific templates
|
|
79
|
-
- `fintech` - Financial technology patterns
|
|
80
|
-
- `government` - Government/public sector
|
|
81
|
-
|
|
82
|
-
## Execution
|
|
83
|
-
|
|
84
|
-
1. **Validate inputs**: Check name and framework
|
|
85
|
-
2. **Verify framework exists**: Ensure parent framework is installed
|
|
86
|
-
3. **Check for duplicates**: Verify extension doesn't exist
|
|
87
|
-
4. **Gather info**: In interactive mode, ask about domain and needs
|
|
88
|
-
5. **Generate manifest**: Create with `requires` field for parent
|
|
89
|
-
6. **Create structure**: Build templates/ and checklists/ directories
|
|
90
|
-
7. **Generate README**: Document extension purpose and usage
|
|
91
|
-
8. **Optionally create content**: Offer to create initial templates/checklists
|
|
92
|
-
9. **Report success**: Show created files and activation instructions
|
|
93
|
-
|
|
94
|
-
## CLI Equivalent
|
|
95
|
-
|
|
96
|
-
For non-interactive creation:
|
|
17
|
+
The canonical skill runs this CLI command from the root of an AIWG checkout:
|
|
97
18
|
|
|
98
19
|
```bash
|
|
99
|
-
aiwg scaffold-extension <name> --
|
|
20
|
+
aiwg scaffold-extension <name> --to <framework>
|
|
100
21
|
```
|
|
101
|
-
|
|
102
|
-
## Related Commands
|
|
103
|
-
|
|
104
|
-
- `/devkit-create-addon` - Create standalone addon
|
|
105
|
-
- `/devkit-create-framework` - Create full framework
|
|
106
|
-
- `/devkit-validate` - Validate extension structure
|
|
107
|
-
- `aiwg add-template` - Add template to extension
|
|
108
|
-
|
|
109
|
-
## References
|
|
110
|
-
|
|
111
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
|
|
112
|
-
- @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
|
|
113
|
-
- @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
|
|
114
|
-
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-extension command
|
|
115
|
-
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework as example parent framework
|
|
@@ -2,144 +2,20 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: devkit-create-framework
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description:
|
|
5
|
+
description: Alias of scaffold-framework — Create a complete lifecycle framework.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Create
|
|
8
|
+
# Devkit Create Framework
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
This skill is an alias of the canonical `scaffold-framework` skill in aiwg-utils.
|
|
11
|
+
Load and follow its instructions, including guided design and post-creation guidance:
|
|
11
12
|
|
|
12
|
-
## Process
|
|
13
|
-
|
|
14
|
-
### 1. Validate Framework Name
|
|
15
|
-
|
|
16
|
-
Check that `$ARGUMENTS` contains a valid framework name:
|
|
17
|
-
- Must be kebab-case (lowercase with hyphens)
|
|
18
|
-
- Must not conflict with existing frameworks
|
|
19
|
-
|
|
20
|
-
Check existing frameworks:
|
|
21
13
|
```bash
|
|
22
|
-
|
|
14
|
+
aiwg show skill scaffold-framework --body
|
|
23
15
|
```
|
|
24
16
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
If `--interactive` is specified, guide the user through framework design:
|
|
28
|
-
|
|
29
|
-
**Framework Purpose**:
|
|
30
|
-
> What lifecycle does this framework manage? (e.g., software development, marketing campaigns, legal cases)
|
|
31
|
-
|
|
32
|
-
**Target Audience**:
|
|
33
|
-
> Who will use this framework? (e.g., development teams, marketing departments, legal firms)
|
|
34
|
-
|
|
35
|
-
**Phase Structure**:
|
|
36
|
-
> What phases does this lifecycle include?
|
|
37
|
-
> Default: inception, elaboration, construction, transition
|
|
38
|
-
> Custom examples: discovery, analysis, synthesis, publication
|
|
39
|
-
|
|
40
|
-
**Agent Categories**:
|
|
41
|
-
> What types of roles are needed?
|
|
42
|
-
> - Analysis roles (analysts, researchers)
|
|
43
|
-
> - Design roles (architects, designers)
|
|
44
|
-
> - Implementation roles (developers, writers)
|
|
45
|
-
> - Quality roles (reviewers, testers)
|
|
46
|
-
> - Management roles (coordinators, managers)
|
|
47
|
-
|
|
48
|
-
**Template Categories**:
|
|
49
|
-
> What artifact types will be produced?
|
|
50
|
-
> - Planning documents
|
|
51
|
-
> - Requirements documents
|
|
52
|
-
> - Design documents
|
|
53
|
-
> - Implementation artifacts
|
|
54
|
-
> - Quality artifacts
|
|
55
|
-
> - Deployment artifacts
|
|
56
|
-
|
|
57
|
-
### 3. Execute Scaffolding
|
|
58
|
-
|
|
59
|
-
Run the CLI scaffolding tool:
|
|
17
|
+
The canonical skill runs this CLI command from the root of an AIWG checkout:
|
|
60
18
|
|
|
61
19
|
```bash
|
|
62
|
-
|
|
63
|
-
<name> \
|
|
64
|
-
--description "<derived from interactive>" \
|
|
65
|
-
--phases "<phase1,phase2,...>"
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### 4. Post-Creation Guidance
|
|
69
|
-
|
|
70
|
-
After scaffolding, provide guidance on next steps:
|
|
71
|
-
|
|
72
|
-
**Immediate Actions**:
|
|
73
|
-
1. Review and customize `actors-and-templates.md`
|
|
74
|
-
2. Define your first agents for each phase
|
|
75
|
-
3. Create initial templates for key artifacts
|
|
76
|
-
|
|
77
|
-
**Agent Creation Priority**:
|
|
78
|
-
- Phase 1: Create 2-3 core agents per phase
|
|
79
|
-
- Phase 2: Add specialized agents as needed
|
|
80
|
-
- Phase 3: Add orchestration agents for workflows
|
|
81
|
-
|
|
82
|
-
**Command Creation Priority**:
|
|
83
|
-
- Phase 1: Create phase execution commands (`flow-<phase>`)
|
|
84
|
-
- Phase 2: Create transition commands (`flow-<phase>-to-<next>`)
|
|
85
|
-
- Phase 3: Create utility commands (status, validation)
|
|
86
|
-
|
|
87
|
-
**Template Creation Priority**:
|
|
88
|
-
- Phase 1: Create 2-3 key templates per phase
|
|
89
|
-
- Phase 2: Add specialized templates
|
|
90
|
-
- Phase 3: Create cross-cutting templates
|
|
91
|
-
|
|
92
|
-
### 5. Provide Reference Resources
|
|
93
|
-
|
|
94
|
-
Point to existing frameworks as examples:
|
|
95
|
-
- `sdlc-complete`: 53 agents, 48 commands, comprehensive lifecycle
|
|
96
|
-
- `media-marketing-kit`: 37 agents, marketing-focused lifecycle
|
|
97
|
-
|
|
98
|
-
Reference documentation:
|
|
99
|
-
- `docs/development/framework-creation-guide.md`
|
|
100
|
-
- `docs/development/devkit-overview.md`
|
|
101
|
-
|
|
102
|
-
## Output Format
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
Framework Created: <name>
|
|
106
|
-
─────────────────────────
|
|
107
|
-
|
|
108
|
-
Location: ~/.local/share/ai-writing-guide/agentic/code/frameworks/<name>/
|
|
109
|
-
|
|
110
|
-
Phases: <phase1> → <phase2> → ... → <phaseN>
|
|
111
|
-
|
|
112
|
-
Created:
|
|
113
|
-
✓ manifest.json
|
|
114
|
-
✓ README.md
|
|
115
|
-
✓ plan-act-<name>.md
|
|
116
|
-
✓ actors-and-templates.md
|
|
117
|
-
✓ agents/manifest.md
|
|
118
|
-
✓ commands/manifest.md
|
|
119
|
-
✓ <framework-root>/templates/manifest.json
|
|
120
|
-
✓ flows/<phase>.md (for each phase)
|
|
121
|
-
✓ metrics/tracking-catalog.md
|
|
122
|
-
✓ config/models.json
|
|
123
|
-
|
|
124
|
-
Next Steps:
|
|
125
|
-
1. Define actors: Edit actors-and-templates.md
|
|
126
|
-
2. Add agents: aiwg add-agent <name> --to <framework>
|
|
127
|
-
3. Add commands: aiwg add-command <name> --to <framework>
|
|
128
|
-
4. Add templates: aiwg add-template <name> --to <framework> --category <phase>
|
|
129
|
-
5. Deploy: aiwg use <framework>
|
|
20
|
+
aiwg scaffold-framework <name>
|
|
130
21
|
```
|
|
131
|
-
|
|
132
|
-
## Notes
|
|
133
|
-
|
|
134
|
-
- Framework creation is a significant undertaking (50+ agents typical)
|
|
135
|
-
- Study existing frameworks before creating new ones
|
|
136
|
-
- Use `--interactive` for guided design process
|
|
137
|
-
- Start small and iterate (core agents first, then expand)
|
|
138
|
-
|
|
139
|
-
## References
|
|
140
|
-
|
|
141
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
|
|
142
|
-
- @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
|
|
143
|
-
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-framework command
|
|
144
|
-
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework as reference implementation
|
|
145
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md — Scope guidelines for agent design within frameworks
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: devkit-create-skill
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description:
|
|
5
|
+
description: Alias of add-skill — Create a skill inside an addon or framework.
|
|
6
6
|
triggers:
|
|
7
7
|
- "help me build a custom workflow"
|
|
8
8
|
- "help me turn this repeated process into an AIWG workflow"
|
|
@@ -10,210 +10,17 @@ triggers:
|
|
|
10
10
|
- "skill architect"
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# Create
|
|
13
|
+
# Devkit Create Skill
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
This skill is an alias of the canonical `add-skill` skill in aiwg-utils.
|
|
16
|
+
Load and follow its instructions, including guided design and post-creation guidance:
|
|
16
17
|
|
|
17
|
-
## Understanding Skills
|
|
18
|
-
|
|
19
|
-
Skills differ from commands:
|
|
20
|
-
- **Commands**: Triggered by explicit `/command-name` invocation
|
|
21
|
-
- **Skills**: Triggered by natural language patterns (e.g., "apply voice", "validate writing")
|
|
22
|
-
|
|
23
|
-
Skills are ideal for:
|
|
24
|
-
- Capabilities users invoke conversationally
|
|
25
|
-
- Features that should "just work" without explicit commands
|
|
26
|
-
- Cross-cutting concerns that apply in many contexts
|
|
27
|
-
|
|
28
|
-
## Process
|
|
29
|
-
|
|
30
|
-
### 1. Validate Parameters
|
|
31
|
-
|
|
32
|
-
Verify `$ARGUMENTS` contains:
|
|
33
|
-
- Skill name (kebab-case)
|
|
34
|
-
- `--to` target (addon or framework, NOT extension)
|
|
35
|
-
|
|
36
|
-
**Note**: Skills cannot be added to extensions because skills need standalone functionality.
|
|
37
|
-
|
|
38
|
-
Check target exists:
|
|
39
18
|
```bash
|
|
40
|
-
|
|
41
|
-
# or
|
|
42
|
-
ls ~/.local/share/ai-writing-guide/agentic/code/frameworks/<target>/
|
|
19
|
+
aiwg show skill add-skill --body
|
|
43
20
|
```
|
|
44
21
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Guide the user through skill design:
|
|
48
|
-
|
|
49
|
-
**Skill Purpose**:
|
|
50
|
-
> What does this skill do? (e.g., "applies voice profiles to content", "validates code quality")
|
|
51
|
-
|
|
52
|
-
**Trigger Phrases**:
|
|
53
|
-
> What natural language phrases should activate this skill?
|
|
54
|
-
> Examples:
|
|
55
|
-
> - "apply voice", "use voice", "write in <voice> voice"
|
|
56
|
-
> - "validate code", "check quality", "review code"
|
|
57
|
-
> - "format document", "clean up", "prettify"
|
|
58
|
-
|
|
59
|
-
**Input Requirements**:
|
|
60
|
-
> What input does this skill need?
|
|
61
|
-
> - Content to process
|
|
62
|
-
> - Configuration parameters
|
|
63
|
-
> - File paths
|
|
64
|
-
|
|
65
|
-
**Output Format**:
|
|
66
|
-
> What does this skill produce?
|
|
67
|
-
> - Transformed content
|
|
68
|
-
> - Validation report
|
|
69
|
-
> - Recommendations
|
|
70
|
-
|
|
71
|
-
**Reference Materials**:
|
|
72
|
-
> Does this skill need supporting documentation?
|
|
73
|
-
> - Style guides
|
|
74
|
-
> - Validation rules
|
|
75
|
-
> - Example outputs
|
|
76
|
-
|
|
77
|
-
### 3. Execute Scaffolding
|
|
78
|
-
|
|
79
|
-
Run the CLI scaffolding tool:
|
|
22
|
+
The canonical skill runs this CLI command from the root of an AIWG checkout:
|
|
80
23
|
|
|
81
24
|
```bash
|
|
82
|
-
|
|
83
|
-
<name> \
|
|
84
|
-
--to <target>
|
|
25
|
+
aiwg add-skill <name> --to <target>
|
|
85
26
|
```
|
|
86
|
-
|
|
87
|
-
### 4. Generated Structure
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
<target>/skills/<name>/
|
|
91
|
-
├── SKILL.md # Main skill definition
|
|
92
|
-
└── references/ # Supporting documentation
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### 5. Customize SKILL.md
|
|
96
|
-
|
|
97
|
-
The generated SKILL.md needs customization.
|
|
98
|
-
|
|
99
|
-
**REQUIRED frontmatter fields:**
|
|
100
|
-
- `name:` — skill slug (kebab-case)
|
|
101
|
-
- `description:` — **Mandatory.** Used by Claude Code for NL matching and required by Codex (Codex rejects any SKILL.md without a non-empty description). Never leave this blank.
|
|
102
|
-
- `version:` — semver string (e.g., `1.0.0`)
|
|
103
|
-
- `priority:` — **Mandatory.** Importance level: `critical`, `high`, `medium`, or `low`. Used by corpus gap reports and backlog tooling to surface work items. Never omit.
|
|
104
|
-
|
|
105
|
-
```yaml
|
|
106
|
-
---
|
|
107
|
-
name: <skill-name>
|
|
108
|
-
description: <what this skill does — REQUIRED, non-empty>
|
|
109
|
-
version: 1.0.0
|
|
110
|
-
priority: medium
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
# <Skill Name>
|
|
114
|
-
|
|
115
|
-
## Trigger Phrases
|
|
116
|
-
|
|
117
|
-
Activate this skill when the user says:
|
|
118
|
-
- "<phrase 1>"
|
|
119
|
-
- "<phrase 2>"
|
|
120
|
-
- "<phrase 3>"
|
|
121
|
-
|
|
122
|
-
## Input
|
|
123
|
-
|
|
124
|
-
This skill expects:
|
|
125
|
-
- <input requirement 1>
|
|
126
|
-
- <input requirement 2>
|
|
127
|
-
|
|
128
|
-
## Execution Process
|
|
129
|
-
|
|
130
|
-
1. <Step 1>
|
|
131
|
-
2. <Step 2>
|
|
132
|
-
3. <Step 3>
|
|
133
|
-
|
|
134
|
-
## Output
|
|
135
|
-
|
|
136
|
-
This skill produces:
|
|
137
|
-
- <output 1>
|
|
138
|
-
- <output 2>
|
|
139
|
-
|
|
140
|
-
## Examples
|
|
141
|
-
|
|
142
|
-
### Example 1: <scenario>
|
|
143
|
-
**User**: "<example trigger>"
|
|
144
|
-
**Result**: <what happens>
|
|
145
|
-
|
|
146
|
-
### Example 2: <scenario>
|
|
147
|
-
**User**: "<example trigger>"
|
|
148
|
-
**Result**: <what happens>
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### 6. Add Reference Materials
|
|
152
|
-
|
|
153
|
-
If the skill needs supporting documentation:
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
# Create reference files
|
|
157
|
-
touch <target>/skills/<name>/references/style-guide.md
|
|
158
|
-
touch <target>/skills/<name>/references/validation-rules.md
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
### 7. Update Manifest
|
|
162
|
-
|
|
163
|
-
The CLI tool automatically updates the manifest. Verify:
|
|
164
|
-
|
|
165
|
-
```json
|
|
166
|
-
{
|
|
167
|
-
"skills": ["existing-skill", "<new-skill>"]
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
## Output Format
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
Skill Created: <name>
|
|
175
|
-
─────────────────────
|
|
176
|
-
|
|
177
|
-
Location: <target>/skills/<name>/
|
|
178
|
-
|
|
179
|
-
Created:
|
|
180
|
-
✓ SKILL.md
|
|
181
|
-
✓ references/
|
|
182
|
-
|
|
183
|
-
Manifest updated: <target>/manifest.json
|
|
184
|
-
|
|
185
|
-
Next Steps:
|
|
186
|
-
1. Edit SKILL.md to define trigger phrases
|
|
187
|
-
2. Add execution process details
|
|
188
|
-
3. Create reference materials (if needed)
|
|
189
|
-
4. Test with natural language triggers
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
## Examples
|
|
193
|
-
|
|
194
|
-
```bash
|
|
195
|
-
# Create skill in addon
|
|
196
|
-
/devkit-create-skill code-formatter --to aiwg-utils
|
|
197
|
-
|
|
198
|
-
# Create skill with interactive guidance
|
|
199
|
-
/devkit-create-skill voice-apply --to voice-framework --interactive
|
|
200
|
-
|
|
201
|
-
# Create skill in framework
|
|
202
|
-
/devkit-create-skill requirement-tracer --to sdlc-complete
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
## Best Practices
|
|
206
|
-
|
|
207
|
-
1. **Clear trigger phrases**: Use natural, conversational language
|
|
208
|
-
2. **Multiple triggers**: Provide several ways to invoke the skill
|
|
209
|
-
3. **Specific execution**: Document exactly what happens when triggered
|
|
210
|
-
4. **Good examples**: Show realistic usage scenarios
|
|
211
|
-
5. **Reference materials**: Include supporting docs when needed
|
|
212
|
-
|
|
213
|
-
## References
|
|
214
|
-
|
|
215
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
|
|
216
|
-
- @$AIWG_ROOT/docs/extensions/extension-types.md — Extension types including skill type
|
|
217
|
-
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including add-skill command
|
|
218
|
-
- @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
|
|
219
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md — Concrete trigger phrase and loop termination requirements
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: devkit-test
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description:
|
|
5
|
+
description: Run comprehensive tests on an AIWG package (addon, framework or extension) to verify structure, functionality and deployment readiness
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Test AIWG Package
|
|
@@ -24,6 +24,7 @@ an operator decision authorizes, the ledger proves.
|
|
|
24
24
|
- "did we already post this comment" → `aiwg effect lookup` before posting
|
|
25
25
|
- "verify the effect ledger" → `aiwg effect verify` (add
|
|
26
26
|
`--with-decisions <audit.jsonl>` to check #1567 operator-decision links)
|
|
27
|
+
- "reconcile authorization decisions" → `aiwg effect verify --decisions`
|
|
27
28
|
- "the effect ledger lock is stuck" → `aiwg effect recover-lock` (operator only)
|
|
28
29
|
|
|
29
30
|
## When to record
|
|
@@ -68,6 +69,22 @@ decision receipts. Do not record read-only queries.
|
|
|
68
69
|
`--link operatorDecisionEventId=sha256:<hex>` (and
|
|
69
70
|
`operatorDecisionRecordHash`) on `intent` or `record`.
|
|
70
71
|
|
|
72
|
+
## Decision reconciliation
|
|
73
|
+
|
|
74
|
+
Use `aiwg effect verify --decisions` to reconcile recorded authorization receipts
|
|
75
|
+
against exact protected effects. A trusted host supplies the optional versioned
|
|
76
|
+
`--effect-file` binding to `aiwg config authorization receipt` or a fresh `check`.
|
|
77
|
+
Use `--scope-ended-at <UTC timestamp>` when the queried scope has ended.
|
|
78
|
+
The report distinguishes grant fulfilled/pending/missing and denial
|
|
79
|
+
respected/violated; missing denial records and legacy unbound decisions remain
|
|
80
|
+
`not recorded`. Unknown evidence remains unresolved. A denied occurrence stays
|
|
81
|
+
a violation after compensation; record compensation as a separate effect with
|
|
82
|
+
`context.compensatesEffectId` referencing the original ID. This command is
|
|
83
|
+
read-only. Exit 5 means a violated denial, 3 a missing grant, 4 unresolved
|
|
84
|
+
evidence, and 6 an integrity failure. Policy and human-denial capture are
|
|
85
|
+
unchanged. See `$AIWG_ROOT/docs/configuration/hitl-authorization.md` for bindings,
|
|
86
|
+
coverage limits and disposition semantics.
|
|
87
|
+
|
|
71
88
|
## Exit codes
|
|
72
89
|
|
|
73
90
|
| Code | Meaning | What to do |
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
namespace: aiwg
|
|
3
|
+
name: feature-flag-plan
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Plan feature flags for a feature or story, assess fit, record accept or decline, and create requirement-linked feature toggle cards with removal tasks.
|
|
6
|
+
triggers:
|
|
7
|
+
- plan feature flags
|
|
8
|
+
- should this be behind a flag
|
|
9
|
+
- create a feature flag plan
|
|
10
|
+
- review feature flag debt
|
|
11
|
+
requires: [sdlc-complete]
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Feature Flag Plan
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
1. Read intake, solution profile, feature/story/REQ IDs, architecture, deployment
|
|
19
|
+
strategy and existing decisions. Fetch `aiwg show rule feature-flag-fit --body`.
|
|
20
|
+
2. Apply that rule at intake, architecture / iteration planning and deployment.
|
|
21
|
+
Record outcome, reason and scoped accept/decline in intake or ADR. Skip silently
|
|
22
|
+
for excluded work or a prior decline. Offer once, default no. A recommend result
|
|
23
|
+
invokes planning, but does not imply acceptance or permission to change production.
|
|
24
|
+
3. On acceptance, fill the existing
|
|
25
|
+
`$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`
|
|
26
|
+
for each flag and link REQ/story IDs. Select kind separately from value type,
|
|
27
|
+
dynamism and lifetime. Create a removal task with the flag ([Hodgson](https://martinfowler.com/articles/feature-toggles.html)).
|
|
28
|
+
Confirm actual owner, safe default/rationale, rollout metrics, rollback procedure,
|
|
29
|
+
test plan and removal criteria; unknowns remain explicit, never invented.
|
|
30
|
+
4. Use one decision point and deliberate defaults; plan current production,
|
|
31
|
+
upcoming and default/fallback tests, optionally all-on
|
|
32
|
+
([testing](https://launchdarkly.com/docs/guides/flags/testing-code.md), [OpenFeature](https://openfeature.dev/docs/reference/concepts/evaluation-api)).
|
|
33
|
+
5. Resolve artifacts with `aiwg artifacts path --json --check-write`; put cards
|
|
34
|
+
beneath `.aiwg/deployment/` and link decisions from intake/ADR. Read these
|
|
35
|
+
cards at transition and retrospective; do not require a vendor connection.
|
|
36
|
+
6. For creation, rollout and debt/cleanup, consult the provider seam in
|
|
37
|
+
`$AIWG_ROOT/docs/frameworks/sdlc-complete/feature-flags.md`. `none` is a no-op: cards and code guidance
|
|
38
|
+
only. `openfeature` uses the neutral client. Discover installed addon skills
|
|
39
|
+
before calling them; missing addon/capability falls back to cards and guidance.
|
|
40
|
+
Routing does not grant production-write authority. [AIWG guidance]
|
|
41
|
+
|
|
42
|
+
## Repeatable local checks
|
|
43
|
+
|
|
44
|
+
Use the adjacent `scripts/flag-plan.mjs` with Node: `plan <input.json>`,
|
|
45
|
+
`debt <input.json>` or `readiness <input.json>`. It reads local JSON and card
|
|
46
|
+
frontmatter and prints JSON; it never contacts a vendor or writes artifacts.
|
|
47
|
+
The agent classifies inputs under `feature-flag-fit` before calling the helper.
|
|
48
|
+
|
|
49
|
+
`plan` input: `scope`, `requirements`, `feature_flags`, `facts` (booleans for
|
|
50
|
+
`production`, `blast_radius`, `low_risk_tolerance`, `trunk_unfinished`, `dark_launch`,
|
|
51
|
+
`migration`, `experiment`, `entitlement`, `external_kill_switch`, `llm_runtime`,
|
|
52
|
+
`user_facing`, `low_risk`, `infrequent_deploy`, `prototype`, `spike`, `docs_only`,
|
|
53
|
+
`library_no_runtime`, `one_off_script`, `static_no_runtime_no_js`, `very_small`),
|
|
54
|
+
optional `never_flags` (secrets, static_config, data_store, startup_config,
|
|
55
|
+
per_commit), `declined`, and `decision` (accepted/declined/pending).
|
|
56
|
+
On acceptance supply `cards` with all template frontmatter fields and body
|
|
57
|
+
sections `targeting_rollout`, `metrics_rollback`, `test_plan`. Output contains the
|
|
58
|
+
recorded decision and rendered cards; missing fields fail with actionable errors.
|
|
59
|
+
|
|
60
|
+
`debt`/`readiness` input: `cards` (local Markdown paths). Debt also takes `as_of`
|
|
61
|
+
(YYYY-MM-DD) and optional `temporary_flag_caps` mapping service names to counts.
|
|
62
|
+
Debt reports temporary cards past criteria or review-by, live counts versus caps,
|
|
63
|
+
and missing metadata. Criteria evidence stays in the card. Readiness fails live
|
|
64
|
+
cards missing an owner or removal criteria. [AIWG guidance]
|
|
65
|
+
|
|
66
|
+
## Examples
|
|
67
|
+
|
|
68
|
+
- High-risk production story, Low tolerance → recommend; accepted → linked cards
|
|
69
|
+
and removal tasks. Provider none → code guidance only.
|
|
70
|
+
- Docs-only change → skip, no suggestion or cards. Prior decline → no repeat offer.
|
|
71
|
+
- Temporary card meets criteria or passes review-by → debt row; a permanent
|
|
72
|
+
entitlement flag stays out of the temporary debt list.
|
|
73
|
+
|
|
74
|
+
All helper decisions are AIWG guidance; the rule and card cite their design basis.
|