agile-context-engineering 0.1.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.
@@ -0,0 +1,90 @@
1
+ # /ace:refine-story - Refine a Story for Execution
2
+
3
+ Prepare a story for execution by creating detailed implementation tasks.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /ace:refine-story <story-id>
9
+ /ace:refine-story E1-F1-S1
10
+ ```
11
+
12
+ ### Arguments
13
+
14
+ - `story-id` - The story identifier to refine
15
+
16
+ ## Behavior
17
+
18
+ This command prepares a story for execution by:
19
+ - Researching the codebase to understand implementation
20
+ - Breaking the story into atomic, executable tasks
21
+ - Creating a task checklist for the executor
22
+ - Identifying potential blockers
23
+
24
+ ## Instructions for Claude
25
+
26
+ <ace-refine-story>
27
+
28
+ ### Prerequisites
29
+
30
+ 1. Verify ACE is initialized
31
+ 2. Read the story file
32
+ 3. Understand acceptance criteria
33
+
34
+ ### Refinement Process
35
+
36
+ 1. **Codebase Research**
37
+ - Find relevant existing code
38
+ - Understand patterns in use
39
+ - Identify integration points
40
+
41
+ 2. **Task Breakdown**
42
+ - Create atomic tasks (30 min - 2 hours each)
43
+ - Tasks should be independently committable
44
+ - Each task has clear done criteria
45
+
46
+ 3. **For Each Task:**
47
+ - ID: T1, T2, T3...
48
+ - Description: What exactly to do
49
+ - Files: Which files to modify/create
50
+ - Done Criteria: How to verify completion
51
+
52
+ 4. **Update Story File**
53
+
54
+ Add tasks section:
55
+
56
+ ```markdown
57
+ ## Tasks
58
+
59
+ ### T1: <Task Description>
60
+ - **Files:** `path/to/file.ts`
61
+ - **Done:** <verification criteria>
62
+ - **Status:** Pending
63
+
64
+ ### T2: <Task Description>
65
+ - **Files:** `path/to/file.ts`, `path/to/other.ts`
66
+ - **Done:** <verification criteria>
67
+ - **Status:** Pending
68
+ ```
69
+
70
+ 5. **Identify Blockers**
71
+ - Missing information
72
+ - External dependencies
73
+ - Questions for the user
74
+
75
+ ### Output
76
+
77
+ ```
78
+ ✓ Story E1-F1-S1 refined!
79
+
80
+ Tasks:
81
+ T1: <Task Description>
82
+ T2: <Task Description>
83
+ T3: <Task Description>
84
+
85
+ Blockers: [None | List of blockers]
86
+
87
+ Ready for: /ace:execute-story E1-F1-S1
88
+ ```
89
+
90
+ </ace-refine-story>
@@ -0,0 +1,127 @@
1
+ # /ace:verify-story - Verify a Completed Story
2
+
3
+ Verify that a completed story meets all acceptance criteria.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /ace:verify-story <story-id>
9
+ /ace:verify-story E1-F1-S1
10
+ ```
11
+
12
+ ### Arguments
13
+
14
+ - `story-id` - The story identifier to verify
15
+
16
+ ## Behavior
17
+
18
+ This command verifies a story by:
19
+ - Checking all acceptance criteria are met
20
+ - Running the full test suite
21
+ - Reviewing code changes for quality
22
+ - Confirming with the user
23
+
24
+ ## Instructions for Claude
25
+
26
+ <ace-verify-story>
27
+
28
+ ### Prerequisites
29
+
30
+ 1. Verify ACE is initialized
31
+ 2. Verify story status is "Done" (executed)
32
+ 3. Read story acceptance criteria
33
+
34
+ ### Verification Process
35
+
36
+ 1. **Acceptance Criteria Check**
37
+
38
+ For each acceptance criterion:
39
+ - Verify it's implemented
40
+ - Test the behavior manually if possible
41
+ - Check for edge cases
42
+
43
+ 2. **Code Quality Review**
44
+
45
+ Review the commits:
46
+ ```bash
47
+ git log --oneline -10 # See recent commits
48
+ ```
49
+
50
+ Check for:
51
+ - Consistent code style
52
+ - Appropriate error handling
53
+ - No security vulnerabilities
54
+ - Tests included
55
+
56
+ 3. **Test Suite**
57
+
58
+ Run the full test suite:
59
+ ```bash
60
+ npm test # or appropriate test command
61
+ ```
62
+
63
+ 4. **User Acceptance**
64
+
65
+ Present findings to user:
66
+ ```
67
+ Story: E1-F1-S1 - <Title>
68
+
69
+ Acceptance Criteria:
70
+ ✓ Given X, when Y, then Z
71
+ ✓ Given A, when B, then C
72
+ ? Edge case needs user verification
73
+
74
+ Code Changes:
75
+ - X files modified
76
+ - Y lines added
77
+ - Z tests added
78
+
79
+ Test Results: All passing
80
+
81
+ Ready for user acceptance testing?
82
+ ```
83
+
84
+ 5. **Mark as Verified**
85
+
86
+ If all criteria pass:
87
+ - Update story status to "Verified"
88
+ - Update STATE.md
89
+ - Update BACKLOG.md progress
90
+
91
+ ### Issue Handling
92
+
93
+ If issues are found:
94
+
95
+ 1. **Minor Issues**
96
+ - Note them for user
97
+ - Offer to fix immediately
98
+
99
+ 2. **Major Issues**
100
+ - Document in story file
101
+ - Recommend re-execution
102
+ - Update story status to "Needs Work"
103
+
104
+ ### GitHub Integration (if enabled)
105
+
106
+ - Close the story issue if verified
107
+ - Add verification comment with summary
108
+
109
+ ### Output
110
+
111
+ ```
112
+ ✓ Story E1-F1-S1 verified!
113
+
114
+ All acceptance criteria met:
115
+ ✓ Criterion 1
116
+ ✓ Criterion 2
117
+ ✓ Criterion 3
118
+
119
+ Code Quality: Good
120
+ Tests: 12 passing, 0 failing
121
+
122
+ Story marked as Verified.
123
+
124
+ Feature E1-F1 progress: 2/4 stories complete
125
+ ```
126
+
127
+ </ace-verify-story>
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "agile-context-engineering",
3
+ "version": "0.1.0",
4
+ "description": "ACE - Agile Context Engineering: A spec-driven development system for Claude Code, OpenCode, Gemini CLI, and Codex CLI with Agile workflows",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "agile-context-engineering": "bin/install.js",
8
+ "ace": "bin/install.js"
9
+ },
10
+ "files": [
11
+ "bin",
12
+ "commands",
13
+ "agents",
14
+ "templates"
15
+ ],
16
+ "scripts": {
17
+ "test": "echo \"Error: no test specified\" && exit 1"
18
+ },
19
+ "keywords": [
20
+ "claude-code",
21
+ "opencode",
22
+ "gemini-cli",
23
+ "codex-cli",
24
+ "openai",
25
+ "anthropic",
26
+ "google",
27
+ "agile",
28
+ "context-engineering",
29
+ "ai-coding",
30
+ "spec-driven",
31
+ "cli"
32
+ ],
33
+ "author": "",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/agile-context-engineering/ace"
38
+ },
39
+ "engines": {
40
+ "node": ">=16.7.0"
41
+ }
42
+ }