agent-context-store 0.2.8 → 0.2.9
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/README.md +65 -25
- package/agent-config/skills/acs-ba/SKILL.md +8 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -85,60 +85,100 @@ A summary is shown before anything is written, and you can abort with `n`.
|
|
|
85
85
|
|
|
86
86
|
## Step 3: Run Your First Workflow
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
After setup, each team member opens their AI agent (Cursor or Claude Code) and invokes the matching role skill by name. The skill tells the agent exactly which `acs` commands to run — the human never types `acs` directly.
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
> **Skill invocation syntax**
|
|
91
|
+
> - Cursor / Claude Code: `@acs-ba`, `@acs-sa`, `@acs-dev`, `@acs-qa`
|
|
91
92
|
|
|
92
|
-
The
|
|
93
|
+
The examples below follow a single feature task `DEMO-0001: Login with OTP` through the full BA → SA → Dev → QA lifecycle.
|
|
93
94
|
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### Use Case 1 — BA captures requirements
|
|
98
|
+
|
|
99
|
+
**Human → Cursor / Claude Code:**
|
|
100
|
+
```
|
|
101
|
+
/acs-ba We need to add OTP-based login. Task ID is DEMO-0001. Title: "Login with OTP".
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
The `acs-ba` skill activates and the agent internally runs:
|
|
94
105
|
```bash
|
|
95
|
-
acs
|
|
96
|
-
acs
|
|
97
|
-
acs ba new
|
|
98
|
-
acs
|
|
99
|
-
acs
|
|
100
|
-
acs handoff
|
|
101
|
-
acs package --task DEMO-0001 --role sa
|
|
106
|
+
acs status && acs doctor
|
|
107
|
+
acs ba new srs --task DEMO-0001 --title "Login with OTP"
|
|
108
|
+
acs ba new user-story --task DEMO-0001 --title "Login with OTP User Story"
|
|
109
|
+
acs ba new acceptance-criteria --task DEMO-0001 --title "Login with OTP Acceptance Criteria"
|
|
110
|
+
acs validate --role ba --task DEMO-0001
|
|
111
|
+
acs handoff create --from ba --to sa --task DEMO-0001
|
|
112
|
+
acs package --task DEMO-0001 --role sa
|
|
113
|
+
acs index
|
|
102
114
|
```
|
|
103
115
|
|
|
104
|
-
|
|
116
|
+
The agent ends its response with a structured `[HANDOFF: BA → SA | DEMO-0001]` prompt for the SA agent to pick up.
|
|
105
117
|
|
|
106
|
-
|
|
118
|
+
---
|
|
107
119
|
|
|
120
|
+
### Use Case 2 — SA produces system design
|
|
121
|
+
|
|
122
|
+
**Human → Cursor / Claude Code:**
|
|
123
|
+
```
|
|
124
|
+
/acs-sa Pick up DEMO-0001 from BA. Design the OTP login system.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
The `acs-sa` skill activates and the agent internally runs:
|
|
108
128
|
```bash
|
|
109
|
-
acs next --role sa --task DEMO-0001
|
|
129
|
+
acs next --role sa --task DEMO-0001
|
|
110
130
|
acs sa new sdd --task DEMO-0001 --title "Login with OTP System Design"
|
|
111
131
|
acs sa new adr --task DEMO-0001 --title "Use Redis for OTP State"
|
|
112
132
|
acs sa new api-design --task DEMO-0001 --title "OTP Login API"
|
|
113
|
-
acs validate --role sa --task DEMO-0001
|
|
133
|
+
acs validate --role sa --task DEMO-0001
|
|
114
134
|
acs handoff create --from sa --to dev --task DEMO-0001
|
|
115
|
-
acs package --task DEMO-0001 --role dev
|
|
135
|
+
acs package --task DEMO-0001 --role dev
|
|
136
|
+
acs index
|
|
116
137
|
```
|
|
117
138
|
|
|
118
|
-
|
|
139
|
+
The agent ends its response with a `[HANDOFF: SA → DEV | DEMO-0001]` prompt.
|
|
119
140
|
|
|
120
|
-
|
|
141
|
+
---
|
|
121
142
|
|
|
143
|
+
### Use Case 3 — Dev implements the feature
|
|
144
|
+
|
|
145
|
+
**Human → Cursor / Claude Code:**
|
|
146
|
+
```
|
|
147
|
+
/acs-dev Implement DEMO-0001 based on the SA design. Task ID is DEMO-0001.
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
The `acs-dev` skill activates and the agent internally runs:
|
|
122
151
|
```bash
|
|
123
|
-
acs next --role dev --task DEMO-0001
|
|
124
|
-
acs dev new implementation-note --task DEMO-0001
|
|
152
|
+
acs next --role dev --task DEMO-0001
|
|
153
|
+
acs dev new implementation-note --task DEMO-0001
|
|
125
154
|
acs validate --role dev --task DEMO-0001
|
|
126
155
|
acs handoff create --from dev --to qa --task DEMO-0001
|
|
127
|
-
acs package --task DEMO-0001 --role qa
|
|
156
|
+
acs package --task DEMO-0001 --role qa
|
|
157
|
+
acs index
|
|
128
158
|
```
|
|
129
159
|
|
|
130
|
-
|
|
160
|
+
The agent ends its response with a `[HANDOFF: DEV → QA | DEMO-0001]` prompt.
|
|
161
|
+
|
|
162
|
+
---
|
|
131
163
|
|
|
132
|
-
|
|
164
|
+
### Use Case 4 — QA validates and closes the task
|
|
133
165
|
|
|
166
|
+
**Human → Cursor / Claude Code:**
|
|
167
|
+
```
|
|
168
|
+
/acs-qa Write the test plan for DEMO-0001.
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The `acs-qa` skill activates and the agent internally runs:
|
|
134
172
|
```bash
|
|
135
|
-
acs next --role qa --task DEMO-0001
|
|
173
|
+
acs next --role qa --task DEMO-0001
|
|
136
174
|
acs qa new test-plan --task DEMO-0001 --title "OTP Login Test Plan"
|
|
137
175
|
acs validate --role qa --task DEMO-0001
|
|
138
|
-
acs handoff list --task DEMO-0001
|
|
139
|
-
acs index
|
|
176
|
+
acs handoff list --task DEMO-0001
|
|
177
|
+
acs index
|
|
140
178
|
```
|
|
141
179
|
|
|
180
|
+
All four role artifacts and handoff records are now persisted in the store.
|
|
181
|
+
|
|
142
182
|
## How Agents Should Use It
|
|
143
183
|
|
|
144
184
|
Give each agent access to the same project (in-repo mode) or context store repository (dedicated mode) and instruct it to use `acs` for durable handoffs.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: acs-ba
|
|
3
|
-
description: ACS Business Analyst role — capture requirements as SRS
|
|
3
|
+
description: ACS Business Analyst role — capture requirements as SRS, user story, and acceptance criteria artifacts, then hand off to the SA agent. Use when acting as BA, writing requirements, or starting a new task from scratch.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# ACS — Business Analyst (BA) Role
|
|
@@ -14,13 +14,15 @@ acs doctor
|
|
|
14
14
|
|
|
15
15
|
Fix any errors before continuing.
|
|
16
16
|
|
|
17
|
-
## 2. Create
|
|
17
|
+
## 2. Create BA Artifacts
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
acs ba new srs --task TASK-123 --title "Feature requirements"
|
|
21
|
+
acs ba new user-story --task TASK-123 --title "Feature user story"
|
|
22
|
+
acs ba new acceptance-criteria --task TASK-123 --title "Feature acceptance criteria"
|
|
21
23
|
```
|
|
22
24
|
|
|
23
|
-
**Fill every section immediately** — replace all placeholders with real content from the conversation and source files. List consulted files under `source_refs`. Complete the Validation Checklist at the end of
|
|
25
|
+
**Fill every section immediately** — replace all placeholders with real content from the conversation and source files. List consulted files under `source_refs`. Complete the Validation Checklist at the end of each file.
|
|
24
26
|
|
|
25
27
|
## 3. Validate
|
|
26
28
|
|
|
@@ -49,6 +51,8 @@ The BA role has completed requirements for TASK-123.
|
|
|
49
51
|
|
|
50
52
|
Artifacts ready for you:
|
|
51
53
|
- <path to SRS artifact>
|
|
54
|
+
- <path to user story artifact>
|
|
55
|
+
- <path to acceptance criteria artifact>
|
|
52
56
|
|
|
53
57
|
Context package: <path printed by acs package>
|
|
54
58
|
|
|
@@ -60,5 +64,5 @@ Your next steps (SA role):
|
|
|
60
64
|
5. When done, hand off to DEV: acs handoff create --from sa --to dev --task TASK-123
|
|
61
65
|
|
|
62
66
|
Open questions from BA (resolve before or during design):
|
|
63
|
-
- <list any open questions from the
|
|
67
|
+
- <list any open questions from the BA artifacts>
|
|
64
68
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-context-store",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "acs CLI for Agent Context Store Toolkit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@inquirer/prompts": "^8.4.2",
|
|
26
|
-
"agent-context-store-core": "0.2.
|
|
26
|
+
"agent-context-store-core": "0.2.9"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "tsc -p tsconfig.json"
|