agentme 0.36.0 → 0.37.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/.filedist-package.yml +1 -1
- package/.xdrs/agentme/bdrs/index.md +2 -1
- package/.xdrs/agentme/bdrs/operations/{401-epic-feature-story-planning.md → 401-plan-epic-feature-story.md} +2 -2
- package/.xdrs/agentme/bdrs/operations/402-digital-product-roles.md +15 -19
- package/.xdrs/agentme/bdrs/operations/403-product-team-composition.md +3 -0
- package/.xdrs/agentme/bdrs/operations/404-team-roles-and-specialists.md +61 -82
- package/.xdrs/agentme/bdrs/operations/405-digital-product-roles-raci.md +131 -0
- package/.xdrs/agentme/bdrs/principles/002-okr-framework.md +1 -1
- package/.xdrs/agentme/bdrs/principles/003-product-delivery-value-flow.md +3 -2
- package/.xdrs/agentme/edrs/application/101-javascript-project-tooling.md +1 -1
- package/.xdrs/agentme/edrs/application/102-golang-project-tooling.md +1 -1
- package/.xdrs/agentme/edrs/application/103-python-project-tooling.md +1 -1
- package/.xdrs/agentme/edrs/application/127-external-system-adapter-skills.md +2 -0
- package/.xdrs/agentme/edrs/application/skills/{251-azure-devops-connector → azure-devops-connector}/SKILL.md +6 -9
- package/.xdrs/agentme/edrs/application/skills/{251-azure-devops-connector → azure-devops-connector}/SKILL.test.md +1 -1
- package/.xdrs/agentme/edrs/application/skills/{051-create-golang-project → create-golang-project}/SKILL.md +1 -1
- package/.xdrs/agentme/edrs/application/skills/create-golang-project/SKILL.test.md +72 -0
- package/.xdrs/agentme/edrs/application/skills/{050-create-javascript-project → create-javascript-project}/SKILL.md +23 -24
- package/.xdrs/agentme/edrs/application/skills/create-javascript-project/SKILL.test.md +72 -0
- package/.xdrs/agentme/edrs/application/skills/{052-create-python-project → create-python-project}/SKILL.md +1 -1
- package/.xdrs/agentme/edrs/application/skills/create-python-project/SKILL.test.md +79 -0
- package/.xdrs/agentme/edrs/application/skills/{250-github-connector → github-connector}/SKILL.md +5 -8
- package/.xdrs/agentme/edrs/application/skills/{250-github-connector → github-connector}/SKILL.test.md +1 -1
- package/.xdrs/agentme/edrs/application/skills/{200-run-skill-tests → run-skill-tests}/SKILL.md +4 -4
- package/.xdrs/agentme/edrs/application/skills/{200-run-skill-tests → run-skill-tests}/SKILL.test.md +7 -7
- package/.xdrs/agentme/edrs/application/skills/{010-select-relevant-xdrs → select-relevant-xdrs}/SKILL.md +1 -1
- package/.xdrs/agentme/edrs/application/skills/select-relevant-xdrs/SKILL.test.md +73 -0
- package/.xdrs/agentme/edrs/governance/502-contributing-guide-requirements.md +1 -1
- package/.xdrs/agentme/edrs/index.md +16 -11
- package/.xdrs/agentme/edrs/operations/402-dora-metrics-framework.md +82 -0
- package/.xdrs/agentme/edrs/operations/403-dora-deployment-frequency.md +37 -0
- package/.xdrs/agentme/edrs/operations/404-dora-lead-time-for-changes.md +41 -0
- package/.xdrs/agentme/edrs/operations/405-dora-change-failure-rate.md +42 -0
- package/.xdrs/agentme/edrs/operations/406-dora-time-to-restore-service.md +42 -0
- package/.xdrs/agentme/edrs/platform/301-monorepo-structure.md +1 -1
- package/.xdrs/agentme/edrs/platform/skills/{053-monorepo-setup → monorepo-setup}/SKILL.md +15 -15
- package/.xdrs/agentme/edrs/platform/skills/monorepo-setup/SKILL.test.md +80 -0
- package/.xdrs/agentme/edrs/principles/012-continuous-xdr-enrichment.md +1 -1
- package/.xdrs/agentme/edrs/principles/017-skill-testing.md +4 -4
- package/.xdrs/agentme/edrs/principles/articles/001-continuous-xdr-improvement.md +1 -1
- package/.xdrs/agentme/edrs/principles/skills/{150-refine-plan-mode → refine-plan-mode}/SKILL.md +2 -8
- package/.xdrs/agentme/edrs/principles/skills/{150-refine-plan-mode → refine-plan-mode}/SKILL.test.md +2 -2
- package/.xdrs/agentme/edrs/principles/skills/{151-refine-user-story → refine-user-story}/SKILL.md +4 -11
- package/.xdrs/agentme/edrs/principles/skills/{151-refine-user-story → refine-user-story}/SKILL.test.md +17 -17
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/Makefile +1 -1
- package/.xdrs/agentme/edrs/principles/skills/resolve-pr-comments/SKILL.md +662 -0
- package/.xdrs/agentme/edrs/principles/skills/resolve-pr-comments/SKILL.test.md +165 -0
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/post-replies-azure-devops.js +3 -3
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/post-replies-azure-devops.test.js +5 -5
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/post-replies-github.js +3 -3
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/post-replies-github.test.js +4 -4
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/update-section.js +84 -3
- package/.xdrs/agentme/edrs/principles/skills/{400-pr-owner-assistant → resolve-pr-comments}/scripts/update-section.test.js +108 -1
- package/package.json +2 -2
- package/.xdrs/agentme/edrs/principles/skills/400-pr-owner-assistant/SKILL.md +0 -633
- package/.xdrs/agentme/edrs/principles/skills/400-pr-owner-assistant/SKILL.test.md +0 -174
package/.xdrs/agentme/edrs/principles/skills/{151-refine-user-story → refine-user-story}/SKILL.md
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: refine-user-story
|
|
3
3
|
description: >
|
|
4
4
|
Refine, elaborate, study or develop the contents of a user story used to create a unit of work
|
|
5
5
|
for an agile team. Use when you need to write, refine, clarify requirements, ask follow-up
|
|
@@ -12,7 +12,7 @@ metadata:
|
|
|
12
12
|
|
|
13
13
|
## Overview
|
|
14
14
|
|
|
15
|
-
Turns a vague request or rough draft into an implementation-ready user story
|
|
15
|
+
Turns a vague request or rough draft into an implementation-ready user story via a structured 9-phase process: initiative context and external information gathering (Phase 1); request analysis and requirements qualification (Phase 2); context research and story drafting (Phase 3); consistency and scope review (Phase 4); visual validation via a user journey diagram (Phase 5); a 9-angle user-perspective challenge (Phase 6); an 8-angle implementer-perspective challenge (Phase 7); final story output with a readiness checklist (Phase 8); and a final readiness re-validation (Phase 9).
|
|
16
16
|
|
|
17
17
|
Activate when:
|
|
18
18
|
- The request is vague, incomplete, or internally inconsistent.
|
|
@@ -298,14 +298,7 @@ After all 9 angles converge, use `vscode_askQuestions` (per Phase gate UI rule)
|
|
|
298
298
|
|
|
299
299
|
### Phase 7: Implementer-Perspective Challenge
|
|
300
300
|
|
|
301
|
-
For each angle, apply the
|
|
302
|
-
|
|
303
|
-
1. Generate 10–20 specific questions about that angle **in the context of this story** (grounded in what has been gathered, not generic).
|
|
304
|
-
2. Attempt to answer each question from the current story contents.
|
|
305
|
-
3. For every question that cannot be answered, is unanswered, or reveals a gap or inconsistency: elaborate the finding and ask the user via `vscode_askQuestions`.
|
|
306
|
-
4. Apply the Context Probe rule: if any gap could be resolved by an external spec, API reference, interface contract, or other artifact, ask for it specifically.
|
|
307
|
-
5. Only mark the angle complete when all questions are answered or explicitly deferred as named risks.
|
|
308
|
-
6. Do not resolve choice points unilaterally.
|
|
301
|
+
For each angle, apply the same per-angle protocol defined in Phase 6: generate 10–20 questions about that angle grounded in the current story contents (not generic); attempt to answer each from what has been gathered; for every unanswered question or one that reveals a gap, ask the user via `vscode_askQuestions`; apply the Context Probe rule using implementer-relevant artifacts (an external spec, API reference, interface contract, or similar) when a gap could be resolved by one; mark the angle complete only when every question is answered or explicitly deferred as a named risk; and never resolve a choice point unilaterally. The Phase navigation rule (convergence, Skip, Backtracking) governs loop control on top of this protocol.
|
|
309
302
|
|
|
310
303
|
**1. Verifiable acceptance criteria**
|
|
311
304
|
Can every acceptance criterion be independently tested by a developer without ambiguity? Is "done" unambiguous for each item, with no subjective interpretation required? Are criteria specific enough to write automated tests against?
|
|
@@ -504,4 +497,4 @@ Apply the same 4 criteria from Phase 2 Step 3. If two or more are met, the story
|
|
|
504
497
|
|
|
505
498
|
- [`agentme-edr-012`](../../012-continuous-xdr-enrichment.md) — Continuous XDR enrichment policy
|
|
506
499
|
- [`agentme-edr-017`](../../017-skill-testing.md) — Skill testing mandate
|
|
507
|
-
- [`agentme-bdr-401`](../../../../bdrs/operations/401-epic-feature-story
|
|
500
|
+
- [`agentme-bdr-401`](../../../../bdrs/operations/401-plan-epic-feature-story.md) — Epic/feature/user story planning structure (policy source for the inline reference in Phase 1)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
skill:
|
|
2
|
+
skill: refine-user-story
|
|
3
3
|
skill-version: "4.1"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ skill-version: "4.1"
|
|
|
8
8
|
### Scenario 1: Vague request refined into a single story
|
|
9
9
|
|
|
10
10
|
**Trigger / Input**
|
|
11
|
-
You are an agent with the `
|
|
11
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
12
12
|
|
|
13
13
|
"We need to add notifications to the app."
|
|
14
14
|
|
|
@@ -40,7 +40,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
40
40
|
### Scenario 2: User refuses to answer a clarifying question
|
|
41
41
|
|
|
42
42
|
**Trigger / Input**
|
|
43
|
-
You are an agent with the `
|
|
43
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
44
44
|
|
|
45
45
|
"Add export to PDF for the reports page."
|
|
46
46
|
|
|
@@ -62,7 +62,7 @@ The skill asks: "Should the export include all report data or only the currently
|
|
|
62
62
|
### Scenario 3: Request too large — split into vertical slices, one refined, rest deferred
|
|
63
63
|
|
|
64
64
|
**Trigger / Input**
|
|
65
|
-
You are an agent with the `
|
|
65
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
66
66
|
|
|
67
67
|
"Build a complete user authentication system: registration with email/password, login, password reset via email, and social login with Google."
|
|
68
68
|
|
|
@@ -102,7 +102,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
102
102
|
### Scenario 4: Phase gate re-run — user requests deeper pass on Phase 4
|
|
103
103
|
|
|
104
104
|
**Trigger / Input**
|
|
105
|
-
You are an agent with the `
|
|
105
|
+
You are an agent with the `refine-user-story` skill loaded. The skill has completed Phase 4 (Consistency & Scope Review) and presents the phase gate. The user selects:
|
|
106
106
|
|
|
107
107
|
"Re-run Phase 4: Consistency & Scope Review — deeper pass"
|
|
108
108
|
|
|
@@ -129,7 +129,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The skill has co
|
|
|
129
129
|
### Scenario 5: Phase 6 user-perspective challenge surfaces a missing journey step
|
|
130
130
|
|
|
131
131
|
**Trigger / Input**
|
|
132
|
-
You are an agent with the `
|
|
132
|
+
You are an agent with the `refine-user-story` skill loaded. The story being refined is:
|
|
133
133
|
|
|
134
134
|
"Add a CSV export button to the reports page so registered users can download the current view."
|
|
135
135
|
|
|
@@ -157,7 +157,7 @@ Phases 1–5 are complete. The skill is running Phase 6, angle 1 (User journey c
|
|
|
157
157
|
### Scenario 6: Initiative document with pending placeholder stories — user picks one to refine
|
|
158
158
|
|
|
159
159
|
**Trigger / Input**
|
|
160
|
-
You are an agent with the `
|
|
160
|
+
You are an agent with the `refine-user-story` skill loaded. The user references an epic initiative document at `.xdrs/_local/bdrs/operations/initiatives/001-epic-improve-checkout.md`. The initiative contains:
|
|
161
161
|
|
|
162
162
|
```
|
|
163
163
|
### Milestone 1: Payment Speed
|
|
@@ -195,7 +195,7 @@ Each `.assets/userstory-*.md` file contains `**Status:** to-be-refined` plus any
|
|
|
195
195
|
### Scenario 7: Refined story output writes asset file and updates initiative Milestone link
|
|
196
196
|
|
|
197
197
|
**Trigger / Input**
|
|
198
|
-
You are an agent with the `
|
|
198
|
+
You are an agent with the `refine-user-story` skill loaded. Phase 0 has detected an active initiative doc at `.xdrs/_local/bdrs/operations/initiatives/002-epic-onboarding.md` with Milestone 1: "First Login Experience". The user is refining a new story to be placed there.
|
|
199
199
|
|
|
200
200
|
After completing Phases 1–6, Phase 8 produces the final story: "Show personalised welcome screen on first login".
|
|
201
201
|
|
|
@@ -216,7 +216,7 @@ After completing Phases 1–6, Phase 8 produces the final story: "Show personali
|
|
|
216
216
|
### Scenario 8: No XDRS scope — skill asks where to save and defaults to workspace root
|
|
217
217
|
|
|
218
218
|
**Trigger / Input**
|
|
219
|
-
You are an agent with the `
|
|
219
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
220
220
|
|
|
221
221
|
"I need to refine a story: users should be able to reset their PIN via SMS."
|
|
222
222
|
|
|
@@ -237,7 +237,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
237
237
|
### Scenario 9: Story lacking detailed specs is flagged and sent back for more refinement
|
|
238
238
|
|
|
239
239
|
**Trigger / Input**
|
|
240
|
-
You are an agent with the `
|
|
240
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user is refining:
|
|
241
241
|
|
|
242
242
|
"Integrate with the payments provider so users can pay by card."
|
|
243
243
|
|
|
@@ -261,7 +261,7 @@ After Phase 2 Step 1, no API endpoints, no payload structures, no documentation
|
|
|
261
261
|
### Scenario 10: XDRS scope active, start fresh, story split — Phase 8 asks where to put deferred slices
|
|
262
262
|
|
|
263
263
|
**Trigger / Input**
|
|
264
|
-
You are an agent with the `
|
|
264
|
+
You are an agent with the `refine-user-story` skill loaded. Phase 0 detected an XDRS scope with two existing epic initiatives but the user chose "start fresh — no initiative context". During Phase 2, the story is found to be too large and split into three slices. The user accepts the split and starts refining Slice 1.
|
|
265
265
|
|
|
266
266
|
**Expected Behaviour**
|
|
267
267
|
1. Phase 0 detects XDRS scope, presents epic initiative list plus "Start fresh" option, user picks "Start fresh".
|
|
@@ -280,7 +280,7 @@ You are an agent with the `151-refine-user-story` skill loaded. Phase 0 detected
|
|
|
280
280
|
### Scenario 11: Very large story split into multiple slices — no XDRS scope — deferred slices saved to TODO.md
|
|
281
281
|
|
|
282
282
|
**Trigger / Input**
|
|
283
|
-
You are an agent with the `
|
|
283
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
284
284
|
|
|
285
285
|
"I need to build the entire checkout flow: cart review, address selection, payment method entry, coupon validation, order summary, fraud check, payment processing, order confirmation email, and post-purchase upsell screen."
|
|
286
286
|
|
|
@@ -311,7 +311,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
311
311
|
- [ ] The remaining slices appear in a Deferred Items summary at Phase 8.
|
|
312
312
|
- [ ] `vscode_askQuestions` is used at Phase 8 to ask where to save deferred slices (not silently appended).
|
|
313
313
|
- [ ] TODO.md is created (or appended to) at the workspace root with a `## Deferred Stories` section containing a single `### Group:` heading for this split.
|
|
314
|
-
- [ ] The Group heading records the origin (
|
|
314
|
+
- [ ] The Group heading records the origin (refine-user-story, Phase 2 Step 3), the original checkout-flow objective, and the split rationale.
|
|
315
315
|
- [ ] Each of the 5 deferred slices appears as its own `#### ` subsection with Objective, Scope, Context captured so far, and a Suggested prompt to resume.
|
|
316
316
|
- [ ] The final output contains exactly one refined story (Slice 1), not all slices.
|
|
317
317
|
- [ ] Skill does NOT offer TODO.md for deferred items from an active initiative doc (this scenario has no initiative doc — condition satisfied).
|
|
@@ -321,7 +321,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
321
321
|
### Scenario 12: Phase 6 passes cleanly but Phase 7 implementer angles surface missing error paths and a security concern
|
|
322
322
|
|
|
323
323
|
**Trigger / Input**
|
|
324
|
-
You are an agent with the `
|
|
324
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. Phases 1–6 have completed for:
|
|
325
325
|
|
|
326
326
|
"Allow users to link their Google account to an existing account so they can sign in with Google."
|
|
327
327
|
|
|
@@ -360,7 +360,7 @@ Phase 6 converged without surfacing major gaps. The skill is now entering Phase
|
|
|
360
360
|
### Scenario 13: Context Enrichment — existing CRM system, domain inferred, URL provided, mid-phase probe fires
|
|
361
361
|
|
|
362
362
|
**Trigger / Input**
|
|
363
|
-
You are an agent with the `
|
|
363
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
364
364
|
|
|
365
365
|
"Delete contacts from Leads."
|
|
366
366
|
|
|
@@ -397,7 +397,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
397
397
|
### Scenario 14: Context Enrichment — new feature, no codebase, user pastes KR + interview excerpt, loop converges in 2 rounds
|
|
398
398
|
|
|
399
399
|
**Trigger / Input**
|
|
400
|
-
You are an agent with the `
|
|
400
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
401
401
|
|
|
402
402
|
"We need a way for field technicians to report equipment failures from their mobile device."
|
|
403
403
|
|
|
@@ -431,7 +431,7 @@ You are an agent with the `151-refine-user-story` skill loaded. The workspace ha
|
|
|
431
431
|
### Scenario 15: Context Enrichment — user skips entirely, Phase 2 proceeds, no fabrication
|
|
432
432
|
|
|
433
433
|
**Trigger / Input**
|
|
434
|
-
You are an agent with the `
|
|
434
|
+
You are an agent with the `refine-user-story` skill loaded. The workspace has no `.xdrs/` directory. The user says:
|
|
435
435
|
|
|
436
436
|
"Add a dark mode toggle to the settings page."
|
|
437
437
|
|