agile-context-engineering 0.2.2 → 0.3.0
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/CHANGELOG.md +82 -0
- package/LICENSE +51 -51
- package/README.md +324 -323
- package/agents/ace-research-synthesizer.md +228 -228
- package/agents/ace-technical-application-architect.md +28 -0
- package/agents/ace-wiki-mapper.md +445 -334
- package/agile-context-engineering/src/ace-tools.test.js +1089 -1089
- package/agile-context-engineering/templates/_command.md +53 -53
- package/agile-context-engineering/templates/_workflow.xml +16 -16
- package/agile-context-engineering/templates/product/product-backlog.xml +231 -231
- package/agile-context-engineering/templates/product/story-integration-solution.xml +1 -0
- package/agile-context-engineering/templates/product/story-wiki.xml +4 -0
- package/agile-context-engineering/templates/wiki/coding-standards.xml +38 -0
- package/agile-context-engineering/templates/wiki/decizions.xml +115 -115
- package/agile-context-engineering/templates/wiki/guide.xml +137 -137
- package/agile-context-engineering/templates/wiki/module-discovery.xml +174 -174
- package/agile-context-engineering/templates/wiki/pattern.xml +159 -159
- package/agile-context-engineering/templates/wiki/system-architecture.xml +254 -254
- package/agile-context-engineering/templates/wiki/system-cross-cutting.xml +197 -197
- package/agile-context-engineering/templates/wiki/system.xml +381 -381
- package/agile-context-engineering/templates/wiki/walkthrough.xml +255 -0
- package/agile-context-engineering/templates/wiki/wiki-readme.xml +297 -276
- package/agile-context-engineering/utils/questioning.xml +110 -110
- package/agile-context-engineering/workflows/execute-story.xml +1219 -1145
- package/agile-context-engineering/workflows/help.xml +540 -540
- package/agile-context-engineering/workflows/init-coding-standards.xml +386 -386
- package/agile-context-engineering/workflows/map-story.xml +1046 -797
- package/agile-context-engineering/workflows/map-subsystem.xml +2 -1
- package/agile-context-engineering/workflows/map-walkthrough.xml +457 -0
- package/agile-context-engineering/workflows/plan-feature.xml +1495 -1495
- package/agile-context-engineering/workflows/plan-story.xml +36 -1
- package/agile-context-engineering/workflows/research-integration-solution.xml +1 -0
- package/agile-context-engineering/workflows/research-story-wiki.xml +2 -1
- package/agile-context-engineering/workflows/research-technical-solution.xml +1 -0
- package/agile-context-engineering/workflows/review-story.xml +281 -281
- package/agile-context-engineering/workflows/update.xml +238 -207
- package/bin/install.js +8 -0
- package/commands/ace/execute-story.md +1 -0
- package/commands/ace/help.md +93 -93
- package/commands/ace/init-coding-standards.md +83 -83
- package/commands/ace/map-story.md +165 -156
- package/commands/ace/map-subsystem.md +140 -138
- package/commands/ace/map-system.md +92 -92
- package/commands/ace/map-walkthrough.md +127 -0
- package/commands/ace/plan-feature.md +89 -89
- package/commands/ace/plan-story.md +15 -1
- package/commands/ace/review-story.md +109 -109
- package/commands/ace/update.md +56 -54
- package/hooks/ace-check-update.js +62 -62
- package/hooks/ace-statusline.js +89 -89
- package/package.json +4 -3
package/commands/ace/help.md
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:help
|
|
3
|
-
description: Check project initialization status and suggest next steps
|
|
4
|
-
argument-hint: ""
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- AskUserQuestion
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
```xml
|
|
13
|
-
<command>
|
|
14
|
-
|
|
15
|
-
<execution-time>
|
|
16
|
-
<runs-after>
|
|
17
|
-
<trigger>At any time — to check which ACE documents exist and what to do next</trigger>
|
|
18
|
-
<trigger>At the start of a new project — to see the initialization checklist</trigger>
|
|
19
|
-
</runs-after>
|
|
20
|
-
<use-when>
|
|
21
|
-
<condition>Starting a new project and want to see what needs to be set up</condition>
|
|
22
|
-
<condition>Returning to a project and want to check initialization status</condition>
|
|
23
|
-
<condition>Unsure which ACE command to run next</condition>
|
|
24
|
-
</use-when>
|
|
25
|
-
</execution-time>
|
|
26
|
-
|
|
27
|
-
<input>
|
|
28
|
-
<flags>
|
|
29
|
-
</flags>
|
|
30
|
-
|
|
31
|
-
<parameters>
|
|
32
|
-
<required>
|
|
33
|
-
</required>
|
|
34
|
-
|
|
35
|
-
<optional>
|
|
36
|
-
</optional>
|
|
37
|
-
</parameters>
|
|
38
|
-
</input>
|
|
39
|
-
|
|
40
|
-
<execution-context>
|
|
41
|
-
<help-workflow>@~/.claude/agile-context-engineering/workflows/help.xml</help-workflow>
|
|
42
|
-
<questioning>@~/.claude/agile-context-engineering/utils/questioning.xml</questioning>
|
|
43
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
44
|
-
</execution-context>
|
|
45
|
-
|
|
46
|
-
<output>
|
|
47
|
-
<objective>
|
|
48
|
-
Detect which ACE documents exist (product vision, system architecture, system structure,
|
|
49
|
-
coding standards, testing framework). Display a status dashboard showing what's done
|
|
50
|
-
and what's missing. Suggest the next command to run based on gaps.
|
|
51
|
-
</objective>
|
|
52
|
-
|
|
53
|
-
<artifacts>
|
|
54
|
-
- .ace/settings.json (created on first run if missing)
|
|
55
|
-
</artifacts>
|
|
56
|
-
</output>
|
|
57
|
-
|
|
58
|
-
<process>
|
|
59
|
-
Execute the help workflow from
|
|
60
|
-
`@~/.claude/agile-context-engineering/workflows/help.xml` end-to-end.
|
|
61
|
-
This is a lightweight state-check and routing workflow.
|
|
62
|
-
|
|
63
|
-
CRITICAL MANDATORY STEP — DO NOT SKIP:
|
|
64
|
-
Before displaying the status dashboard, you MUST run:
|
|
65
|
-
```bash
|
|
66
|
-
node ~/.claude/agile-context-engineering/src/ace-tools.js sync-agent-teams --raw
|
|
67
|
-
```
|
|
68
|
-
Then you MUST use `AskUserQuestion` to ask the user whether they want to
|
|
69
|
-
enable or disable Claude Code Agent Teams (experimental feature).
|
|
70
|
-
This step is NOT optional. You MUST present this question every time.
|
|
71
|
-
|
|
72
|
-
When the user chooses to enable or disable Agent Teams, you MUST run the
|
|
73
|
-
bash command — NEVER directly edit .ace/settings.json or .claude/settings.json:
|
|
74
|
-
```bash
|
|
75
|
-
node ~/.claude/agile-context-engineering/src/ace-tools.js write-agent-teams true
|
|
76
|
-
```
|
|
77
|
-
or
|
|
78
|
-
```bash
|
|
79
|
-
node ~/.claude/agile-context-engineering/src/ace-tools.js write-agent-teams false
|
|
80
|
-
```
|
|
81
|
-
The write-agent-teams command updates BOTH .ace/settings.json AND .claude/settings.json.
|
|
82
|
-
Direct file edits will cause the two files to go out of sync.
|
|
83
|
-
</process>
|
|
84
|
-
|
|
85
|
-
<next-steps>
|
|
86
|
-
**Specialized commands for each document:**
|
|
87
|
-
- `/ace:plan-product-vision` — Create or update the product vision
|
|
88
|
-
- `/ace:map-system` — Map codebase structure, architecture, and testing framework
|
|
89
|
-
- `/ace:init-coding-standards` — Generate tailored coding standards
|
|
90
|
-
</next-steps>
|
|
91
|
-
|
|
92
|
-
</command>
|
|
93
|
-
```
|
|
1
|
+
---
|
|
2
|
+
name: ace:help
|
|
3
|
+
description: Check project initialization status and suggest next steps
|
|
4
|
+
argument-hint: ""
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
```xml
|
|
13
|
+
<command>
|
|
14
|
+
|
|
15
|
+
<execution-time>
|
|
16
|
+
<runs-after>
|
|
17
|
+
<trigger>At any time — to check which ACE documents exist and what to do next</trigger>
|
|
18
|
+
<trigger>At the start of a new project — to see the initialization checklist</trigger>
|
|
19
|
+
</runs-after>
|
|
20
|
+
<use-when>
|
|
21
|
+
<condition>Starting a new project and want to see what needs to be set up</condition>
|
|
22
|
+
<condition>Returning to a project and want to check initialization status</condition>
|
|
23
|
+
<condition>Unsure which ACE command to run next</condition>
|
|
24
|
+
</use-when>
|
|
25
|
+
</execution-time>
|
|
26
|
+
|
|
27
|
+
<input>
|
|
28
|
+
<flags>
|
|
29
|
+
</flags>
|
|
30
|
+
|
|
31
|
+
<parameters>
|
|
32
|
+
<required>
|
|
33
|
+
</required>
|
|
34
|
+
|
|
35
|
+
<optional>
|
|
36
|
+
</optional>
|
|
37
|
+
</parameters>
|
|
38
|
+
</input>
|
|
39
|
+
|
|
40
|
+
<execution-context>
|
|
41
|
+
<help-workflow>@~/.claude/agile-context-engineering/workflows/help.xml</help-workflow>
|
|
42
|
+
<questioning>@~/.claude/agile-context-engineering/utils/questioning.xml</questioning>
|
|
43
|
+
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
44
|
+
</execution-context>
|
|
45
|
+
|
|
46
|
+
<output>
|
|
47
|
+
<objective>
|
|
48
|
+
Detect which ACE documents exist (product vision, system architecture, system structure,
|
|
49
|
+
coding standards, testing framework). Display a status dashboard showing what's done
|
|
50
|
+
and what's missing. Suggest the next command to run based on gaps.
|
|
51
|
+
</objective>
|
|
52
|
+
|
|
53
|
+
<artifacts>
|
|
54
|
+
- .ace/settings.json (created on first run if missing)
|
|
55
|
+
</artifacts>
|
|
56
|
+
</output>
|
|
57
|
+
|
|
58
|
+
<process>
|
|
59
|
+
Execute the help workflow from
|
|
60
|
+
`@~/.claude/agile-context-engineering/workflows/help.xml` end-to-end.
|
|
61
|
+
This is a lightweight state-check and routing workflow.
|
|
62
|
+
|
|
63
|
+
CRITICAL MANDATORY STEP — DO NOT SKIP:
|
|
64
|
+
Before displaying the status dashboard, you MUST run:
|
|
65
|
+
```bash
|
|
66
|
+
node ~/.claude/agile-context-engineering/src/ace-tools.js sync-agent-teams --raw
|
|
67
|
+
```
|
|
68
|
+
Then you MUST use `AskUserQuestion` to ask the user whether they want to
|
|
69
|
+
enable or disable Claude Code Agent Teams (experimental feature).
|
|
70
|
+
This step is NOT optional. You MUST present this question every time.
|
|
71
|
+
|
|
72
|
+
When the user chooses to enable or disable Agent Teams, you MUST run the
|
|
73
|
+
bash command — NEVER directly edit .ace/settings.json or .claude/settings.json:
|
|
74
|
+
```bash
|
|
75
|
+
node ~/.claude/agile-context-engineering/src/ace-tools.js write-agent-teams true
|
|
76
|
+
```
|
|
77
|
+
or
|
|
78
|
+
```bash
|
|
79
|
+
node ~/.claude/agile-context-engineering/src/ace-tools.js write-agent-teams false
|
|
80
|
+
```
|
|
81
|
+
The write-agent-teams command updates BOTH .ace/settings.json AND .claude/settings.json.
|
|
82
|
+
Direct file edits will cause the two files to go out of sync.
|
|
83
|
+
</process>
|
|
84
|
+
|
|
85
|
+
<next-steps>
|
|
86
|
+
**Specialized commands for each document:**
|
|
87
|
+
- `/ace:plan-product-vision` — Create or update the product vision
|
|
88
|
+
- `/ace:map-system` — Map codebase structure, architecture, and testing framework
|
|
89
|
+
- `/ace:init-coding-standards` — Generate tailored coding standards
|
|
90
|
+
</next-steps>
|
|
91
|
+
|
|
92
|
+
</command>
|
|
93
|
+
```
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:init-coding-standards
|
|
3
|
-
description: Generate a tailored coding-standards.md through codebase detection and user interview
|
|
4
|
-
argument-hint: "[optional: context='existing standards doc or notes to build on']"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Glob
|
|
9
|
-
- Grep
|
|
10
|
-
- Write
|
|
11
|
-
- Task
|
|
12
|
-
- AskUserQuestion
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
```xml
|
|
16
|
-
<command>
|
|
17
|
-
|
|
18
|
-
<execution-time>
|
|
19
|
-
<runs-after>
|
|
20
|
-
<trigger>During /ace:help — as part of initial project setup</trigger>
|
|
21
|
-
<trigger>After /ace:map-system — once codebase is mapped, add prescriptive standards</trigger>
|
|
22
|
-
<trigger>Anytime — to create or refresh coding standards for a project</trigger>
|
|
23
|
-
</runs-after>
|
|
24
|
-
<use-when>
|
|
25
|
-
<condition>Starting a new project and want to establish coding standards upfront (greenfield or brownfield)</condition>
|
|
26
|
-
<condition>Onboarding AI agents to an existing codebase (prevents common AI mistakes)</condition>
|
|
27
|
-
<condition>Current coding standards are outdated or missing</condition>
|
|
28
|
-
<condition>Team has pain points with AI-generated code quality</condition>
|
|
29
|
-
</use-when>
|
|
30
|
-
</execution-time>
|
|
31
|
-
|
|
32
|
-
<input>
|
|
33
|
-
<flags>
|
|
34
|
-
</flags>
|
|
35
|
-
|
|
36
|
-
<parameters>
|
|
37
|
-
<required>
|
|
38
|
-
</required>
|
|
39
|
-
|
|
40
|
-
<optional>
|
|
41
|
-
<param name="context" type="file | text">
|
|
42
|
-
Existing coding standards document, style guide, or notes
|
|
43
|
-
to use as a starting point. Will be refined through the interview process.
|
|
44
|
-
</param>
|
|
45
|
-
</optional>
|
|
46
|
-
</parameters>
|
|
47
|
-
</input>
|
|
48
|
-
|
|
49
|
-
<execution-context>
|
|
50
|
-
<init-coding-standards-workflow>@~/.claude/agile-context-engineering/workflows/init-coding-standards.xml</init-coding-standards-workflow>
|
|
51
|
-
<coding-standards-template>@~/.claude/agile-context-engineering/templates/wiki/coding-standards.xml</coding-standards-template>
|
|
52
|
-
<questioning>@~/.claude/agile-context-engineering/utils/questioning.xml</questioning>
|
|
53
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
54
|
-
</execution-context>
|
|
55
|
-
|
|
56
|
-
<output>
|
|
57
|
-
<objective>
|
|
58
|
-
Detect the project's language, paradigm, and frameworks (brownfield) or gather
|
|
59
|
-
this from the user (greenfield). Interview the user about their coding philosophy
|
|
60
|
-
and pain points. Generate a tailored, prescriptive coding-standards.md that prevents
|
|
61
|
-
common AI and developer mistakes.
|
|
62
|
-
</objective>
|
|
63
|
-
|
|
64
|
-
<artifacts>
|
|
65
|
-
.docs/wiki/system-wide/coding-standards.md
|
|
66
|
-
</artifacts>
|
|
67
|
-
</output>
|
|
68
|
-
|
|
69
|
-
<process>
|
|
70
|
-
Execute the init-coding-standards workflow from
|
|
71
|
-
`@~/.claude/agile-context-engineering/workflows/init-coding-standards.xml` end-to-end.
|
|
72
|
-
Preserve all workflow gates (validation, approvals, commits).
|
|
73
|
-
</process>
|
|
74
|
-
|
|
75
|
-
<next-steps>
|
|
76
|
-
**After this command:**
|
|
77
|
-
- `/ace:map-system` — Map codebase structure and architecture
|
|
78
|
-
- `/ace:help` — Check project initialization status and next steps
|
|
79
|
-
- Review and edit `.docs/wiki/system-wide/coding-standards.md` anytime
|
|
80
|
-
</next-steps>
|
|
81
|
-
|
|
82
|
-
</command>
|
|
83
|
-
```
|
|
1
|
+
---
|
|
2
|
+
name: ace:init-coding-standards
|
|
3
|
+
description: Generate a tailored coding-standards.md through codebase detection and user interview
|
|
4
|
+
argument-hint: "[optional: context='existing standards doc or notes to build on']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Write
|
|
11
|
+
- Task
|
|
12
|
+
- AskUserQuestion
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
```xml
|
|
16
|
+
<command>
|
|
17
|
+
|
|
18
|
+
<execution-time>
|
|
19
|
+
<runs-after>
|
|
20
|
+
<trigger>During /ace:help — as part of initial project setup</trigger>
|
|
21
|
+
<trigger>After /ace:map-system — once codebase is mapped, add prescriptive standards</trigger>
|
|
22
|
+
<trigger>Anytime — to create or refresh coding standards for a project</trigger>
|
|
23
|
+
</runs-after>
|
|
24
|
+
<use-when>
|
|
25
|
+
<condition>Starting a new project and want to establish coding standards upfront (greenfield or brownfield)</condition>
|
|
26
|
+
<condition>Onboarding AI agents to an existing codebase (prevents common AI mistakes)</condition>
|
|
27
|
+
<condition>Current coding standards are outdated or missing</condition>
|
|
28
|
+
<condition>Team has pain points with AI-generated code quality</condition>
|
|
29
|
+
</use-when>
|
|
30
|
+
</execution-time>
|
|
31
|
+
|
|
32
|
+
<input>
|
|
33
|
+
<flags>
|
|
34
|
+
</flags>
|
|
35
|
+
|
|
36
|
+
<parameters>
|
|
37
|
+
<required>
|
|
38
|
+
</required>
|
|
39
|
+
|
|
40
|
+
<optional>
|
|
41
|
+
<param name="context" type="file | text">
|
|
42
|
+
Existing coding standards document, style guide, or notes
|
|
43
|
+
to use as a starting point. Will be refined through the interview process.
|
|
44
|
+
</param>
|
|
45
|
+
</optional>
|
|
46
|
+
</parameters>
|
|
47
|
+
</input>
|
|
48
|
+
|
|
49
|
+
<execution-context>
|
|
50
|
+
<init-coding-standards-workflow>@~/.claude/agile-context-engineering/workflows/init-coding-standards.xml</init-coding-standards-workflow>
|
|
51
|
+
<coding-standards-template>@~/.claude/agile-context-engineering/templates/wiki/coding-standards.xml</coding-standards-template>
|
|
52
|
+
<questioning>@~/.claude/agile-context-engineering/utils/questioning.xml</questioning>
|
|
53
|
+
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
54
|
+
</execution-context>
|
|
55
|
+
|
|
56
|
+
<output>
|
|
57
|
+
<objective>
|
|
58
|
+
Detect the project's language, paradigm, and frameworks (brownfield) or gather
|
|
59
|
+
this from the user (greenfield). Interview the user about their coding philosophy
|
|
60
|
+
and pain points. Generate a tailored, prescriptive coding-standards.md that prevents
|
|
61
|
+
common AI and developer mistakes.
|
|
62
|
+
</objective>
|
|
63
|
+
|
|
64
|
+
<artifacts>
|
|
65
|
+
.docs/wiki/system-wide/coding-standards.md
|
|
66
|
+
</artifacts>
|
|
67
|
+
</output>
|
|
68
|
+
|
|
69
|
+
<process>
|
|
70
|
+
Execute the init-coding-standards workflow from
|
|
71
|
+
`@~/.claude/agile-context-engineering/workflows/init-coding-standards.xml` end-to-end.
|
|
72
|
+
Preserve all workflow gates (validation, approvals, commits).
|
|
73
|
+
</process>
|
|
74
|
+
|
|
75
|
+
<next-steps>
|
|
76
|
+
**After this command:**
|
|
77
|
+
- `/ace:map-system` — Map codebase structure and architecture
|
|
78
|
+
- `/ace:help` — Check project initialization status and next steps
|
|
79
|
+
- Review and edit `.docs/wiki/system-wide/coding-standards.md` anytime
|
|
80
|
+
</next-steps>
|
|
81
|
+
|
|
82
|
+
</command>
|
|
83
|
+
```
|