@aiwg/flue 2026.11.8 → 2026.11.10

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.
Files changed (165) hide show
  1. package/package.json +141 -1
  2. package/skills/add-agent/SKILL.md +20 -6
  3. package/skills/add-command/SKILL.md +0 -1
  4. package/skills/add-skill/SKILL.md +13 -2
  5. package/skills/agent-loop/SKILL.md +1 -1
  6. package/skills/agent-loop-ext/SKILL.md +1 -1
  7. package/skills/ai-pattern-detection/references/structural-judgment.json +17 -0
  8. package/skills/ai-pattern-detection/scripts/pattern_scanner.py +11 -5
  9. package/skills/ai-pattern-detection/scripts/structural_judgment.py +51 -0
  10. package/skills/ai-pattern-detection/scripts/structural_patterns.py +43 -0
  11. package/skills/aiwg-issue/SKILL.md +1 -1
  12. package/skills/aiwg-language-map/SKILL.md +2 -2
  13. package/skills/aiwg-mission/SKILL.md +3 -1
  14. package/skills/aiwg-regenerate-agents/SKILL.md +4 -4
  15. package/skills/aiwg-regenerate-claude/SKILL.md +4 -4
  16. package/skills/aiwg-regenerate-copilot/SKILL.md +1 -1
  17. package/skills/aiwg-regenerate-windsurfrules/SKILL.md +11 -9
  18. package/skills/aiwg-update-agents-md/SKILL.md +1 -1
  19. package/skills/aiwg-update-claude/SKILL.md +1 -1
  20. package/skills/aiwg-utils-quickref/SKILL.md +4 -1
  21. package/skills/architecture-evolution/SKILL.md +4 -0
  22. package/skills/build-poc/SKILL.md +1 -1
  23. package/skills/ci-assess/SKILL.md +84 -0
  24. package/skills/ci-assess/SKILL.md.d.ts +3 -0
  25. package/skills/ci-builder/SKILL.md +80 -0
  26. package/skills/ci-builder/SKILL.md.d.ts +3 -0
  27. package/skills/ci-drift-check/SKILL.md +73 -0
  28. package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
  29. package/skills/ci-failure-triage/SKILL.md +86 -0
  30. package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
  31. package/skills/ci-flake-hunt/SKILL.md +86 -0
  32. package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
  33. package/skills/ci-migrate/SKILL.md +92 -0
  34. package/skills/ci-migrate/SKILL.md.d.ts +3 -0
  35. package/skills/ci-pipeline-audit/SKILL.md +89 -0
  36. package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
  37. package/skills/ci-pipeline-design/SKILL.md +99 -0
  38. package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
  39. package/skills/ci-release-coordinate/SKILL.md +96 -0
  40. package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
  41. package/skills/ci-render/SKILL.md +92 -0
  42. package/skills/ci-render/SKILL.md.d.ts +3 -0
  43. package/skills/cicd-intake/SKILL.md +82 -0
  44. package/skills/cicd-intake/SKILL.md.d.ts +3 -0
  45. package/skills/cicd-quickref/SKILL.md +110 -0
  46. package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
  47. package/skills/deploy-gen/SKILL.md +1 -1
  48. package/skills/dev-mode-init/SKILL.md +4 -1
  49. package/skills/devkit-create-addon/SKILL.md +7 -79
  50. package/skills/devkit-create-agent/SKILL.md +7 -163
  51. package/skills/devkit-create-command/SKILL.md +7 -139
  52. package/skills/devkit-create-extension/SKILL.md +7 -101
  53. package/skills/devkit-create-framework/SKILL.md +7 -131
  54. package/skills/devkit-create-skill/SKILL.md +7 -200
  55. package/skills/devkit-test/SKILL.md +1 -1
  56. package/skills/feature-flag-plan/SKILL.md +74 -0
  57. package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
  58. package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
  59. package/skills/flaky-detect/SKILL.md +1 -1
  60. package/skills/flow-architecture-evolution/SKILL.md +5 -1
  61. package/skills/flow-construction-to-transition/SKILL.md +20 -2
  62. package/skills/flow-delivery-track/SKILL.md +4 -0
  63. package/skills/flow-delivery-track/references/delegation.md +23 -0
  64. package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
  65. package/skills/flow-gate-check/SKILL.md +4 -0
  66. package/skills/flow-gate-check/references/delegation.md +23 -0
  67. package/skills/flow-guided-implementation/SKILL.md +4 -0
  68. package/skills/flow-guided-implementation/references/delegation.md +23 -0
  69. package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
  70. package/skills/flow-iteration-dual-track/SKILL.md +4 -0
  71. package/skills/flow-knowledge-transfer/SKILL.md +1 -1
  72. package/skills/flow-retrospective-cycle/SKILL.md +1 -1
  73. package/skills/flow-security-review-cycle/SKILL.md +4 -0
  74. package/skills/flow-security-review-cycle/references/delegation.md +23 -0
  75. package/skills/flow-test-strategy-execution/SKILL.md +5 -1
  76. package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
  77. package/skills/gate-evaluation/SKILL.md +1 -1
  78. package/skills/hook-disable/SKILL.md +4 -4
  79. package/skills/hook-enable/SKILL.md +3 -3
  80. package/skills/hook-regenerate/SKILL.md +2 -2
  81. package/skills/hook-status/SKILL.md +2 -2
  82. package/skills/index/SKILL.md +14 -0
  83. package/skills/intake-from-codebase/SKILL.md +5 -1
  84. package/skills/intake-start/SKILL.md +5 -1
  85. package/skills/intake-wizard/SKILL.md +5 -1
  86. package/skills/issue-audit/SKILL.md +1 -1
  87. package/skills/issue-driven-al/SKILL.md +1 -1
  88. package/skills/issue-list/SKILL.md +1 -1
  89. package/skills/issue-update/SKILL.md +1 -1
  90. package/skills/iteration-control/SKILL.md +1 -1
  91. package/skills/ld-account-setup/SKILL.md +33 -0
  92. package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
  93. package/skills/ld-agentcontrol/SKILL.md +33 -0
  94. package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
  95. package/skills/ld-approvals/SKILL.md +33 -0
  96. package/skills/ld-approvals/SKILL.md.d.ts +3 -0
  97. package/skills/ld-code-refs-ci/SKILL.md +33 -0
  98. package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
  99. package/skills/ld-connect/SKILL.md +39 -0
  100. package/skills/ld-connect/SKILL.md.d.ts +3 -0
  101. package/skills/ld-contexts/SKILL.md +33 -0
  102. package/skills/ld-contexts/SKILL.md.d.ts +3 -0
  103. package/skills/ld-docs/SKILL.md +31 -0
  104. package/skills/ld-docs/SKILL.md.d.ts +3 -0
  105. package/skills/ld-doctor/SKILL.md +41 -0
  106. package/skills/ld-doctor/SKILL.md.d.ts +3 -0
  107. package/skills/ld-experiment/SKILL.md +34 -0
  108. package/skills/ld-experiment/SKILL.md.d.ts +3 -0
  109. package/skills/ld-flag-cleanup/SKILL.md +35 -0
  110. package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
  111. package/skills/ld-flag-create/SKILL.md +33 -0
  112. package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
  113. package/skills/ld-flag-debt-audit/SKILL.md +33 -0
  114. package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
  115. package/skills/ld-guarded-release/SKILL.md +33 -0
  116. package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
  117. package/skills/ld-migration-flag/SKILL.md +33 -0
  118. package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
  119. package/skills/ld-progressive-rollout/SKILL.md +34 -0
  120. package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
  121. package/skills/ld-quickref/SKILL.md +50 -0
  122. package/skills/ld-quickref/SKILL.md.d.ts +3 -0
  123. package/skills/ld-relay-proxy/SKILL.md +33 -0
  124. package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
  125. package/skills/ld-sdk-integrate/SKILL.md +34 -0
  126. package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
  127. package/skills/ld-segments/SKILL.md +33 -0
  128. package/skills/ld-segments/SKILL.md.d.ts +3 -0
  129. package/skills/ld-targeting/SKILL.md +33 -0
  130. package/skills/ld-targeting/SKILL.md.d.ts +3 -0
  131. package/skills/ld-terraform/SKILL.md +33 -0
  132. package/skills/ld-terraform/SKILL.md.d.ts +3 -0
  133. package/skills/ld-testing/SKILL.md +34 -0
  134. package/skills/ld-testing/SKILL.md.d.ts +3 -0
  135. package/skills/mention-conventions/SKILL.md +1 -1
  136. package/skills/mention-lint/SKILL.md +1 -1
  137. package/skills/mention-report/SKILL.md +1 -1
  138. package/skills/mention-validate/SKILL.md +1 -1
  139. package/skills/migrate-hook/SKILL.md +2 -2
  140. package/skills/new-project/SKILL.md +1 -1
  141. package/skills/plugin-search/SKILL.md +28 -10
  142. package/skills/prefill-cards/SKILL.md +1 -1
  143. package/skills/project-status/SKILL.md +1 -1
  144. package/skills/ralph-config/SKILL.md +1 -1
  145. package/skills/ralph-external/SKILL.md +1 -1
  146. package/skills/ralph-memory/SKILL.md +1 -1
  147. package/skills/ralph-resume/SKILL.md +1 -1
  148. package/skills/retrospective-analyzer/SKILL.md +14 -0
  149. package/skills/scaffold-addon/SKILL.md +8 -4
  150. package/skills/scaffold-extension/SKILL.md +9 -1
  151. package/skills/scaffold-framework/SKILL.md +12 -3
  152. package/skills/sdlc-accelerate/SKILL.md +1 -1
  153. package/skills/sdlc-quickref/SKILL.md +9 -0
  154. package/skills/session/SKILL.md +1 -1
  155. package/skills/soul-disable/SKILL.md +3 -3
  156. package/skills/soul-enable/SKILL.md +3 -3
  157. package/skills/soul-status/SKILL.md +2 -2
  158. package/skills/steward/SKILL.md +7 -2
  159. package/skills/tdd-enforce/SKILL.md +1 -1
  160. package/skills/voice-apply/SKILL.md +16 -0
  161. package/skills/voice-create/SKILL.md +19 -2
  162. package/skills/workspace-health/SKILL.md +1 -1
  163. package/skills/workspace-reset/SKILL.md +1 -1
  164. package/specialists.d.ts +2 -0
  165. package/specialists.js +2 -0
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: cicd-quickref
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ kernel: true
6
+ description: AUTO-INVOKE when user mentions CI/CD, pipeline design, pipeline environments or progressive delivery. CI/CD framework quick reference — assess, design, implement and operate end-user pipelines with governed CIPipeline and CIEnvironment contracts.
7
+ triggers:
8
+ - "cicd-quickref"
9
+ - "design my CI/CD pipeline"
10
+ - "CI/CD framework"
11
+ - "CI pipeline schema"
12
+ ---
13
+
14
+ # CI/CD Framework — Quick Reference
15
+
16
+ This is the always-loaded directory for **cicd-complete**, the end-user CI/CD
17
+ framework. Help users design and run their own delivery pipelines.
18
+
19
+ ## Canonical access pattern: discover → show
20
+
21
+ Use discovery before selecting a component. Inspect the metadata card, then fetch
22
+ its body or a needed section. Fetch required rules with `--rules
23
+ --with-rule-bodies` before governed work. Do not enumerate skills from memory or
24
+ browse provider skill directories; they expose deployment state, not the catalog.
25
+
26
+ ```bash
27
+ aiwg discover "cicd-quickref"
28
+ aiwg show skill cicd-quickref --body
29
+ ```
30
+
31
+ This phrase resolves to the shipped quickref. Capability definitions and gate packs
32
+ are available below; discover an execution skill before invoking it. If discovery is unavailable,
33
+ read the canonical source under `$AIWG_ROOT/agentic/code/frameworks/cicd-complete/`.
34
+
35
+ ## Capability domains
36
+
37
+ | Domain | Work and exit gate | Availability |
38
+ |---|---|---|
39
+ | assess | Inventory current pipelines and risks; agree scope and success measures. | Skills `cicd-intake`, `ci-assess`; agent `ci-architect`; intake and assessment templates. |
40
+ | design | Define triggers, stage/job dependencies, environments and gates; validate and review contracts. | Skill `ci-pipeline-design`; agent `ci-architect`; CIPipeline/CIEnvironment schemas; spec and environment-plan templates. |
41
+ | implement | Render provider configuration and integrate capabilities; pass provider validation and a controlled trial. | Skills `ci-render`, `ci-builder`, `ci-migrate`; agents `ci-renderer`, `supply-chain-guard`; runbook and migration templates. Provider templates: `agentic/code/extensions/cicd-gitea-actions/` and `agentic/code/extensions/cicd-github-actions/`; discover `cicd-gitea-actions-workflow` or `cicd-github-actions-workflow`. |
42
+ | operate | Monitor reliability, triage failures, root-cause flakes, coordinate releases and rehearse rollback. | Skills `ci-failure-triage`, `ci-flake-hunt`, `ci-drift-check`, `ci-pipeline-audit`, `ci-release-coordinate`; agents `ci-doctor`, `ci-release-engineer`; runbook and incident templates. |
43
+ | CI capability library | Checkout, cache, runtime, lint, tests, coverage, SBOM, signing, artifact upload and deploy handoff. | `capabilities/ci-*.yaml`; reuse ops-complete `dev-pipeline-validate`, `docker-build`, `image-scan`, `docker-push`. Apply `dev-pipeline-safety`, `dev-secret-hygiene`, `dev-idempotent-builds`, `dev-ci-self-contained` and `ci-action-pinning`. |
44
+ | Flag delivery | Check flag cards, test both states, scan code references, ramp exposure and hand off cleanup. | `capabilities/flag-*.yaml` and `progressive-rollout.yaml`; implementations resolve through `feature_flags.provider`, with a manual approval gate for `none`. Card authority: `$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`. |
45
+ | Gate packs | Enforce coverage, build duration and post-propagation error-rate/latency limits with poll/backoff parameters. | `gate-packs/`: `aiwg:cicd-complete/coverage-floor`, `aiwg:cicd-complete/build-time-budget`, `aiwg:cicd-complete/progressive-rollout-health`; compose with existing `aiwg:dev/ci-flake` at `$AIWG_ROOT/agentic/code/extensions/dev/gate-packs/ci-flake.gatepack.yaml`. |
46
+
47
+ ## Skills, agents and templates
48
+
49
+ Use these discovery phrases, then `aiwg show <type> <name> --body`:
50
+
51
+ ```bash
52
+ aiwg discover "cicd-intake" # → skill: CI/CD intake
53
+ aiwg discover "ci-assess" # → skill: assess current CI
54
+ aiwg discover "ci-pipeline-design" # → skill: design a CIPipeline
55
+ aiwg discover "ci-render" # → skill: render provider workflows
56
+ aiwg discover "ci-drift-check" # → skill: spec vs rendered drift
57
+ aiwg discover "ci-failure-triage" # → skill: triage a failing pipeline
58
+ aiwg discover "ci-flake-hunt" # → skill: root-cause flaky jobs
59
+ aiwg discover "ci-migrate" # → skill: migrate CI providers
60
+ aiwg discover "ci-pipeline-audit" # → skill: audit a pipeline
61
+ aiwg discover "ci-builder" # → skill: self-contained CI builder
62
+ aiwg discover "ci-release-coordinate" # → skill: coordinate a release
63
+ aiwg discover "CI/CD intake" # → cicd-intake-template
64
+ aiwg discover "CI assessment report" # → ci-assessment-report-template
65
+ aiwg discover "CI pipeline spec" # → ci-pipeline-spec-template
66
+ aiwg discover "CI environment plan" # → ci-environment-plan-template
67
+ aiwg discover "CI pipeline runbook" # → ci-pipeline-runbook-template
68
+ aiwg discover "CI pipeline incident" # → ci-pipeline-incident-template
69
+ aiwg discover "CI migration report" # → ci-migration-report-template
70
+ ```
71
+
72
+ Agents: `ci-architect`, `ci-renderer`, `ci-doctor`, `ci-release-engineer`, `supply-chain-guard`.
73
+
74
+ Phase guidance: [assess](../../docs/phases/assess.md),
75
+ [design](../../docs/phases/design.md), [implement](../../docs/phases/implement.md),
76
+ [operate](../../docs/phases/operate.md). Apply the checkable
77
+ [gate criteria](../../flows/gate-criteria-by-phase.md) at each handoff and recurring
78
+ operational review. YAML spec template frontmatter is metadata: copy and validate
79
+ the second YAML document as CIPipeline. Schema validation does not resolve
80
+ capability/environment/GatePack references or prove execution.
81
+
82
+ ## Which bundle is for what
83
+
84
+ | Bundle | Use for |
85
+ |---|---|
86
+ | cicd-complete | Your CI/CD lifecycle and pipeline/environment contracts. |
87
+ | ops-complete + ops `dev` extension | Infrastructure operations, existing CI builder patterns and fleet-wide tooling. |
88
+ | aiwg-dev | AIWG dev-mode tooling for developing AIWG itself. |
89
+ | sdlc-complete | Software lifecycle and feature-flag planning; owns `feature_flags.provider` configuration. |
90
+
91
+ ## Governed contracts
92
+
93
+ Validate YAML or JSON documents against the canonical draft-07 schemas:
94
+
95
+ - CIPipeline: `@$AIWG_ROOT/agentic/code/frameworks/cicd-complete/schemas/ci-pipeline.schema.json`
96
+ - CIEnvironment: `@$AIWG_ROOT/agentic/code/frameworks/cicd-complete/schemas/ci-environment.schema.json`
97
+
98
+ Both use `apiVersion: cicd.aiwg.io/v1`. Jobs name OpsCapabilities; gates reference
99
+ GatePacks (`gates.aiwg.io/v1alpha1`). Environment secrets are references only:
100
+ `{name, ref}`. A literal `value` is rejected.
101
+
102
+ Stage rollout strategies are canary, blue-green, rolling and flag. For flag
103
+ rollout steps, consumers default omitted capability to `progressive-rollout` and
104
+ read the provider from project config `feature_flags.provider`. The pipeline
105
+ schema does not define flag lifecycle or provider configuration. Schema defaults
106
+ are annotations; validation alone does not execute or populate a rollout.
107
+
108
+ Extensions may declare WorkflowExtension `spec.extends: cicd-complete`.
109
+ OpsExtension stays ops-only. Definition validation does not execute provider
110
+ rendering or delivery; do not claim a pipeline has run after validating its document.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -15,7 +15,7 @@ description: Generate deployment configurations (Docker, Kubernetes) for the cur
15
15
  > aiwg show skill <name> --body
16
16
  > ```
17
17
  >
18
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
18
+ > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `aiwg-steward-routing` on Claude Code) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
19
19
 
20
20
 
21
21
  # Deploy Generator
@@ -13,12 +13,15 @@ You activate AIWG dev mode, rebuild the local source, deploy the developer toolk
13
13
  ## Triggers
14
14
 
15
15
  - "switch to dev mode" → full dev mode bootstrap
16
- - "aiwg use dev" → full dev mode bootstrap
16
+ - "aiwg --use-dev" → full dev mode bootstrap
17
+ - "run aiwg from my local checkout" → full dev mode bootstrap
17
18
  - "activate dev mode" → full dev mode bootstrap
18
19
  - "use local repo source" → switch CLI to dev + build
19
20
  - "switch back to stable" → deactivate dev mode
20
21
  - "rebuild and redeploy dev" → build + redeploy aiwg-dev without switching mode
21
22
 
23
+ > `aiwg use dev` is not dev mode: it installs the ops DevOps extension (`dev`). Dev mode is `aiwg --use-dev <path>`; the developer toolkit is `aiwg use aiwg-dev`.
24
+
22
25
  ## Trigger Patterns Reference
23
26
 
24
27
  | Pattern | Example | Action |
@@ -2,92 +2,20 @@
2
2
  namespace: aiwg
3
3
  name: devkit-create-addon
4
4
  platforms: [flue]
5
- description: Create a new AIWG addon with AI-guided setup
5
+ description: Alias of scaffold-addon — Create a standalone addon.
6
6
  ---
7
7
 
8
- # Create AIWG Addon
8
+ # Devkit Create Addon
9
9
 
10
- Create a new standalone addon with AI assistance.
11
-
12
- ## Usage
13
-
14
- ```
15
- /devkit-create-addon <name> [--interactive]
16
- ```
17
-
18
- ## Arguments
19
-
20
- | Argument | Required | Description |
21
- |----------|----------|-------------|
22
- | name | Yes | Addon name (kebab-case recommended) |
23
-
24
- ## Options
25
-
26
- | Option | Description |
27
- |--------|-------------|
28
- | --interactive | Enable interactive mode with guided questions |
29
-
30
- ## What This Creates
31
-
32
- ```
33
- agentic/code/addons/<name>/
34
- ├── manifest.json # Addon configuration
35
- ├── README.md # Documentation
36
- ├── agents/ # Agent definitions
37
- ├── commands/ # Slash commands
38
- └── skills/ # Auto-triggered skills
39
- ```
40
-
41
- ## Interactive Mode
42
-
43
- When `--interactive` is specified, I will ask:
44
-
45
- 1. **Purpose**: What is the primary purpose of this addon?
46
- 2. **Capabilities**: What specific capabilities should it provide?
47
- 3. **Initial agents**: Should I create any starter agents?
48
- 4. **Initial commands**: Should I create any starter commands?
49
- 5. **Core status**: Should this be a core addon (auto-installed)?
50
-
51
- ## Examples
10
+ This skill is an alias of the canonical `scaffold-addon` skill in aiwg-utils.
11
+ Load and follow its instructions, including guided design and post-creation guidance:
52
12
 
53
13
  ```bash
54
- # Quick creation
55
- /devkit-create-addon security-scanner
56
-
57
- # Interactive guided creation
58
- /devkit-create-addon code-metrics --interactive
14
+ aiwg show skill scaffold-addon --body
59
15
  ```
60
16
 
61
- ## Execution
62
-
63
- 1. **Validate name**: Ensure name follows kebab-case convention
64
- 2. **Check existence**: Verify addon doesn't already exist
65
- 3. **Gather info**: In interactive mode, ask clarifying questions
66
- 4. **Generate manifest**: Create manifest.json with appropriate fields
67
- 5. **Create structure**: Build directory structure
68
- 6. **Generate README**: Create documentation with usage instructions
69
- 7. **Optionally create components**: If interactive, offer to create initial agents/commands
70
- 8. **Report success**: Show created files and next steps
71
-
72
- ## CLI Equivalent
73
-
74
- For non-interactive creation, you can also use:
17
+ The canonical skill runs this CLI command from the root of an AIWG checkout:
75
18
 
76
19
  ```bash
77
- aiwg scaffold-addon <name> --description "..." --author "..."
20
+ aiwg scaffold-addon <name>
78
21
  ```
79
-
80
- ## Related Commands
81
-
82
- - `/devkit-create-agent` - Add agent to addon
83
- - `/devkit-create-command` - Add command to addon
84
- - `/devkit-create-skill` - Add skill to addon
85
- - `/devkit-validate` - Validate addon structure
86
-
87
- ## References
88
-
89
- - @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
90
- - @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
91
- - @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
92
- - @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-addon command
93
- - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md — Scope rules for addon design
@@ -2,176 +2,20 @@
2
2
  namespace: aiwg
3
3
  name: devkit-create-agent
4
4
  platforms: [flue]
5
- description: Create a new agent with AI-guided expertise definition following the Agent Design Bible
5
+ description: Alias of add-agent — Create an agent inside an addon or framework.
6
6
  ---
7
7
 
8
- # Create AIWG Agent
8
+ # Devkit Create Agent
9
9
 
10
- Create a new agent with AI assistance to define expertise, workflow, and capabilities.
11
-
12
- **Follows**: [Agent Design Bible]($AIWG_ROOT/docs/frameworks/sdlc-complete/agent-design.md) - 10 Golden Rules for production-grade agents.
13
-
14
- **Research Foundation**: REF-001 (Bandara et al.), REF-002 (Roig 2025) failure archetype prevention.
15
-
16
- ## Usage
17
-
18
- ```
19
- /devkit-create-agent <name> --to <target> [options]
20
- ```
21
-
22
- ## Arguments
23
-
24
- | Argument | Required | Description |
25
- |----------|----------|-------------|
26
- | name | Yes | Agent name (kebab-case recommended) |
27
-
28
- ## Required Options
29
-
30
- | Option | Description |
31
- |--------|-------------|
32
- | --to | Target addon or framework |
33
-
34
- ## Optional Options
35
-
36
- | Option | Description |
37
- |--------|-------------|
38
- | --template | Agent template: simple (default), complex, orchestrator |
39
- | --interactive | Enable interactive mode with guided questions |
40
-
41
- ## Templates
42
-
43
- Templates are in `~/.local/share/ai-writing-guide/templates/agent-scaffolding/`.
44
-
45
- ### simple (default)
46
- Single-purpose, focused agent with minimal structure (Rule 1: Single Responsibility).
47
- - Best for: Utility agents, single-task specialists
48
- - Model: haiku (efficiency tier)
49
- - Tools: Read, Write (Rule 2: Minimal Tools)
50
-
51
- ### complex
52
- Full reasoning agent with all safeguards including failure archetype prevention.
53
- - Best for: Subject matter experts, reviewers, analysts
54
- - Model: sonnet/opus (based on complexity)
55
- - Tools: Read, Write, Grep (Rule 2: 0-3 tools)
56
- - Includes: Grounding, uncertainty handling, recovery protocol
57
-
58
- ### orchestrator
59
- Multi-agent coordination with workflow patterns and agent assignment tables.
60
- - Best for: Workflow coordinators, phase managers
61
- - Model: opus (Rule 8: reasoning tier for coordination)
62
- - Tools: Task only (Rule 2: single tool for delegation)
63
-
64
- ### validator
65
- Read-only validation agent that doesn't modify state.
66
- - Best for: Quality gates, compliance checks, code review
67
- - Model: haiku/sonnet
68
- - Tools: Read, Grep (read-only)
69
-
70
- ## Interactive Mode
71
-
72
- When `--interactive` is specified, I will ask:
73
-
74
- 1. **Role**: What is this agent's primary role?
75
- 2. **Expertise**: What domains does it specialize in?
76
- 3. **Responsibilities**: What are its key responsibilities?
77
- 4. **Tools**: What tools does it need access to?
78
- 5. **Workflow**: How should it approach tasks?
79
- 6. **Output**: What format should its output take?
80
-
81
- ## Examples
10
+ This skill is an alias of the canonical `add-agent` skill in aiwg-utils.
11
+ Load and follow its instructions, including guided design and post-creation guidance:
82
12
 
83
13
  ```bash
84
- # Simple agent
85
- /devkit-create-agent code-reviewer --to aiwg-utils
86
-
87
- # Complex domain expert
88
- /devkit-create-agent security-auditor --to sdlc-complete --template complex
89
-
90
- # Orchestrator agent
91
- /devkit-create-agent deployment-coordinator --to sdlc-complete --template orchestrator --interactive
14
+ aiwg show skill add-agent --body
92
15
  ```
93
16
 
94
- ## Execution
95
-
96
- 1. **Validate inputs**: Check name and target
97
- 2. **Verify target exists**: Ensure addon/framework is installed
98
- 3. **Select template**: Use specified or default to simple
99
- 4. **Gather expertise**: In interactive mode, ask about domain knowledge
100
- 5. **Generate agent file**: Create with frontmatter and sections
101
- 6. **Update manifest**: Add agent to manifest.json
102
- 7. **Report success**: Show location and customization tips
103
-
104
- ## Output Location
105
-
106
- ```
107
- <target>/agents/<name>.md
108
- ```
109
-
110
- ## Agent File Structure
111
-
112
- ```markdown
113
- ---
114
- name: agent-name
115
- description: Agent description
116
- model: claude-sonnet-5
117
- tools: Read, Write, MultiEdit, Bash, WebFetch
118
- ---
119
-
120
- # Agent Title
121
-
122
- [Description]
123
-
124
- ## Expertise
125
- [Domain knowledge]
126
-
127
- ## Responsibilities
128
- [What the agent does]
129
-
130
- ## Workflow
131
- [How it approaches tasks]
132
-
133
- ## Output Format
134
- [Expected output structure]
135
- ```
136
-
137
- ## CLI Equivalent
138
-
139
- ```bash
140
- aiwg add-agent <name> --to <target> --template <type>
141
- ```
142
-
143
- ## 10 Golden Rules Validation
144
-
145
- After creation, validate against the Agent Design Bible:
17
+ The canonical skill runs this CLI command from the root of an AIWG checkout:
146
18
 
147
19
  ```bash
148
- aiwg lint agents <target>/agents/<name>.md --verbose
20
+ aiwg add-agent <name> --to <target> [--template <type>]
149
21
  ```
150
-
151
- | Rule | Check |
152
- |------|-------|
153
- | 1. Single Responsibility | One clear purpose, no "and" overload |
154
- | 2. Minimal Tools | 0-3 tools, justified |
155
- | 3. Explicit I/O | Inputs and outputs defined |
156
- | 4. Grounding | Verify before acting (Archetype 1) |
157
- | 5. Uncertainty | Escalate ambiguity (Archetype 2) |
158
- | 6. Context Scope | Filter distractors (Archetype 3) |
159
- | 7. Recovery | Handle errors (Archetype 4) |
160
- | 8. Model Tier | Match task complexity |
161
- | 9. Parallel Ready | Concurrent execution safe |
162
- | 10. Observable | Traceable output |
163
-
164
- ## Related Commands
165
-
166
- - `/devkit-create-command` - Create a slash command
167
- - `/devkit-create-skill` - Create an auto-triggered skill
168
- - `/devkit-validate` - Validate agent structure
169
- - `aiwg lint agents` - Validate against 10 Golden Rules
170
-
171
- ## References
172
-
173
- - @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
174
- - @$AIWG_ROOT/docs/extensions/extension-types.md — Extension types including agent type
175
- - @$AIWG_ROOT/docs/cli-reference.md — CLI reference including add-agent command
176
- - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md — Single-responsibility rules for agents
177
- - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/agent-deployment.md — Agent metadata structure and multi-provider deployment
@@ -2,152 +2,20 @@
2
2
  namespace: aiwg
3
3
  name: devkit-create-command
4
4
  platforms: [flue]
5
- description: Create a new slash command with AI-guided behavior definition
5
+ description: Alias of add-command — Create a command inside an addon or framework.
6
6
  ---
7
7
 
8
- <!-- AIWG-SKILL-CALLOUT -->
9
- > **Skill access pattern (post-kernel-pivot, 2026.5+)**
10
- >
11
- > Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `/skill-name` by the platform. Reach them via:
12
- >
13
- > ```bash
14
- > aiwg discover "<capability>"
15
- > aiwg show skill <name> --body
16
- > ```
17
- >
18
- > Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](../../../addons/aiwg-utils/rules/skill-discovery.md).
8
+ # Devkit Create Command
19
9
 
20
-
21
- # Create AIWG Command
22
-
23
- Create a new slash command with AI assistance to define arguments, behavior, and output.
24
-
25
- ## Usage
26
-
27
- ```
28
- /devkit-create-command <name> --to <target> [options]
29
- ```
30
-
31
- ## Arguments
32
-
33
- | Argument | Required | Description |
34
- |----------|----------|-------------|
35
- | name | Yes | Command name (kebab-case recommended) |
36
-
37
- ## Required Options
38
-
39
- | Option | Description |
40
- |--------|-------------|
41
- | --to | Target addon or framework |
42
-
43
- ## Optional Options
44
-
45
- | Option | Description |
46
- |--------|-------------|
47
- | --template | Command template: utility (default), transformation, orchestration |
48
- | --interactive | Enable interactive mode with guided questions |
49
-
50
- ## Templates
51
-
52
- ### utility (default)
53
- Simple operation, single action command.
54
- - Best for: Quick tasks, file operations, status checks
55
- - Example: `lint-check`, `deploy-status`
56
-
57
- ### transformation
58
- Content/code transformation pipeline with input/output handling.
59
- - Best for: Format conversion, code refactoring, content processing
60
- - Example: `convert-format`, `refactor-code`
61
-
62
- ### orchestration
63
- Multi-agent workflow coordination with phases and parallel execution.
64
- - Best for: Complex workflows, phase transitions, multi-step processes
65
- - Example: `flow-deploy-to-production`, `flow-security-review`
66
-
67
- ## Interactive Mode
68
-
69
- When `--interactive` is specified, I will ask:
70
-
71
- 1. **Purpose**: What does this command do?
72
- 2. **Arguments**: What inputs does it need?
73
- 3. **Options**: What configuration options should it support?
74
- 4. **Steps**: What are the execution steps?
75
- 5. **Output**: What should the output look like?
76
-
77
- ## Examples
10
+ This skill is an alias of the canonical `add-command` skill in aiwg-utils.
11
+ Load and follow its instructions, including guided design and post-creation guidance:
78
12
 
79
13
  ```bash
80
- # Simple utility command
81
- /devkit-create-command lint-fix --to aiwg-utils
82
-
83
- # Transformation pipeline
84
- /devkit-create-command convert-docs --to sdlc-complete --template transformation
85
-
86
- # Orchestration workflow
87
- /devkit-create-command deploy-all --to sdlc-complete --template orchestration --interactive
14
+ aiwg show skill add-command --body
88
15
  ```
89
16
 
90
- ## Execution
91
-
92
- 1. **Validate inputs**: Check name and target
93
- 2. **Verify target exists**: Ensure addon/framework is installed
94
- 3. **Select template**: Use specified or default to utility
95
- 4. **Gather behavior**: In interactive mode, ask about command behavior
96
- 5. **Generate command file**: Create with frontmatter and sections
97
- 6. **Update manifest**: Add command to manifest.json
98
- 7. **Report success**: Show location and usage instructions
99
-
100
- ## Output Location
101
-
102
- ```
103
- <target>/commands/<name>.md
104
- ```
105
-
106
- ## Command File Structure
107
-
108
- ```markdown
109
- ---
110
- name: command-name
111
- description: Command description
112
- args: [arg1] [--option value --guidance "text"]
113
- ---
114
-
115
- # Command Title
116
-
117
- [Description]
118
-
119
- ## Usage
120
- [How to invoke]
121
-
122
- ## Arguments
123
- [Input parameters]
124
-
125
- ## Options
126
- [Configuration flags]
127
-
128
- ## Execution
129
- [Step-by-step behavior]
130
-
131
- ## Output
132
- [What to expect]
133
- ```
134
-
135
- ## CLI Equivalent
17
+ The canonical skill runs this CLI command from the root of an AIWG checkout:
136
18
 
137
19
  ```bash
138
- aiwg add-command <name> --to <target> --template <type>
20
+ aiwg add-command <name> --to <target> [--template <type>]
139
21
  ```
140
-
141
- ## Related Commands
142
-
143
- - `devkit-create-agent` - Create an agent
144
- - `devkit-create-skill` - Create an auto-triggered skill
145
- - `devkit-validate` - Validate command structure
146
-
147
- ## References
148
-
149
- - @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
150
- - @$AIWG_ROOT/docs/extensions/extension-types.md — Extension types including command type
151
- - @$AIWG_ROOT/docs/cli-reference.md — CLI reference including add-command command
152
- - @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
153
- - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework with example commands