@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.
- package/package.json +141 -1
- 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-regenerate-claude/SKILL.md +1 -1
- 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 +4 -1
- package/skills/architecture-evolution/SKILL.md +4 -0
- package/skills/build-poc/SKILL.md +1 -1
- package/skills/ci-assess/SKILL.md +84 -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 +89 -0
- package/skills/ci-pipeline-audit/SKILL.md.d.ts +3 -0
- package/skills/ci-pipeline-design/SKILL.md +99 -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 +92 -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/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 +4 -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 +4 -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 +5 -1
- package/skills/flow-test-strategy-execution/references/delegation.md +23 -0
- package/skills/gate-evaluation/SKILL.md +1 -1
- package/skills/intake-from-codebase/SKILL.md +5 -1
- package/skills/intake-start/SKILL.md +5 -1
- package/skills/intake-wizard/SKILL.md +5 -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-project/SKILL.md +1 -1
- package/skills/prefill-cards/SKILL.md +1 -1
- package/skills/project-status/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 +6 -1
- package/skills/tdd-enforce/SKILL.md +1 -1
- package/skills/workspace-health/SKILL.md +1 -1
- package/skills/workspace-reset/SKILL.md +1 -1
- package/specialists.d.ts +2 -0
- package/specialists.js +2 -0
|
@@ -2,152 +2,20 @@
|
|
|
2
2
|
namespace: aiwg
|
|
3
3
|
name: devkit-create-command
|
|
4
4
|
platforms: [flue]
|
|
5
|
-
description: Create a
|
|
5
|
+
description: Alias of add-command — Create a command inside an addon or framework.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
@@ -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
|