agile-context-engineering 0.5.0 → 0.5.1

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 (102) hide show
  1. package/.claude-plugin/marketplace.json +18 -0
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +7 -1
  4. package/README.md +16 -12
  5. package/agents/ace-code-discovery-analyst.md +245 -245
  6. package/agents/ace-code-integration-analyst.md +248 -248
  7. package/agents/ace-code-reviewer.md +375 -375
  8. package/agents/ace-product-owner.md +365 -361
  9. package/agents/ace-project-researcher.md +606 -606
  10. package/agents/ace-technical-application-architect.md +315 -315
  11. package/bin/install.js +587 -173
  12. package/hooks/ace-check-update.js +15 -14
  13. package/hooks/ace-statusline.js +30 -12
  14. package/hooks/hooks.json +14 -0
  15. package/package.json +3 -2
  16. package/shared/lib/ace-core.js +53 -0
  17. package/shared/lib/ace-core.test.js +308 -308
  18. package/shared/lib/ace-story.test.js +250 -250
  19. package/skills/execute-story/SKILL.md +116 -110
  20. package/skills/execute-story/script.js +13 -27
  21. package/skills/execute-story/script.test.js +261 -261
  22. package/skills/execute-story/story-template.xml +451 -451
  23. package/skills/execute-story/workflow.xml +3 -1
  24. package/skills/help/SKILL.md +71 -69
  25. package/skills/help/script.js +32 -35
  26. package/skills/help/script.test.js +183 -183
  27. package/skills/help/workflow.xml +14 -3
  28. package/skills/init-coding-standards/SKILL.md +91 -72
  29. package/skills/init-coding-standards/coding-standards-template.xml +531 -531
  30. package/skills/init-coding-standards/script.js +50 -59
  31. package/skills/init-coding-standards/script.test.js +70 -70
  32. package/skills/init-coding-standards/workflow.xml +1 -1
  33. package/skills/map-cross-cutting/SKILL.md +126 -89
  34. package/skills/map-cross-cutting/workflow.xml +1 -1
  35. package/skills/map-guide/SKILL.md +126 -89
  36. package/skills/map-guide/workflow.xml +1 -1
  37. package/skills/map-pattern/SKILL.md +125 -89
  38. package/skills/map-pattern/workflow.xml +1 -1
  39. package/skills/map-story/SKILL.md +180 -127
  40. package/skills/map-story/templates/tech-debt-index.xml +125 -125
  41. package/skills/map-story/workflow.xml +2 -2
  42. package/skills/map-subsystem/SKILL.md +155 -111
  43. package/skills/map-subsystem/script.js +51 -60
  44. package/skills/map-subsystem/script.test.js +68 -68
  45. package/skills/map-subsystem/templates/subsystem-architecture.xml +343 -343
  46. package/skills/map-subsystem/templates/subsystem-structure.xml +234 -234
  47. package/skills/map-subsystem/workflow.xml +1173 -1173
  48. package/skills/map-sys-doc/SKILL.md +125 -90
  49. package/skills/map-sys-doc/workflow.xml +1 -1
  50. package/skills/map-system/SKILL.md +103 -85
  51. package/skills/map-system/script.js +75 -84
  52. package/skills/map-system/script.test.js +73 -73
  53. package/skills/map-system/templates/system-structure.xml +177 -177
  54. package/skills/map-system/templates/testing-framework.xml +283 -283
  55. package/skills/map-system/workflow.xml +667 -667
  56. package/skills/map-walkthrough/SKILL.md +140 -92
  57. package/skills/map-walkthrough/workflow.xml +457 -457
  58. package/skills/plan-backlog/SKILL.md +93 -75
  59. package/skills/plan-backlog/script.js +121 -136
  60. package/skills/plan-backlog/script.test.js +83 -83
  61. package/skills/plan-backlog/workflow.xml +1348 -1348
  62. package/skills/plan-feature/SKILL.md +99 -76
  63. package/skills/plan-feature/feature-template.xml +361 -361
  64. package/skills/plan-feature/script.js +131 -148
  65. package/skills/plan-feature/script.test.js +80 -80
  66. package/skills/plan-feature/workflow.xml +1 -1
  67. package/skills/plan-product-vision/SKILL.md +91 -75
  68. package/skills/plan-product-vision/product-vision-template.xml +227 -227
  69. package/skills/plan-product-vision/script.js +51 -60
  70. package/skills/plan-product-vision/script.test.js +69 -69
  71. package/skills/plan-product-vision/workflow.xml +337 -337
  72. package/skills/plan-story/SKILL.md +125 -102
  73. package/skills/plan-story/script.js +18 -49
  74. package/skills/plan-story/story-template.xml +8 -1
  75. package/skills/plan-story/workflow.xml +17 -1
  76. package/skills/research-external-solution/SKILL.md +120 -107
  77. package/skills/research-external-solution/external-solution-template.xml +832 -832
  78. package/skills/research-external-solution/script.js +229 -238
  79. package/skills/research-external-solution/script.test.js +134 -134
  80. package/skills/research-external-solution/workflow.xml +657 -657
  81. package/skills/research-integration-solution/SKILL.md +121 -98
  82. package/skills/research-integration-solution/integration-solution-template.xml +1015 -1015
  83. package/skills/research-integration-solution/script.js +223 -231
  84. package/skills/research-integration-solution/script.test.js +134 -134
  85. package/skills/research-integration-solution/workflow.xml +711 -711
  86. package/skills/research-story-wiki/SKILL.md +101 -92
  87. package/skills/research-story-wiki/script.js +223 -231
  88. package/skills/research-story-wiki/script.test.js +138 -138
  89. package/skills/research-story-wiki/story-wiki-template.xml +194 -194
  90. package/skills/research-story-wiki/workflow.xml +473 -473
  91. package/skills/research-technical-solution/SKILL.md +131 -103
  92. package/skills/research-technical-solution/script.js +223 -231
  93. package/skills/research-technical-solution/script.test.js +134 -134
  94. package/skills/research-technical-solution/technical-solution-template.xml +1025 -1025
  95. package/skills/research-technical-solution/workflow.xml +761 -761
  96. package/skills/review-story/SKILL.md +99 -100
  97. package/skills/review-story/script.js +8 -16
  98. package/skills/review-story/script.test.js +169 -169
  99. package/skills/review-story/story-template.xml +451 -451
  100. package/skills/review-story/workflow.xml +1 -1
  101. package/skills/update/SKILL.md +65 -53
  102. package/skills/update/workflow.xml +21 -5
@@ -1,92 +1,140 @@
1
- ---
2
- name: map-walkthrough
3
- description: Create deep tutorial-style flow walkthroughs in .docs/wiki/subsystems/[name]/walkthroughs/
4
- argument-hint: "flow='tick data from bybit websocket to timescaledb' subsystem='data-ingestion' emphasis-frameworks='SignalR,Redis Streams'"
5
- disable-model-invocation: true
6
- allowed-tools:
7
- - Read
8
- - Bash
9
- - Glob
10
- - Grep
11
- - Write
12
- - Edit
13
- - LSP
14
- - AskUserQuestion
15
- - WebSearch
16
- - WebFetch
17
- - mcp__context7__resolve-library-id
18
- - mcp__context7__query-docs
19
- model: opus
20
- effort: max
21
- context: fork
22
- agent: ace-wiki-mapper
23
- ---
24
-
25
- # Map Walkthrough
26
-
27
- Create deep tutorial-style flow walkthroughs that trace a flow end-to-end through the codebase.
28
-
29
- ## When to Use
30
-
31
- - After `/ace:map-subsystem` — to create deep walkthroughs for complex flows
32
- - Anytime a complex multi-class flow needs human-readable documentation
33
- - When onboarding new developers who need to understand specific flows
34
- - A flow spans 3+ classes across multiple architectural layers
35
- - External frameworks/libraries are involved that need explanation
36
- - An intern reading the code alone would not understand what's happening
37
- - A system doc would need paragraphs of explanation with code snippets
38
-
39
- ## Input
40
-
41
- ### Required
42
-
43
- - **`flow`** (text) — Natural language description of the end-to-end flow — WHERE it starts and WHERE it ends. The agent finds the entry point, follows every call through the entire code, and traces it to the exit point. E.g.: "tick data from bybit websocket to timescaledb", "user message from SignalR hub until LLM response is sent back", "order placement from API endpoint to payment confirmation". If not provided, pause and ask the user.
44
-
45
- - **`subsystem`** (path | text) — Subsystem where the walkthrough wiki file is placed. The flow itself may span MULTIPLE subsystems the agent follows the code wherever it goes. This parameter only determines the wiki location: `.docs/wiki/subsystems/[subsystem]/walkthroughs/`. If not provided, pause and ask the user.
46
-
47
- ### Optional
48
-
49
- - **`emphasis-frameworks`** (csv) — Comma-separated frameworks/libraries/APIs/SDKs that should receive deep explanation throughout the walkthrough. When specified: EVERY step touching the framework gets a framework info box, ALL code interacting with the framework is shown and explained, the Framework Concepts Reference table becomes MANDATORY. Each entry is EITHER: a name (agent researches via WebSearch/context7) like "SignalR" or "SignalR,EF Core"; a file path or URL to documentation; or a mix of both.
50
-
51
- ## Supporting Resources
52
-
53
- Read ALL of these before starting the workflow:
54
-
55
- - **Workflow**: Read [workflow.xml](workflow.xml) — complete orchestration process with all steps
56
- - **Walkthrough template**: Read [walkthrough.xml](walkthrough.xml) — output format for the walkthrough
57
- - **Questioning guide**: Read `${CLAUDE_SKILL_DIR}/../../shared/utils/questioning.xml` — deep questioning techniques
58
- - **UI formatting**: Read `${CLAUDE_SKILL_DIR}/../../shared/utils/ui-formatting.md` — ACE output formatting rules
59
-
60
- ## Process
61
-
62
- Use the `ace-wiki-mapper` agent that's specialized in wiki exploration and documentation writing.
63
-
64
- Read all supporting resources listed above, then execute the workflow defined in [workflow.xml](workflow.xml) end-to-end. Preserve all workflow gates (validation, user questions, commits).
65
-
66
- **Objective:** Create or update a deep tutorial-style walkthrough that traces a flow end-to-end. The agent reads the flow description, finds the entry point in the codebase, then follows EVERY SINGLE CALL through the entire code — handler to service to repository to database (or whatever the flow touches) — using LSP and code reading. It discovers all files automatically, extracts emphasis framework usages from the actual code, researches those specific concepts, and writes the walkthrough with real code snippets and framework info boxes.
67
-
68
- ## Artifacts
69
-
70
- ```
71
- .docs/wiki/subsystems/[subsystem-name]/walkthroughs/[flow-name].md
72
- ```
73
-
74
- ## Example Usage
75
-
76
- ```
77
- # Basic walkthrough
78
- /ace:map-walkthrough flow='tick data from bybit websocket to timescaledb' subsystem='data-ingestion'
79
-
80
- # With emphasis frameworks
81
- /ace:map-walkthrough flow='user message from SignalR hub until LLM response is sent back' subsystem='chat' emphasis-frameworks='SignalR,Redis Streams'
82
-
83
- # With documentation link as emphasis
84
- /ace:map-walkthrough flow='order placement from API endpoint to payment confirmation' subsystem='orders' emphasis-frameworks='https://learn.microsoft.com/aspnet/signalr/overview,EF Core'
85
- ```
86
-
87
- ## Next Steps
88
-
89
- - `/clear` first for a fresh context window
90
- - `/ace:map-walkthrough` create another walkthrough
91
- - `/ace:map-subsystem [subsystem]` map or refresh an entire subsystem
92
- - Review and edit files in `.docs/wiki/subsystems/[subsystem-name]/walkthroughs/`
1
+ ---
2
+ name: map-walkthrough
3
+ description: Create deep tutorial-style flow walkthroughs in .docs/wiki/subsystems/[name]/walkthroughs/
4
+ argument-hint: "flow='tick data from bybit websocket to timescaledb' subsystem='data-ingestion' emphasis-frameworks='SignalR,Redis Streams'"
5
+ disable-model-invocation: false
6
+ allowed-tools:
7
+ - Read
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - Write
12
+ - Edit
13
+ - LSP
14
+ - AskUserQuestion
15
+ - WebSearch
16
+ - WebFetch
17
+ - mcp__context7__resolve-library-id
18
+ - mcp__context7__query-docs
19
+ model: opus
20
+ effort: max
21
+ context: fork
22
+ agent: ace-wiki-mapper
23
+ ---
24
+
25
+ ## Supporting Resources (auto-loaded)
26
+
27
+ !`cat "${CLAUDE_SKILL_DIR}/workflow.xml"`
28
+
29
+ !`cat "${CLAUDE_SKILL_DIR}/walkthrough-template.xml"`
30
+
31
+ !`cat "${CLAUDE_SKILL_DIR}/../../shared/utils/questioning.xml"`
32
+
33
+ !`cat "${CLAUDE_SKILL_DIR}/../../shared/utils/ui-formatting.md"`
34
+
35
+ ```xml
36
+ <command>
37
+
38
+ <execution-time>
39
+ <runs-after>
40
+ <trigger>After /ace:map-subsystem — to create deep walkthroughs for complex flows</trigger>
41
+ <trigger>Anytime a complex multi-class flow needs human-readable documentation</trigger>
42
+ <trigger>When onboarding new developers who need to understand specific flows</trigger>
43
+ </runs-after>
44
+ <use-when>
45
+ <condition>A flow spans 3+ classes across multiple architectural layers</condition>
46
+ <condition>External frameworks/libraries are involved that need explanation</condition>
47
+ <condition>An intern reading the code alone would not understand what's happening</condition>
48
+ <condition>A system doc would need paragraphs of explanation with code snippets</condition>
49
+ </use-when>
50
+ </execution-time>
51
+
52
+ <input>
53
+ <flags>
54
+ </flags>
55
+
56
+ <parameters>
57
+ <required>
58
+ <param name="flow" type="text">
59
+ Natural language description of the end-to-end flow — WHERE it starts
60
+ and WHERE it ends. The agent finds the entry point, follows every call
61
+ through the entire code, and traces it to the exit point.
62
+
63
+ E.g.:
64
+ - "tick data from bybit websocket to timescaledb"
65
+ - "user message from SignalR hub until LLM response is sent back"
66
+ - "order placement from API endpoint to payment confirmation"
67
+
68
+ If not provided, pause and ask the user.
69
+ </param>
70
+ <param name="subsystem" type="path | text">
71
+ Subsystem where the walkthrough wiki file is placed.
72
+ The flow itself may span MULTIPLE subsystems — the agent follows
73
+ the code wherever it goes. This parameter only determines the
74
+ wiki location: `.docs/wiki/subsystems/[subsystem]/walkthroughs/`.
75
+ If not provided, pause and ask the user.
76
+ </param>
77
+ </required>
78
+
79
+ <optional>
80
+ <param name="emphasis-frameworks" type="csv">
81
+ Comma-separated frameworks/libraries/APIs/SDKs that should receive deep
82
+ explanation throughout the walkthrough. When specified:
83
+ - EVERY step touching the framework gets a framework info box
84
+ - ALL code interacting with the framework is shown and explained
85
+ - The Framework Concepts Reference table becomes MANDATORY
86
+
87
+ Each entry is EITHER:
88
+ - A name (agent researches via WebSearch/context7):
89
+ "SignalR" or "SignalR,EF Core"
90
+ - A file path or URL to documentation (agent reads the page, follows
91
+ internal links to find pages covering the specific concepts used in
92
+ the code, and infers the framework name from content):
93
+ "https://learn.microsoft.com/aspnet/signalr/overview" or "docs/signalr-guide.md"
94
+ - A mix of both:
95
+ "SignalR,docs/custom-redis-wrapper.md,EF Core"
96
+ </param>
97
+ </optional>
98
+ </parameters>
99
+ </input>
100
+
101
+ <execution-context>
102
+ <!-- All supporting files are auto-loaded in the Supporting Resources section above.
103
+ The model does NOT need to Read these files — they are already in context. -->
104
+ </execution-context>
105
+
106
+ <output>
107
+ <objective>
108
+ Create or update a deep tutorial-style walkthrough that traces a flow end-to-end.
109
+
110
+ The agent reads the flow description, finds the entry point in the codebase,
111
+ then follows EVERY SINGLE CALL through the entire code — handler to service
112
+ to repository to database (or whatever the flow touches) — using LSP and code
113
+ reading. It discovers all files automatically, extracts emphasis framework
114
+ usages from the actual code, researches those specific concepts, and writes
115
+ the walkthrough with real code snippets and framework info boxes.
116
+ </objective>
117
+
118
+ <artifacts>
119
+ .docs/wiki/subsystems/[subsystem-name]/walkthroughs/[flow-name].md
120
+ </artifacts>
121
+ </output>
122
+
123
+ <process>
124
+ For this command use the `ace-wiki-mapper` agent
125
+ that's specialized in wiki exploration and documentation writing.
126
+
127
+ Execute the map-walkthrough workflow from
128
+ `workflow.xml` end-to-end.
129
+ Preserve all workflow gates (validation, user questions, commits).
130
+ </process>
131
+
132
+ <next-steps>
133
+ <step>/clear first for a fresh context window</step>
134
+ <step>/ace:map-walkthrough — create another walkthrough</step>
135
+ <step>/ace:map-subsystem [subsystem] — map or refresh an entire subsystem</step>
136
+ <step>Review and edit files in .docs/wiki/subsystems/[subsystem-name]/walkthroughs/</step>
137
+ </next-steps>
138
+
139
+ </command>
140
+ ```