@aiwg/flue 2026.11.9 → 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 (144) 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/aiwg-language-map/SKILL.md +2 -2
  8. package/skills/aiwg-mission/SKILL.md +3 -1
  9. package/skills/aiwg-regenerate-claude/SKILL.md +1 -1
  10. package/skills/aiwg-update-agents-md/SKILL.md +1 -1
  11. package/skills/aiwg-update-claude/SKILL.md +1 -1
  12. package/skills/aiwg-utils-quickref/SKILL.md +4 -1
  13. package/skills/architecture-evolution/SKILL.md +4 -0
  14. package/skills/build-poc/SKILL.md +1 -1
  15. package/skills/ci-assess/SKILL.md +84 -0
  16. package/skills/ci-assess/SKILL.md.d.ts +3 -0
  17. package/skills/ci-builder/SKILL.md +80 -0
  18. package/skills/ci-builder/SKILL.md.d.ts +3 -0
  19. package/skills/ci-drift-check/SKILL.md +73 -0
  20. package/skills/ci-drift-check/SKILL.md.d.ts +3 -0
  21. package/skills/ci-failure-triage/SKILL.md +86 -0
  22. package/skills/ci-failure-triage/SKILL.md.d.ts +3 -0
  23. package/skills/ci-flake-hunt/SKILL.md +86 -0
  24. package/skills/ci-flake-hunt/SKILL.md.d.ts +3 -0
  25. package/skills/ci-migrate/SKILL.md +92 -0
  26. package/skills/ci-migrate/SKILL.md.d.ts +3 -0
  27. package/skills/ci-pipeline-audit/SKILL.md +89 -0
  28. package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
  29. package/skills/ci-pipeline-design/SKILL.md +99 -0
  30. package/skills/ci-pipeline-design/SKILL.md.d.ts +3 -0
  31. package/skills/ci-release-coordinate/SKILL.md +96 -0
  32. package/skills/ci-release-coordinate/SKILL.md.d.ts +3 -0
  33. package/skills/ci-render/SKILL.md +92 -0
  34. package/skills/ci-render/SKILL.md.d.ts +3 -0
  35. package/skills/cicd-intake/SKILL.md +82 -0
  36. package/skills/cicd-intake/SKILL.md.d.ts +3 -0
  37. package/skills/cicd-quickref/SKILL.md +110 -0
  38. package/skills/cicd-quickref/SKILL.md.d.ts +3 -0
  39. package/skills/deploy-gen/SKILL.md +1 -1
  40. package/skills/dev-mode-init/SKILL.md +4 -1
  41. package/skills/devkit-create-addon/SKILL.md +7 -79
  42. package/skills/devkit-create-agent/SKILL.md +7 -163
  43. package/skills/devkit-create-command/SKILL.md +7 -139
  44. package/skills/devkit-create-extension/SKILL.md +7 -101
  45. package/skills/devkit-create-framework/SKILL.md +7 -131
  46. package/skills/devkit-create-skill/SKILL.md +7 -200
  47. package/skills/devkit-test/SKILL.md +1 -1
  48. package/skills/feature-flag-plan/SKILL.md +74 -0
  49. package/skills/feature-flag-plan/SKILL.md.d.ts +3 -0
  50. package/skills/feature-flag-plan/scripts/flag-plan.mjs +159 -0
  51. package/skills/flaky-detect/SKILL.md +1 -1
  52. package/skills/flow-architecture-evolution/SKILL.md +5 -1
  53. package/skills/flow-construction-to-transition/SKILL.md +20 -2
  54. package/skills/flow-delivery-track/SKILL.md +4 -0
  55. package/skills/flow-delivery-track/references/delegation.md +23 -0
  56. package/skills/flow-elaboration-to-construction/SKILL.md +4 -0
  57. package/skills/flow-gate-check/SKILL.md +4 -0
  58. package/skills/flow-gate-check/references/delegation.md +23 -0
  59. package/skills/flow-guided-implementation/SKILL.md +4 -0
  60. package/skills/flow-guided-implementation/references/delegation.md +23 -0
  61. package/skills/flow-inception-to-elaboration/SKILL.md +1 -1
  62. package/skills/flow-iteration-dual-track/SKILL.md +4 -0
  63. package/skills/flow-knowledge-transfer/SKILL.md +1 -1
  64. package/skills/flow-retrospective-cycle/SKILL.md +1 -1
  65. package/skills/flow-security-review-cycle/SKILL.md +4 -0
  66. package/skills/flow-security-review-cycle/references/delegation.md +23 -0
  67. package/skills/flow-test-strategy-execution/SKILL.md +5 -1
  68. package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
  69. package/skills/gate-evaluation/SKILL.md +1 -1
  70. package/skills/intake-from-codebase/SKILL.md +5 -1
  71. package/skills/intake-start/SKILL.md +5 -1
  72. package/skills/intake-wizard/SKILL.md +5 -1
  73. package/skills/issue-audit/SKILL.md +1 -1
  74. package/skills/issue-driven-al/SKILL.md +1 -1
  75. package/skills/issue-list/SKILL.md +1 -1
  76. package/skills/issue-update/SKILL.md +1 -1
  77. package/skills/iteration-control/SKILL.md +1 -1
  78. package/skills/ld-account-setup/SKILL.md +33 -0
  79. package/skills/ld-account-setup/SKILL.md.d.ts +3 -0
  80. package/skills/ld-agentcontrol/SKILL.md +33 -0
  81. package/skills/ld-agentcontrol/SKILL.md.d.ts +3 -0
  82. package/skills/ld-approvals/SKILL.md +33 -0
  83. package/skills/ld-approvals/SKILL.md.d.ts +3 -0
  84. package/skills/ld-code-refs-ci/SKILL.md +33 -0
  85. package/skills/ld-code-refs-ci/SKILL.md.d.ts +3 -0
  86. package/skills/ld-connect/SKILL.md +39 -0
  87. package/skills/ld-connect/SKILL.md.d.ts +3 -0
  88. package/skills/ld-contexts/SKILL.md +33 -0
  89. package/skills/ld-contexts/SKILL.md.d.ts +3 -0
  90. package/skills/ld-docs/SKILL.md +31 -0
  91. package/skills/ld-docs/SKILL.md.d.ts +3 -0
  92. package/skills/ld-doctor/SKILL.md +41 -0
  93. package/skills/ld-doctor/SKILL.md.d.ts +3 -0
  94. package/skills/ld-experiment/SKILL.md +34 -0
  95. package/skills/ld-experiment/SKILL.md.d.ts +3 -0
  96. package/skills/ld-flag-cleanup/SKILL.md +35 -0
  97. package/skills/ld-flag-cleanup/SKILL.md.d.ts +3 -0
  98. package/skills/ld-flag-create/SKILL.md +33 -0
  99. package/skills/ld-flag-create/SKILL.md.d.ts +3 -0
  100. package/skills/ld-flag-debt-audit/SKILL.md +33 -0
  101. package/skills/ld-flag-debt-audit/SKILL.md.d.ts +3 -0
  102. package/skills/ld-guarded-release/SKILL.md +33 -0
  103. package/skills/ld-guarded-release/SKILL.md.d.ts +3 -0
  104. package/skills/ld-migration-flag/SKILL.md +33 -0
  105. package/skills/ld-migration-flag/SKILL.md.d.ts +3 -0
  106. package/skills/ld-progressive-rollout/SKILL.md +34 -0
  107. package/skills/ld-progressive-rollout/SKILL.md.d.ts +3 -0
  108. package/skills/ld-quickref/SKILL.md +50 -0
  109. package/skills/ld-quickref/SKILL.md.d.ts +3 -0
  110. package/skills/ld-relay-proxy/SKILL.md +33 -0
  111. package/skills/ld-relay-proxy/SKILL.md.d.ts +3 -0
  112. package/skills/ld-sdk-integrate/SKILL.md +34 -0
  113. package/skills/ld-sdk-integrate/SKILL.md.d.ts +3 -0
  114. package/skills/ld-segments/SKILL.md +33 -0
  115. package/skills/ld-segments/SKILL.md.d.ts +3 -0
  116. package/skills/ld-targeting/SKILL.md +33 -0
  117. package/skills/ld-targeting/SKILL.md.d.ts +3 -0
  118. package/skills/ld-terraform/SKILL.md +33 -0
  119. package/skills/ld-terraform/SKILL.md.d.ts +3 -0
  120. package/skills/ld-testing/SKILL.md +34 -0
  121. package/skills/ld-testing/SKILL.md.d.ts +3 -0
  122. package/skills/mention-conventions/SKILL.md +1 -1
  123. package/skills/mention-lint/SKILL.md +1 -1
  124. package/skills/mention-report/SKILL.md +1 -1
  125. package/skills/mention-validate/SKILL.md +1 -1
  126. package/skills/new-project/SKILL.md +1 -1
  127. package/skills/prefill-cards/SKILL.md +1 -1
  128. package/skills/project-status/SKILL.md +1 -1
  129. package/skills/ralph-config/SKILL.md +1 -1
  130. package/skills/ralph-external/SKILL.md +1 -1
  131. package/skills/ralph-memory/SKILL.md +1 -1
  132. package/skills/ralph-resume/SKILL.md +1 -1
  133. package/skills/retrospective-analyzer/SKILL.md +14 -0
  134. package/skills/scaffold-addon/SKILL.md +8 -4
  135. package/skills/scaffold-extension/SKILL.md +9 -1
  136. package/skills/scaffold-framework/SKILL.md +12 -3
  137. package/skills/sdlc-accelerate/SKILL.md +1 -1
  138. package/skills/sdlc-quickref/SKILL.md +9 -0
  139. package/skills/steward/SKILL.md +6 -1
  140. package/skills/tdd-enforce/SKILL.md +1 -1
  141. package/skills/workspace-health/SKILL.md +1 -1
  142. package/skills/workspace-reset/SKILL.md +1 -1
  143. package/specialists.d.ts +2 -0
  144. package/specialists.js +2 -0
@@ -0,0 +1,92 @@
1
+ ---
2
+ name: ci-render
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Render reviewed pipeline and environment specs through installed provider-extension templates, preview the diff and authorize workflow installation.
6
+ triggers:
7
+ - "ci-render"
8
+ - "render my CI pipeline"
9
+ - "generate workflows from CI specs"
10
+ ---
11
+
12
+ # CI Render
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
23
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
24
+ - `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
25
+ - `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`
26
+
27
+ ## Process
28
+
29
+ 1. Load reviewed specs with `ci-renderer`; validate schemas, references, cycles,
30
+ capability inputs and gate parameters. Resolve provider targets explicitly.
31
+ 2. Locate the installed provider WorkflowExtension extending `cicd-complete`
32
+ and its rendering templates. Record identity/version and compatibility.
33
+ First-wave sources: `@$AIWG_ROOT/agentic/code/extensions/cicd-gitea-actions/`
34
+ and `@$AIWG_ROOT/agentic/code/extensions/cicd-github-actions/`. Discover
35
+ `cicd-gitea-actions-workflow` or `cicd-github-actions-workflow`; read their
36
+ README, provider rule and template. If missing, report the prerequisite and stop.
37
+ Do not fabricate templates or claim a working render from a design alone.
38
+ 3. Render through those templates into an artifact preview, never directly into
39
+ live workflow paths. Record input/template/output digests, versions, exact
40
+ target mapping and repeat-render determinism.
41
+ 4. Compare against current workflow files; preserve manual edits as findings.
42
+ Validate preview syntax and provider semantics using available extension
43
+ validators. Flag trust, secret, pinning or unsupported mapping failures.
44
+ 5. Present the concrete diff, target paths and rollback copy for explicit user
45
+ authorization. Only after that approval install the scoped files and run
46
+ authorized validation. Pipeline dispatch is a separate approval boundary.
47
+ 6. Record results and unresolved prerequisites. Hand read-only drift monitoring
48
+ to `ci-drift-check`; do not schedule or run it without a user request.
49
+
50
+ ## Authorization checkpoint
51
+
52
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
53
+ before applying anything. Require explicit user authorization covering those CI
54
+ files before writing, replacing or deleting project workflows, builder files or
55
+ CI scripts. A design, review finding or generated preview grants no permission.
56
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
57
+ trigger changes and live delivery require their own explicit authorization.
58
+
59
+ ## Feature-flag boundary
60
+
61
+ When flag state matters, read `feature_flags.provider` from project config.
62
+ For a configured provider, discover its skills and use its read-only state checks;
63
+ never infer a vendor from credentials or installed tools. With provider `none`,
64
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
65
+ configuration is an unresolved prerequisite, never an implicit pass.
66
+ Never create, change, toggle, retire or delete flags, including through delegated
67
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
68
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
69
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
70
+ no authorization to mutate flags. Pipeline progression may use approved observed
71
+ flag state; flag mutations remain outside this component.
72
+
73
+ ## Output template
74
+
75
+ Resolve the #4423 templates by these names:
76
+
77
+ - `ci-pipeline-runbook-template`
78
+
79
+ Source/spec references; extension and template versions; deterministic render receipt; source/output mapping and digests; reviewed diff; validation; approval and installation status; rollback.
80
+
81
+ ## Example
82
+
83
+ “Render my CI pipeline for GitHub Actions” yields a preview and scoped installation checkpoint when the provider extension is available, or a missing-template report when the extension is absent.
84
+
85
+ ## Artifact handling
86
+
87
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
88
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
89
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
90
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
91
+ if a template or capability is absent, record the prerequisite and pending work.
92
+ Do not claim execution from schema validation or a proposed procedure.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: cicd-intake
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Capture user-project CI/CD goals, ownership, provider constraints and lifecycle scope before assessment or design.
6
+ triggers:
7
+ - "cicd-intake"
8
+ - "start CI/CD intake"
9
+ - "capture pipeline delivery goals"
10
+ ---
11
+
12
+ # CI/CD Intake
13
+
14
+ ## Bound rules
15
+
16
+ Before work, load and obey each rule below with `aiwg show rule <name> --body`.
17
+ If discovery is unavailable, read its canonical source. Stop if a required rule
18
+ cannot be loaded. These are mandatory operating instructions; rule-side
19
+ `bound_to` metadata is maintained by the rule owner, not by this component.
20
+
21
+ - `human-authorization` — `@$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md`
22
+ - `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
23
+ - `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
24
+
25
+ ## Process
26
+
27
+ 1. Identify the user's repository, delivery owner, runtime/build/test commands,
28
+ current forge/runner setup and target environments. Separate observed facts
29
+ from assumptions; do not import AIWG repository CI policies.
30
+ 2. Capture delivery frequency, required checks, trust boundaries, artifact
31
+ retention, release destinations, rollback objectives and approval owners.
32
+ Record secrets by reference and owner only.
33
+ 3. Establish the assess → design → implement → operate scope and success
34
+ measures, including coverage floor and build-time budget requirements.
35
+ 4. If progressive delivery is requested, apply the feature-flag boundary below;
36
+ capture provider and existing flag-card references without changing config.
37
+ 5. Present unanswered questions and agreed inputs. Hand off to `ci-assess`
38
+ or `ci-architect` / `ci-pipeline-design`; do not bootstrap CI during intake.
39
+
40
+ ## Authorization checkpoint
41
+
42
+ Prepare the concrete proposed diff, affected paths, validation plan and rollback
43
+ before applying anything. Require explicit user authorization covering those CI
44
+ files before writing, replacing or deleting project workflows, builder files or
45
+ CI scripts. A design, review finding or generated preview grants no permission.
46
+ Record the approved scope; stop at its boundary. Execution, registry pushes,
47
+ trigger changes and live delivery require their own explicit authorization.
48
+
49
+ ## Feature-flag boundary
50
+
51
+ When flag state matters, read `feature_flags.provider` from project config.
52
+ For a configured provider, discover its skills and use its read-only state checks;
53
+ never infer a vendor from credentials or installed tools. With provider `none`,
54
+ produce a manual approval step for each flag-dependent gate. Missing or unknown
55
+ configuration is an unresolved prerequisite, never an implicit pass.
56
+ Never create, change, toggle, retire or delete flags, including through delegated
57
+ execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
58
+ `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md`.
59
+ Provider operations belong to the provider's skills; lifecycle handoff conveys
60
+ no authorization to mutate flags. Pipeline progression may use approved observed
61
+ flag state; flag mutations remain outside this component.
62
+
63
+ ## Output template
64
+
65
+ Resolve the #4423 templates by these names:
66
+
67
+ - `cicd-intake-template`
68
+
69
+ Repository and owner; observed baseline; desired outcomes; environments; trust boundaries; provider/flag dependencies; approval owners; open questions; next lifecycle step.
70
+
71
+ ## Example
72
+
73
+ “Start CI/CD intake for my Python service on GitLab” yields an intake draft with runtime, runner and delivery constraints plus questions about release protections. No workflow is installed.
74
+
75
+ ## Artifact handling
76
+
77
+ Before writing project artifacts, run `aiwg artifacts path --json --check-write`.
78
+ Resolve logical `.aiwg/frameworks/cicd-complete/` beneath the returned artifact
79
+ root; stop if unavailable. Keep drafts and reports there. Never write literal
80
+ secrets or raw credential-bearing logs. Resolve templates by name with discovery;
81
+ if a template or capability is absent, record the prerequisite and pending work.
82
+ Do not claim execution from schema validation or a proposed procedure.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -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