agile-context-engineering 0.2.2 → 0.5.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/.claude-plugin/plugin.json +10 -0
- package/CHANGELOG.md +82 -0
- package/README.md +27 -18
- package/agents/ace-product-owner.md +1 -1
- package/agents/ace-technical-application-architect.md +28 -0
- package/agents/ace-wiki-mapper.md +144 -29
- package/bin/install.js +67 -63
- package/hooks/ace-check-update.js +17 -9
- package/package.json +7 -5
- package/shared/lib/ace-core.js +308 -0
- package/shared/lib/ace-core.test.js +308 -0
- package/shared/lib/ace-github.js +753 -0
- package/shared/lib/ace-story.js +400 -0
- package/shared/lib/ace-story.test.js +250 -0
- package/{agile-context-engineering → shared}/utils/ui-formatting.md +299 -299
- package/skills/execute-story/SKILL.md +110 -0
- package/skills/execute-story/script.js +305 -0
- package/skills/execute-story/script.test.js +261 -0
- package/skills/execute-story/walkthrough-template.xml +255 -0
- package/{agile-context-engineering/workflows/execute-story.xml → skills/execute-story/workflow.xml} +83 -9
- package/skills/help/SKILL.md +69 -0
- package/skills/help/script.js +318 -0
- package/skills/help/script.test.js +183 -0
- package/{agile-context-engineering/workflows/help.xml → skills/help/workflow.xml} +8 -8
- package/skills/init-coding-standards/SKILL.md +72 -0
- package/{agile-context-engineering/templates/wiki/coding-standards.xml → skills/init-coding-standards/coding-standards-template.xml} +38 -0
- package/skills/init-coding-standards/script.js +59 -0
- package/skills/init-coding-standards/script.test.js +70 -0
- package/{agile-context-engineering/workflows/init-coding-standards.xml → skills/init-coding-standards/workflow.xml} +4 -9
- package/skills/map-cross-cutting/SKILL.md +89 -0
- package/skills/map-cross-cutting/workflow.xml +330 -0
- package/skills/map-guide/SKILL.md +89 -0
- package/skills/map-guide/workflow.xml +320 -0
- package/skills/map-pattern/SKILL.md +89 -0
- package/skills/map-pattern/workflow.xml +331 -0
- package/skills/map-story/SKILL.md +127 -0
- package/skills/map-story/templates/guide.xml +137 -0
- package/skills/map-story/templates/pattern.xml +159 -0
- package/skills/map-story/templates/system-cross-cutting.xml +197 -0
- package/skills/map-story/templates/walkthrough.xml +255 -0
- package/{agile-context-engineering/workflows/map-story.xml → skills/map-story/workflow.xml} +258 -9
- package/skills/map-subsystem/SKILL.md +111 -0
- package/skills/map-subsystem/script.js +60 -0
- package/skills/map-subsystem/script.test.js +68 -0
- package/skills/map-subsystem/templates/decizions.xml +115 -0
- package/skills/map-subsystem/templates/guide.xml +137 -0
- package/{agile-context-engineering/templates/wiki → skills/map-subsystem/templates}/module-discovery.xml +3 -3
- package/skills/map-subsystem/templates/pattern.xml +159 -0
- package/skills/map-subsystem/templates/system-cross-cutting.xml +197 -0
- package/skills/map-subsystem/templates/system.xml +381 -0
- package/skills/map-subsystem/templates/walkthrough.xml +255 -0
- package/{agile-context-engineering/workflows/map-subsystem.xml → skills/map-subsystem/workflow.xml} +17 -21
- package/skills/map-sys-doc/SKILL.md +90 -0
- package/skills/map-sys-doc/system.xml +381 -0
- package/skills/map-sys-doc/workflow.xml +336 -0
- package/skills/map-system/SKILL.md +85 -0
- package/skills/map-system/script.js +84 -0
- package/skills/map-system/script.test.js +73 -0
- package/skills/map-system/templates/wiki-readme.xml +297 -0
- package/{agile-context-engineering/workflows/map-system.xml → skills/map-system/workflow.xml} +11 -16
- package/skills/map-walkthrough/SKILL.md +92 -0
- package/skills/map-walkthrough/walkthrough.xml +255 -0
- package/skills/map-walkthrough/workflow.xml +457 -0
- package/skills/plan-backlog/SKILL.md +75 -0
- package/skills/plan-backlog/script.js +136 -0
- package/skills/plan-backlog/script.test.js +83 -0
- package/{agile-context-engineering/workflows/plan-backlog.xml → skills/plan-backlog/workflow.xml} +13 -21
- package/skills/plan-feature/SKILL.md +76 -0
- package/skills/plan-feature/script.js +148 -0
- package/skills/plan-feature/script.test.js +80 -0
- package/{agile-context-engineering/workflows/plan-feature.xml → skills/plan-feature/workflow.xml} +21 -29
- package/skills/plan-product-vision/SKILL.md +75 -0
- package/skills/plan-product-vision/script.js +60 -0
- package/skills/plan-product-vision/script.test.js +69 -0
- package/{agile-context-engineering/workflows/plan-product-vision.xml → skills/plan-product-vision/workflow.xml} +4 -9
- package/skills/plan-story/SKILL.md +116 -0
- package/skills/plan-story/script.js +326 -0
- package/skills/plan-story/script.test.js +240 -0
- package/skills/plan-story/story-template.xml +451 -0
- package/{agile-context-engineering/workflows/plan-story.xml → skills/plan-story/workflow.xml} +1285 -909
- package/skills/research-external-solution/SKILL.md +107 -0
- package/skills/research-external-solution/script.js +238 -0
- package/skills/research-external-solution/script.test.js +134 -0
- package/{agile-context-engineering/workflows/research-external-solution.xml → skills/research-external-solution/workflow.xml} +4 -6
- package/skills/research-integration-solution/SKILL.md +98 -0
- package/{agile-context-engineering/templates/product/story-integration-solution.xml → skills/research-integration-solution/integration-solution-template.xml} +1 -0
- package/skills/research-integration-solution/script.js +231 -0
- package/skills/research-integration-solution/script.test.js +134 -0
- package/{agile-context-engineering/workflows/research-integration-solution.xml → skills/research-integration-solution/workflow.xml} +4 -5
- package/skills/research-story-wiki/SKILL.md +92 -0
- package/skills/research-story-wiki/script.js +231 -0
- package/skills/research-story-wiki/script.test.js +138 -0
- package/{agile-context-engineering/templates/product/story-wiki.xml → skills/research-story-wiki/story-wiki-template.xml} +4 -0
- package/{agile-context-engineering/workflows/research-story-wiki.xml → skills/research-story-wiki/workflow.xml} +5 -6
- package/skills/research-technical-solution/SKILL.md +103 -0
- package/skills/research-technical-solution/script.js +231 -0
- package/skills/research-technical-solution/script.test.js +134 -0
- package/{agile-context-engineering/workflows/research-technical-solution.xml → skills/research-technical-solution/workflow.xml} +4 -5
- package/skills/review-story/SKILL.md +100 -0
- package/skills/review-story/script.js +257 -0
- package/skills/review-story/script.test.js +169 -0
- package/skills/review-story/story-template.xml +451 -0
- package/{agile-context-engineering/workflows/review-story.xml → skills/review-story/workflow.xml} +1 -3
- package/skills/update/SKILL.md +53 -0
- package/{agile-context-engineering/workflows/update.xml → skills/update/workflow.xml} +237 -207
- package/agile-context-engineering/src/ace-tools.js +0 -2881
- package/agile-context-engineering/src/ace-tools.test.js +0 -1089
- package/agile-context-engineering/templates/_command.md +0 -54
- package/agile-context-engineering/templates/_workflow.xml +0 -17
- package/agile-context-engineering/templates/config.json +0 -0
- package/agile-context-engineering/templates/product/integration-solution.xml +0 -0
- package/agile-context-engineering/templates/wiki/wiki-readme.xml +0 -276
- package/commands/ace/execute-story.md +0 -137
- package/commands/ace/help.md +0 -93
- package/commands/ace/init-coding-standards.md +0 -83
- package/commands/ace/map-story.md +0 -156
- package/commands/ace/map-subsystem.md +0 -138
- package/commands/ace/map-system.md +0 -92
- package/commands/ace/plan-backlog.md +0 -83
- package/commands/ace/plan-feature.md +0 -89
- package/commands/ace/plan-product-vision.md +0 -81
- package/commands/ace/plan-story.md +0 -145
- package/commands/ace/research-external-solution.md +0 -138
- package/commands/ace/research-integration-solution.md +0 -135
- package/commands/ace/research-story-wiki.md +0 -116
- package/commands/ace/research-technical-solution.md +0 -147
- package/commands/ace/review-story.md +0 -109
- package/commands/ace/update.md +0 -54
- /package/{agile-context-engineering → shared}/utils/questioning.xml +0 -0
- /package/{agile-context-engineering/templates/product/story.xml → skills/execute-story/story-template.xml} +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-cross-cutting}/system-cross-cutting.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-guide}/guide.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-pattern}/pattern.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-story/templates}/decizions.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-story/templates}/system.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-story/templates}/tech-debt-index.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-subsystem/templates}/subsystem-architecture.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-subsystem/templates}/subsystem-structure.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-system/templates}/system-architecture.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-system/templates}/system-structure.xml +0 -0
- /package/{agile-context-engineering/templates/wiki → skills/map-system/templates}/testing-framework.xml +0 -0
- /package/{agile-context-engineering/templates/product/product-backlog.xml → skills/plan-backlog/product-backlog-template.xml} +0 -0
- /package/{agile-context-engineering/templates/product/feature.xml → skills/plan-feature/feature-template.xml} +0 -0
- /package/{agile-context-engineering/templates/product/product-vision.xml → skills/plan-product-vision/product-vision-template.xml} +0 -0
- /package/{agile-context-engineering/templates/product/external-solution.xml → skills/research-external-solution/external-solution-template.xml} +0 -0
- /package/{agile-context-engineering/templates/product/story-technical-solution.xml → skills/research-technical-solution/technical-solution-template.xml} +0 -0
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:plan-story
|
|
3
|
-
description: Plan a story through deep questioning to create CRYSTAL-CLEAR acceptance criteria with ZERO assumptions, then dispatch wiki research, external analysis, integration analysis, and technical solution design
|
|
4
|
-
argument-hint: "story=<file-path|github-url> [external-codebase=<source-path|github-url>] [external-docs=<weblink|filepath>]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- Edit
|
|
10
|
-
- AskUserQuestion
|
|
11
|
-
- Glob
|
|
12
|
-
- Grep
|
|
13
|
-
- Agent
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
```xml
|
|
17
|
-
<command>
|
|
18
|
-
|
|
19
|
-
<execution-time>
|
|
20
|
-
<runs-after>
|
|
21
|
-
<trigger>After /ace:plan-feature — once a feature's story breakdown exists with stub story files</trigger>
|
|
22
|
-
<trigger>Anytime — to create or refine a story specification from a description or GitHub issue</trigger>
|
|
23
|
-
</runs-after>
|
|
24
|
-
<use-when>
|
|
25
|
-
<condition>A story stub exists (from plan-feature) and needs formal specification</condition>
|
|
26
|
-
<condition>A GitHub issue describes work that needs INVEST-compliant acceptance criteria</condition>
|
|
27
|
-
<condition>An existing story needs refinement — scope changed, AC gaps found</condition>
|
|
28
|
-
<condition>You want to create a complete story specification from any text description</condition>
|
|
29
|
-
</use-when>
|
|
30
|
-
</execution-time>
|
|
31
|
-
|
|
32
|
-
<input>
|
|
33
|
-
<flags>
|
|
34
|
-
</flags>
|
|
35
|
-
|
|
36
|
-
<parameters>
|
|
37
|
-
<required>
|
|
38
|
-
<param name="story" type="file | github-url">
|
|
39
|
-
Story source — can be either:
|
|
40
|
-
- **File path**: Path to a markdown file containing the story seed
|
|
41
|
-
(typically a stub from plan-feature, or any markdown with a description)
|
|
42
|
-
- **GitHub URL or issue number**: GitHub story reference
|
|
43
|
-
Must be a valid, accessible file or GitHub issue.
|
|
44
|
-
Contains the story description that will be refined through deep questioning.
|
|
45
|
-
If not valid, stop and prompt the user.
|
|
46
|
-
</param>
|
|
47
|
-
</required>
|
|
48
|
-
|
|
49
|
-
<optional>
|
|
50
|
-
<param name="external-codebase" type="filepath | github-url">
|
|
51
|
-
Path or GitHub repo to an external industry-standard system to analyze.
|
|
52
|
-
When provided, pass 3 (external analysis) runs automatically.
|
|
53
|
-
When NOT provided, the user is offered the option to provide it or skip.
|
|
54
|
-
</param>
|
|
55
|
-
<param name="external-docs" type="weblink | filepath">
|
|
56
|
-
Link or path to external system documentation.
|
|
57
|
-
Only used when external-codebase is also provided.
|
|
58
|
-
Provides supplementary context for external analysis.
|
|
59
|
-
</param>
|
|
60
|
-
</optional>
|
|
61
|
-
</parameters>
|
|
62
|
-
</input>
|
|
63
|
-
|
|
64
|
-
<execution-context>
|
|
65
|
-
<plan-story-workflow>@~/.claude/agile-context-engineering/workflows/plan-story.xml</plan-story-workflow>
|
|
66
|
-
<story-template>@~/.claude/agile-context-engineering/templates/product/story.xml</story-template>
|
|
67
|
-
<questioning>@~/.claude/agile-context-engineering/utils/questioning.xml</questioning>
|
|
68
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
69
|
-
</execution-context>
|
|
70
|
-
|
|
71
|
-
<output>
|
|
72
|
-
<objective>
|
|
73
|
-
Take a story seed (stub file, GitHub issue, or any text description) and produce
|
|
74
|
-
a COMPLETE story specification through deep questioning that ensures:
|
|
75
|
-
- ZERO ASSUMPTIONS — every behavior is explicitly specified
|
|
76
|
-
- CRYSTAL-CLEAR acceptance criteria with exact triggers, preconditions, outcomes
|
|
77
|
-
- INVEST compliance — Independent, Negotiable, Valuable, Estimable, Small, Testable
|
|
78
|
-
- Gherkin scenarios cover happy paths, edge cases, AND error paths
|
|
79
|
-
|
|
80
|
-
After story requirements are defined (pass 1), dispatch research passes 2-5
|
|
81
|
-
as background agents:
|
|
82
|
-
- Pass 2: Wiki research (updates story file with Relevant Wiki section)
|
|
83
|
-
- Pass 3: External analysis (OPTIONAL — creates external-analysis.md)
|
|
84
|
-
- Pass 4: Integration analysis (creates integration-analysis.md)
|
|
85
|
-
- Pass 5: Technical solution (appends to story file)
|
|
86
|
-
|
|
87
|
-
Each research pass writes directly to disk. The orchestrator context window
|
|
88
|
-
contains ONLY story requirements — research outputs do NOT flow back.
|
|
89
|
-
</objective>
|
|
90
|
-
|
|
91
|
-
<artifacts>
|
|
92
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/<id-story_name>.md
|
|
93
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/external-analysis.md (OPTIONAL)
|
|
94
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/integration-analysis.md
|
|
95
|
-
</artifacts>
|
|
96
|
-
</output>
|
|
97
|
-
|
|
98
|
-
<process>
|
|
99
|
-
For this command use the `ace-product-owner` agent
|
|
100
|
-
that's specialized in requirements gathering, deep questioning, and story specification.
|
|
101
|
-
|
|
102
|
-
Execute the plan-story workflow from
|
|
103
|
-
`@~/.claude/agile-context-engineering/workflows/plan-story.xml` end-to-end.
|
|
104
|
-
Preserve all workflow gates (validation, approvals, commits).
|
|
105
|
-
|
|
106
|
-
**CRITICAL — Context Window Protection:**
|
|
107
|
-
Passes 2-5 run as background agents. Each agent writes output directly to files.
|
|
108
|
-
The orchestrator MUST NOT call TaskOutput on any background agent.
|
|
109
|
-
The orchestrator only needs to know when each pass finishes to start the next one.
|
|
110
|
-
|
|
111
|
-
**Pass execution order:**
|
|
112
|
-
Pass 2 + Pass 3 (if applicable) → wait → Pass 4 → wait → Pass 5 → wait → done
|
|
113
|
-
</process>
|
|
114
|
-
|
|
115
|
-
<example-usage>
|
|
116
|
-
```
|
|
117
|
-
# From a plan-feature stub file
|
|
118
|
-
/ace:plan-story \
|
|
119
|
-
story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md
|
|
120
|
-
|
|
121
|
-
# From a GitHub issue
|
|
122
|
-
/ace:plan-story \
|
|
123
|
-
story=https://github.com/owner/repo/issues/95
|
|
124
|
-
|
|
125
|
-
# With external system analysis
|
|
126
|
-
/ace:plan-story \
|
|
127
|
-
story=.ace/artifacts/product/e1-charts/f2-rendering/s3-canvas/s3-canvas.md \
|
|
128
|
-
external-codebase=src/external/lightweight-charts/ \
|
|
129
|
-
external-docs=https://tradingview.github.io/lightweight-charts/
|
|
130
|
-
|
|
131
|
-
# With just an issue number (uses configured repo)
|
|
132
|
-
/ace:plan-story story=#95
|
|
133
|
-
```
|
|
134
|
-
</example-usage>
|
|
135
|
-
|
|
136
|
-
<next-steps>
|
|
137
|
-
**After this command:**
|
|
138
|
-
- `/ace:execute-story story=...` — Execute the story implementation
|
|
139
|
-
- `/ace:plan-story story=...` — Plan the next story in the feature
|
|
140
|
-
- `/ace:verify-story story=...` — Verify a completed story
|
|
141
|
-
- `/ace:help` — Check project initialization status
|
|
142
|
-
</next-steps>
|
|
143
|
-
|
|
144
|
-
</command>
|
|
145
|
-
```
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:research-external-solution
|
|
3
|
-
description: COMPREHENSIVE, IN-DEPTH, CODE-LEVEL Analysis of User Story Implementation in External Repository
|
|
4
|
-
argument-hint: "story=<file-path|github-url> external-codebase=<source-path|github-url> [external-docs=<weblink|filepath>]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- AskUserQuestion
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
- WebFetch
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
```xml
|
|
16
|
-
<command>
|
|
17
|
-
|
|
18
|
-
<execution-time>
|
|
19
|
-
<runs-after>
|
|
20
|
-
<trigger>After /ace:plan-story — once story requirements (pass 1-2) are complete</trigger>
|
|
21
|
-
<trigger>Anytime — when a story references an external system or reference implementation</trigger>
|
|
22
|
-
</runs-after>
|
|
23
|
-
<use-when>
|
|
24
|
-
<condition>Story or feature references an external codebase to learn from</condition>
|
|
25
|
-
<condition>Need to understand how an industry-standard system implements specific functionality</condition>
|
|
26
|
-
<condition>Want to extract algorithms, patterns, and implementation details from reference code</condition>
|
|
27
|
-
</use-when>
|
|
28
|
-
</execution-time>
|
|
29
|
-
|
|
30
|
-
<input>
|
|
31
|
-
<flags>
|
|
32
|
-
</flags>
|
|
33
|
-
|
|
34
|
-
<parameters>
|
|
35
|
-
<required>
|
|
36
|
-
<param name="story" type="file | github-url">
|
|
37
|
-
Story source — can be either:
|
|
38
|
-
- **File path**: Path to a markdown file containing the story (from plan-story command)
|
|
39
|
-
- **GitHub URL or issue number**: GitHub story reference
|
|
40
|
-
Must be a valid, accessible file or GitHub issue.
|
|
41
|
-
Contains the user story and acceptance criteria that define what to analyze.
|
|
42
|
-
**Requirements for the analysis are extracted from this story.**
|
|
43
|
-
If not valid, stop and prompt the user.
|
|
44
|
-
</param>
|
|
45
|
-
<param name="external-codebase" type="filepath | github-url">
|
|
46
|
-
Path or GitHub repo to the external industry-standard system to analyze.
|
|
47
|
-
- If local path: Confirm folder exists and contains source code
|
|
48
|
-
- If GitHub URL: Verify repository accessibility
|
|
49
|
-
The external repository to analyze for implementation patterns,
|
|
50
|
-
algorithms, formulas, and architectural decisions.
|
|
51
|
-
If not valid, stop and prompt the user.
|
|
52
|
-
</param>
|
|
53
|
-
</required>
|
|
54
|
-
|
|
55
|
-
<optional>
|
|
56
|
-
<param name="external-docs" type="weblink | filepath">
|
|
57
|
-
Link or path to external industry-standard system documentation.
|
|
58
|
-
Provides supplementary context when available.
|
|
59
|
-
- If weblink: Verify URL is accessible
|
|
60
|
-
- If filepath: Verify file exists and is readable
|
|
61
|
-
**PREFER using context7 MCP server** when installed — it provides
|
|
62
|
-
up-to-date library documentation automatically. Use context7 whenever
|
|
63
|
-
the external system is a known library/framework.
|
|
64
|
-
</param>
|
|
65
|
-
</optional>
|
|
66
|
-
</parameters>
|
|
67
|
-
</input>
|
|
68
|
-
|
|
69
|
-
<execution-context>
|
|
70
|
-
<research-external-workflow>@~/.claude/agile-context-engineering/workflows/research-external-solution.xml</research-external-workflow>
|
|
71
|
-
<external-solution-template>@~/.claude/agile-context-engineering/templates/product/external-solution.xml</external-solution-template>
|
|
72
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
73
|
-
</execution-context>
|
|
74
|
-
|
|
75
|
-
<output>
|
|
76
|
-
<objective>
|
|
77
|
-
Perform a COMPREHENSIVE, IN-DEPTH, CODE-LEVEL ANALYSIS of how a specific
|
|
78
|
-
story's functionality is implemented in an external reference system.
|
|
79
|
-
This is NOT a high-level overview — it's a DEEP DIVE into:
|
|
80
|
-
- EXACT code implementations with line-by-line analysis
|
|
81
|
-
- COMPLETE algorithms and formulas extracted verbatim from code
|
|
82
|
-
- ALL design patterns with actual code examples
|
|
83
|
-
- EVERY file, function, and constant involved in the story
|
|
84
|
-
- FULL execution paths traced 5+ levels deep minimum
|
|
85
|
-
|
|
86
|
-
The analysis ensures our implementation:
|
|
87
|
-
- Follows established patterns and best practices (with code proof)
|
|
88
|
-
- Uses exact algorithms and formulas (copied from their code)
|
|
89
|
-
- Maintains compatibility with industry standards (matching their APIs)
|
|
90
|
-
|
|
91
|
-
All output is written ONLY to the analysis file — no GitHub updates,
|
|
92
|
-
no modifications to the story file. This artifact is consumed by
|
|
93
|
-
pass 5 (technical solution) of the story specification pipeline.
|
|
94
|
-
</objective>
|
|
95
|
-
|
|
96
|
-
<artifacts>
|
|
97
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/external-analysis.md
|
|
98
|
-
</artifacts>
|
|
99
|
-
</output>
|
|
100
|
-
|
|
101
|
-
<process>
|
|
102
|
-
For this command use the `ace-code-discovery-analyst` agent
|
|
103
|
-
that's specialized in code discovery.
|
|
104
|
-
|
|
105
|
-
Execute the research-external-solution workflow from
|
|
106
|
-
`@~/.claude/agile-context-engineering/workflows/research-external-solution.xml` end-to-end.
|
|
107
|
-
Preserve all workflow gates (validation, approvals, commits).
|
|
108
|
-
</process>
|
|
109
|
-
|
|
110
|
-
<example-usage>
|
|
111
|
-
```
|
|
112
|
-
# Example with file path story and GitHub external repo
|
|
113
|
-
/ace:research-external-solution \
|
|
114
|
-
story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md \
|
|
115
|
-
external-codebase=https://github.com/tradingview/lightweight-charts \
|
|
116
|
-
external-docs=https://tradingview.github.io/lightweight-charts/
|
|
117
|
-
|
|
118
|
-
# Example with GitHub story and local external repo
|
|
119
|
-
/ace:research-external-solution \
|
|
120
|
-
story=https://github.com/owner/repo/issues/83 \
|
|
121
|
-
external-codebase=src/external/lightweight-charts/
|
|
122
|
-
|
|
123
|
-
# Example with context7 (no external-docs needed)
|
|
124
|
-
/ace:research-external-solution \
|
|
125
|
-
story=.ace/artifacts/product/e1-charts/f2-rendering/s3-canvas/s3-canvas.md \
|
|
126
|
-
external-codebase=https://github.com/tradingview/lightweight-charts
|
|
127
|
-
```
|
|
128
|
-
</example-usage>
|
|
129
|
-
|
|
130
|
-
<next-steps>
|
|
131
|
-
**After this command:**
|
|
132
|
-
- Continue with story refinement — integration analysis (pass 4) and technical solution (pass 5)
|
|
133
|
-
- `/ace:research-external-solution story=... external-codebase=...` — Analyze another story
|
|
134
|
-
- `/ace:help` — Check project initialization status
|
|
135
|
-
</next-steps>
|
|
136
|
-
|
|
137
|
-
</command>
|
|
138
|
-
```
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:research-integration-solution
|
|
3
|
-
description: COMPREHENSIVE, IN-DEPTH System Integration Analysis for Integrating a New Story into the Existing Codebase
|
|
4
|
-
argument-hint: "story=<file-path|github-url>"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- AskUserQuestion
|
|
10
|
-
- Glob
|
|
11
|
-
- Grep
|
|
12
|
-
- Agent
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
```xml
|
|
16
|
-
<command>
|
|
17
|
-
|
|
18
|
-
<execution-time>
|
|
19
|
-
<runs-after>
|
|
20
|
-
<trigger>After /ace:plan-story — once story requirements (pass 1-2) are complete</trigger>
|
|
21
|
-
<trigger>After /ace:research-external-solution — if external analysis was performed (pass 3)</trigger>
|
|
22
|
-
<trigger>Anytime — when you need to understand how a story integrates with the existing codebase</trigger>
|
|
23
|
-
</runs-after>
|
|
24
|
-
<use-when>
|
|
25
|
-
<condition>Story requirements and wiki references are available (passes 1-2 complete)</condition>
|
|
26
|
-
<condition>Need to understand how new functionality integrates with existing codebase</condition>
|
|
27
|
-
<condition>Want to identify refactoring needs, integration points, and hardcoded values to replace</condition>
|
|
28
|
-
<condition>Need a comprehensive analysis to guide AI agents implementing the story</condition>
|
|
29
|
-
</use-when>
|
|
30
|
-
</execution-time>
|
|
31
|
-
|
|
32
|
-
<input>
|
|
33
|
-
<flags>
|
|
34
|
-
</flags>
|
|
35
|
-
|
|
36
|
-
<parameters>
|
|
37
|
-
<required>
|
|
38
|
-
<param name="story" type="file | github-url">
|
|
39
|
-
Story source — can be either:
|
|
40
|
-
- **File path**: Path to a markdown file containing the story (from plan-story command)
|
|
41
|
-
- **GitHub URL or issue number**: GitHub story reference
|
|
42
|
-
Must be a valid, accessible file or GitHub issue.
|
|
43
|
-
Contains the user story, acceptance criteria, and Relevant Wiki references
|
|
44
|
-
that define what to analyze and which wiki docs to load.
|
|
45
|
-
**Requirements and wiki references are extracted from this story.**
|
|
46
|
-
If not valid, stop and prompt the user.
|
|
47
|
-
</param>
|
|
48
|
-
</required>
|
|
49
|
-
|
|
50
|
-
<optional>
|
|
51
|
-
<!-- No optional parameters.
|
|
52
|
-
All context is extracted from the story document:
|
|
53
|
-
- Feature file (from story description/metadata)
|
|
54
|
-
- Story requirements (User Story, Description, AC)
|
|
55
|
-
- Wiki references (from Relevant Wiki section — pass 2)
|
|
56
|
-
- External analysis (auto-detected in story directory)
|
|
57
|
-
-->
|
|
58
|
-
</optional>
|
|
59
|
-
</parameters>
|
|
60
|
-
</input>
|
|
61
|
-
|
|
62
|
-
<execution-context>
|
|
63
|
-
<research-integration-workflow>@~/.claude/agile-context-engineering/workflows/research-integration-solution.xml</research-integration-workflow>
|
|
64
|
-
<integration-solution-template>@~/.claude/agile-context-engineering/templates/product/story-integration-solution.xml</integration-solution-template>
|
|
65
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
66
|
-
</execution-context>
|
|
67
|
-
|
|
68
|
-
<output>
|
|
69
|
-
<objective>
|
|
70
|
-
Perform a COMPREHENSIVE, IN-DEPTH System Integration Analysis that ensures new
|
|
71
|
-
story implementations integrate seamlessly with existing systems without breaking
|
|
72
|
-
functionality or violating architectural principles.
|
|
73
|
-
|
|
74
|
-
**[MANDATORY]** Identify how a new story would PROPERLY integrate with the existing
|
|
75
|
-
codebase while maintaining architectural integrity, maintainability, and extensibility
|
|
76
|
-
while strictly following CODING STANDARDS.
|
|
77
|
-
|
|
78
|
-
You are operating within a PRODUCTION-GRADE, CLEAN, COMPLEX CODEBASE — new code
|
|
79
|
-
must be added thoughtfully and systematically. The purpose is to analyze HOW TO ADD
|
|
80
|
-
NEW FUNCTIONALITY WHILE KEEPING THE CODE MAINTAINABLE AND EXTENSIBLE.
|
|
81
|
-
|
|
82
|
-
The analysis covers:
|
|
83
|
-
- Architecture compatibility with Clean Architecture layers
|
|
84
|
-
- Existing patterns to follow (with specific file references)
|
|
85
|
-
- Required refactoring (with justification)
|
|
86
|
-
- CRITICAL: Hardcoded values and placeholder code that MUST be replaced
|
|
87
|
-
- Integration points across all architectural layers
|
|
88
|
-
- Impact analysis on existing code flows
|
|
89
|
-
- Implementation guidelines and testing strategy
|
|
90
|
-
- Complete AI implementation context for the executing agent
|
|
91
|
-
|
|
92
|
-
All output is written ONLY to the analysis file — no GitHub updates,
|
|
93
|
-
no modifications to the story file. This artifact is consumed by
|
|
94
|
-
pass 5 (technical solution) of the story specification pipeline.
|
|
95
|
-
</objective>
|
|
96
|
-
|
|
97
|
-
<artifacts>
|
|
98
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/integration-analysis.md
|
|
99
|
-
</artifacts>
|
|
100
|
-
</output>
|
|
101
|
-
|
|
102
|
-
<process>
|
|
103
|
-
For this command use the `ace-code-integration-analyst` agent
|
|
104
|
-
that's specialized in code integration.
|
|
105
|
-
|
|
106
|
-
Execute the research-integration-solution workflow from
|
|
107
|
-
`@~/.claude/agile-context-engineering/workflows/research-integration-solution.xml` end-to-end.
|
|
108
|
-
Preserve all workflow gates (validation, approvals, commits).
|
|
109
|
-
</process>
|
|
110
|
-
|
|
111
|
-
<example-usage>
|
|
112
|
-
```
|
|
113
|
-
# Example with file path story
|
|
114
|
-
/ace:research-integration-solution \
|
|
115
|
-
story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md
|
|
116
|
-
|
|
117
|
-
# Example with GitHub story
|
|
118
|
-
/ace:research-integration-solution \
|
|
119
|
-
story=https://github.com/owner/repo/issues/83
|
|
120
|
-
|
|
121
|
-
# Example with just issue number (uses current repo)
|
|
122
|
-
/ace:research-integration-solution \
|
|
123
|
-
story=83
|
|
124
|
-
```
|
|
125
|
-
</example-usage>
|
|
126
|
-
|
|
127
|
-
<next-steps>
|
|
128
|
-
**After this command:**
|
|
129
|
-
- Continue with story refinement — technical solution (pass 5)
|
|
130
|
-
- `/ace:research-integration-solution story=...` — Analyze another story
|
|
131
|
-
- `/ace:help` — Check project initialization status
|
|
132
|
-
</next-steps>
|
|
133
|
-
|
|
134
|
-
</command>
|
|
135
|
-
```
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ace:research-story-wiki
|
|
3
|
-
description: Research and curate wiki references relevant to a story's technical solution
|
|
4
|
-
argument-hint: "story=<file-path|github-url>"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- Edit
|
|
10
|
-
- AskUserQuestion
|
|
11
|
-
- Glob
|
|
12
|
-
- Grep
|
|
13
|
-
- Agent
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
```xml
|
|
17
|
-
<command>
|
|
18
|
-
|
|
19
|
-
<execution-time>
|
|
20
|
-
<runs-after>
|
|
21
|
-
<trigger>After /ace:plan-story pass 1 — once story business requirements (sections 1-8) are complete</trigger>
|
|
22
|
-
<trigger>Anytime — when a story needs its Relevant Wiki section populated or refreshed</trigger>
|
|
23
|
-
</runs-after>
|
|
24
|
-
<use-when>
|
|
25
|
-
<condition>Story has sections 1-8 complete but no Relevant Wiki section</condition>
|
|
26
|
-
<condition>Story scope changed and wiki references need re-evaluation</condition>
|
|
27
|
-
<condition>Called as part of /ace:plan-story pipeline (pass 2)</condition>
|
|
28
|
-
</use-when>
|
|
29
|
-
</execution-time>
|
|
30
|
-
|
|
31
|
-
<input>
|
|
32
|
-
<flags>
|
|
33
|
-
</flags>
|
|
34
|
-
|
|
35
|
-
<parameters>
|
|
36
|
-
<required>
|
|
37
|
-
<param name="story" type="file | github-url">
|
|
38
|
-
Story source — can be either:
|
|
39
|
-
- **File path**: Path to a markdown file containing the story (from plan-story command)
|
|
40
|
-
- **GitHub URL or issue number**: GitHub story reference
|
|
41
|
-
Must be a valid, accessible file or GitHub issue.
|
|
42
|
-
Contains the user story, description, and acceptance criteria.
|
|
43
|
-
**The story's requirements define which wiki docs are relevant.**
|
|
44
|
-
If not valid, stop and prompt the user.
|
|
45
|
-
</param>
|
|
46
|
-
</required>
|
|
47
|
-
</parameters>
|
|
48
|
-
</input>
|
|
49
|
-
|
|
50
|
-
<execution-context>
|
|
51
|
-
<research-story-wiki-workflow>@~/.claude/agile-context-engineering/workflows/research-story-wiki.xml</research-story-wiki-workflow>
|
|
52
|
-
<story-wiki-template>@~/.claude/agile-context-engineering/templates/product/story-wiki.xml</story-wiki-template>
|
|
53
|
-
<ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
|
|
54
|
-
</execution-context>
|
|
55
|
-
|
|
56
|
-
<output>
|
|
57
|
-
<objective>
|
|
58
|
-
Research the project's engineering wiki to identify documents that are
|
|
59
|
-
directly relevant to implementing this story. The output is a curated
|
|
60
|
-
`## Relevant Wiki` section that gets written into the story file
|
|
61
|
-
(and GitHub issue if applicable).
|
|
62
|
-
|
|
63
|
-
This section serves as the implementation context index — when an agent
|
|
64
|
-
starts implementing this story, it loads every document listed here.
|
|
65
|
-
|
|
66
|
-
The research process:
|
|
67
|
-
1. ALWAYS curates the four system-wide docs with story-specific reasons
|
|
68
|
-
2. Identifies affected subsystems from story content and feature context
|
|
69
|
-
3. Spawns parallel ace-wiki-mapper agents to scan subsystem wiki docs
|
|
70
|
-
4. Compiles a categorized, deduplicated list of relevant references
|
|
71
|
-
|
|
72
|
-
All output is written to the story file — populating the Relevant Wiki
|
|
73
|
-
section placeholder left by pass 1.
|
|
74
|
-
</objective>
|
|
75
|
-
|
|
76
|
-
<artifacts>
|
|
77
|
-
Modifies in-place: the story file at
|
|
78
|
-
.ace/artifacts/product/<id-epic_name>/<id-feature_name>/<id-story_name>/<id-story_name>.md
|
|
79
|
-
(adds/replaces the ## Relevant Wiki section)
|
|
80
|
-
</artifacts>
|
|
81
|
-
</output>
|
|
82
|
-
|
|
83
|
-
<process>
|
|
84
|
-
For this command use the `ace-wiki-mapper` agent
|
|
85
|
-
that's specialized in wiki exploration and curation.
|
|
86
|
-
|
|
87
|
-
Execute the research-story-wiki workflow from
|
|
88
|
-
`@~/.claude/agile-context-engineering/workflows/research-story-wiki.xml` end-to-end.
|
|
89
|
-
Preserve all workflow gates (validation, approvals, commits).
|
|
90
|
-
</process>
|
|
91
|
-
|
|
92
|
-
<example-usage>
|
|
93
|
-
```
|
|
94
|
-
# Example with file path story
|
|
95
|
-
/ace:research-story-wiki \
|
|
96
|
-
story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md
|
|
97
|
-
|
|
98
|
-
# Example with GitHub issue number
|
|
99
|
-
/ace:research-story-wiki story=#95
|
|
100
|
-
|
|
101
|
-
# Example with full GitHub URL
|
|
102
|
-
/ace:research-story-wiki \
|
|
103
|
-
story=https://github.com/owner/repo/issues/95
|
|
104
|
-
```
|
|
105
|
-
</example-usage>
|
|
106
|
-
|
|
107
|
-
<next-steps>
|
|
108
|
-
**After this command:**
|
|
109
|
-
- Continue with story refinement — external analysis (pass 3) or technical solution (pass 5)
|
|
110
|
-
- `/ace:research-external-solution story=... external-codebase=...` — Analyze external reference systems
|
|
111
|
-
- `/ace:plan-story story=...` — Continue the full story pipeline
|
|
112
|
-
- `/ace:help` — Check project initialization status
|
|
113
|
-
</next-steps>
|
|
114
|
-
|
|
115
|
-
</command>
|
|
116
|
-
```
|