its-magic 0.1.2-10
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/.cursor/agents/curator.mdc +21 -0
- package/.cursor/agents/dev.mdc +20 -0
- package/.cursor/agents/po.mdc +19 -0
- package/.cursor/agents/qa.mdc +19 -0
- package/.cursor/agents/release.mdc +19 -0
- package/.cursor/agents/tech-lead.mdc +21 -0
- package/.cursor/commands/architecture.md +29 -0
- package/.cursor/commands/auto.md +27 -0
- package/.cursor/commands/discovery.md +27 -0
- package/.cursor/commands/execute.md +32 -0
- package/.cursor/commands/intake.md +28 -0
- package/.cursor/commands/map-codebase.md +25 -0
- package/.cursor/commands/milestone-complete.md +24 -0
- package/.cursor/commands/milestone-start.md +26 -0
- package/.cursor/commands/pause.md +25 -0
- package/.cursor/commands/phase-context.md +25 -0
- package/.cursor/commands/plan-verify.md +26 -0
- package/.cursor/commands/qa.md +28 -0
- package/.cursor/commands/quick.md +24 -0
- package/.cursor/commands/refresh-context.md +26 -0
- package/.cursor/commands/release.md +29 -0
- package/.cursor/commands/research.md +28 -0
- package/.cursor/commands/resume.md +26 -0
- package/.cursor/commands/sprint-plan.md +30 -0
- package/.cursor/commands/verify-work.md +25 -0
- package/.cursor/hooks/README.md +13 -0
- package/.cursor/hooks/hook.py +197 -0
- package/.cursor/hooks.json +26 -0
- package/.cursor/plans/cursor-gsd-team-kit_8cfee9b8.plan.md +57 -0
- package/.cursor/remote.json +18 -0
- package/.cursor/rules/core.mdc +18 -0
- package/.cursor/rules/escalation.mdc +11 -0
- package/.cursor/rules/handoffs.mdc +10 -0
- package/.cursor/rules/quality.mdc +15 -0
- package/.cursor/scratchpad.md +34 -0
- package/.cursor/skills/its-magic/SKILL.md +39 -0
- package/.cursor/skills/its-magic/templates/acceptance.json +10 -0
- package/.cursor/skills/its-magic/templates/acceptance.md +7 -0
- package/.cursor/skills/its-magic/templates/architecture.json +11 -0
- package/.cursor/skills/its-magic/templates/architecture.md +14 -0
- package/.cursor/skills/its-magic/templates/decision.json +14 -0
- package/.cursor/skills/its-magic/templates/decision.md +19 -0
- package/.cursor/skills/its-magic/templates/handoff.json +6 -0
- package/.cursor/skills/its-magic/templates/handoff.md +12 -0
- package/.cursor/skills/its-magic/templates/milestone.json +7 -0
- package/.cursor/skills/its-magic/templates/phase-context.json +6 -0
- package/.cursor/skills/its-magic/templates/plan-verify.json +11 -0
- package/.cursor/skills/its-magic/templates/sprint.json +6 -0
- package/.cursor/skills/its-magic/templates/sprint.md +11 -0
- package/.cursor/skills/its-magic/templates/story.json +9 -0
- package/.cursor/skills/its-magic/templates/story.md +15 -0
- package/.cursor/skills/its-magic/templates/uat.json +15 -0
- package/.github/workflows/ci.yml +49 -0
- package/.github/workflows/deploy.yml +56 -0
- package/README.md +755 -0
- package/bin/its-magic.js +86 -0
- package/decisions/DEC-0001.md +21 -0
- package/decisions/DEC-0002.md +21 -0
- package/docs/engineering/architecture.md +354 -0
- package/docs/engineering/codebase-map.md +14 -0
- package/docs/engineering/context/phase-template.json +6 -0
- package/docs/engineering/decisions.md +6 -0
- package/docs/engineering/dependencies.json +5 -0
- package/docs/engineering/research.md +11 -0
- package/docs/engineering/runbook.md +32 -0
- package/docs/engineering/state.md +33 -0
- package/docs/product/acceptance.md +6 -0
- package/docs/product/backlog.md +7 -0
- package/docs/product/vision.md +46 -0
- package/handoffs/dev_to_qa.md +8 -0
- package/handoffs/po_to_tl.md +8 -0
- package/handoffs/qa_to_dev.md +6 -0
- package/handoffs/release_notes.md +14 -0
- package/handoffs/resume_brief.md +8 -0
- package/handoffs/tl_to_dev.md +7 -0
- package/installer.ps1 +189 -0
- package/installer.py +195 -0
- package/installer.sh +201 -0
- package/milestones/M0001/milestone.json +7 -0
- package/milestones/M0001/phases.json +9 -0
- package/milestones/M0001/progress.md +3 -0
- package/milestones/M0001/summary.md +3 -0
- package/package.json +38 -0
- package/scripts/generate-release-notes.ps1 +74 -0
- package/scripts/generate-release-notes.sh +63 -0
- package/scripts/release-all.ps1 +423 -0
- package/scripts/release-all.sh +226 -0
- package/sprints/S0001/plan-verify.json +5 -0
- package/sprints/S0001/progress.md +4 -0
- package/sprints/S0001/qa-findings.md +113 -0
- package/sprints/S0001/sprint.md +70 -0
- package/sprints/S0001/summary.md +46 -0
- package/sprints/S0001/tasks.md +35 -0
- package/sprints/S0001/uat.json +8 -0
- package/sprints/S0001/uat.md +8 -0
- package/sprints/quick/Q0001/summary.md +3 -0
- package/sprints/quick/Q0001/task.json +6 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Curator agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are the Curator. Keep context compact and artifacts current.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- `docs/engineering/state.md`
|
|
9
|
+
- `docs/engineering/decisions.md`
|
|
10
|
+
- Sprint summaries and handoffs
|
|
11
|
+
|
|
12
|
+
Outputs:
|
|
13
|
+
- Refreshed `docs/engineering/state.md`
|
|
14
|
+
- Refreshed `docs/engineering/decisions.md`
|
|
15
|
+
- Updated sprint summary
|
|
16
|
+
- `handoffs/resume_brief.md`
|
|
17
|
+
|
|
18
|
+
Rules:
|
|
19
|
+
- Avoid context bloat. Summarize and prune.
|
|
20
|
+
- Ensure pause/resume is reliable.
|
|
21
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Developer agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are the Dev. Implement tasks and maintain artifacts.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- `sprints/S0001/tasks.md`
|
|
9
|
+
- `handoffs/tl_to_dev.md`
|
|
10
|
+
|
|
11
|
+
Outputs:
|
|
12
|
+
- Code changes
|
|
13
|
+
- `sprints/S0001/summary.md`
|
|
14
|
+
- `docs/engineering/state.md`
|
|
15
|
+
- `handoffs/dev_to_qa.md` (when ready)
|
|
16
|
+
|
|
17
|
+
Rules:
|
|
18
|
+
- Implement one task at a time.
|
|
19
|
+
- Update summaries and state after each task.
|
|
20
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Product Owner agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are the PO. Your job is to clarify requirements and persist them.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- User idea, constraints, target audience
|
|
9
|
+
|
|
10
|
+
Outputs:
|
|
11
|
+
- `docs/product/vision.md`
|
|
12
|
+
- `docs/product/backlog.md`
|
|
13
|
+
- `docs/product/acceptance.md`
|
|
14
|
+
- `handoffs/po_to_tl.md`
|
|
15
|
+
|
|
16
|
+
Rules:
|
|
17
|
+
- Ask targeted questions until acceptance is concrete.
|
|
18
|
+
- Never leave critical info only in chat.
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "QA agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are QA. Validate acceptance and report findings.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- `handoffs/dev_to_qa.md`
|
|
9
|
+
- `sprints/S0001/summary.md`
|
|
10
|
+
|
|
11
|
+
Outputs:
|
|
12
|
+
- `sprints/S0001/qa-findings.md`
|
|
13
|
+
- `handoffs/qa_to_dev.md` (if issues)
|
|
14
|
+
- `docs/engineering/state.md`
|
|
15
|
+
|
|
16
|
+
Rules:
|
|
17
|
+
- Provide a clear test plan and findings.
|
|
18
|
+
- Escalate critical issues via decision gate.
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Release agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are Release. Prepare release notes and runbook commands.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- `sprints/S0001/summary.md`
|
|
9
|
+
- `docs/engineering/runbook.md`
|
|
10
|
+
|
|
11
|
+
Outputs:
|
|
12
|
+
- `handoffs/release_notes.md`
|
|
13
|
+
- `docs/engineering/runbook.md`
|
|
14
|
+
- `docs/engineering/state.md`
|
|
15
|
+
|
|
16
|
+
Rules:
|
|
17
|
+
- Ensure deploy commands are explicit before release.
|
|
18
|
+
- Keep release notes concise and actionable.
|
|
19
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Tech Lead agent"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are the Tech Lead. Define architecture, risks, and sprint plan.
|
|
6
|
+
|
|
7
|
+
Inputs:
|
|
8
|
+
- `docs/product/*`
|
|
9
|
+
- `handoffs/po_to_tl.md`
|
|
10
|
+
|
|
11
|
+
Outputs:
|
|
12
|
+
- `docs/engineering/architecture.md`
|
|
13
|
+
- `docs/engineering/decisions.md`
|
|
14
|
+
- `docs/engineering/state.md`
|
|
15
|
+
- `sprints/S0001/*`
|
|
16
|
+
- `handoffs/tl_to_dev.md`
|
|
17
|
+
|
|
18
|
+
Rules:
|
|
19
|
+
- Document tradeoffs and decision gates.
|
|
20
|
+
- Keep architecture minimal and practical.
|
|
21
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic architecture: define approach, risks, and decisions."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /architecture
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Product vision and acceptance
|
|
12
|
+
- Constraints and risks
|
|
13
|
+
- `docs/engineering/research.md`
|
|
14
|
+
|
|
15
|
+
## Outputs (artifacts)
|
|
16
|
+
- `docs/engineering/architecture.md`
|
|
17
|
+
- `docs/engineering/decisions.md`
|
|
18
|
+
- `docs/engineering/state.md`
|
|
19
|
+
- `handoffs/po_to_tl.md` (read)
|
|
20
|
+
|
|
21
|
+
## Stop conditions
|
|
22
|
+
- Major tradeoff requires a decision
|
|
23
|
+
- Unknown feasibility or data migration risk
|
|
24
|
+
|
|
25
|
+
## Steps
|
|
26
|
+
1. Define the minimal architecture and key components.
|
|
27
|
+
2. Record tradeoffs in decisions log.
|
|
28
|
+
3. Update engineering state and readiness.
|
|
29
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic auto: run phases sequentially until decision gate."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /auto
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- curator
|
|
9
|
+
- tech-lead
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- `AUTO_FLOW_MODE` and `PHASE_MODE` from `.cursor/scratchpad.md`
|
|
13
|
+
- Current product and engineering docs
|
|
14
|
+
|
|
15
|
+
## Outputs (artifacts)
|
|
16
|
+
- Updated phase artifacts for each step
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
- `handoffs/resume_brief.md` if stopped
|
|
19
|
+
|
|
20
|
+
## Stop conditions
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
- Missing critical input
|
|
23
|
+
|
|
24
|
+
## Steps
|
|
25
|
+
1. Read automation flags from scratchpad.
|
|
26
|
+
2. Run phases sequentially (intake -> discovery -> research -> architecture -> sprint plan -> plan verify -> execute -> QA -> verify work -> release -> refresh).
|
|
27
|
+
3. Stop at decision gate or missing info and write resume brief.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic discovery: collect design/UX inspiration and scope updates."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /discovery
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- po
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Design/UX references
|
|
12
|
+
- Competitive/market notes
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `docs/product/vision.md`
|
|
16
|
+
- `docs/product/backlog.md`
|
|
17
|
+
- `handoffs/po_to_tl.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Missing references
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
1. Capture references and UX notes in vision.
|
|
25
|
+
2. Add new stories or updates to backlog.
|
|
26
|
+
3. Refresh the PO -> TL handoff.
|
|
27
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic execute: implement tasks with artifacts and state updates."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /execute
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- dev
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `sprints/S0001/tasks.md`
|
|
12
|
+
- `handoffs/tl_to_dev.md`
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- Code changes
|
|
16
|
+
- `sprints/S0001/summary.md`
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
- `handoffs/dev_to_qa.md` (if ready)
|
|
19
|
+
|
|
20
|
+
## Stop conditions
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
- Missing task definition or unclear scope
|
|
23
|
+
|
|
24
|
+
## Steps
|
|
25
|
+
1. Implement one task at a time.
|
|
26
|
+
2. Update summary and engineering state.
|
|
27
|
+
3. Handoff to QA when ready.
|
|
28
|
+
4. If `AUTO_INSTALL_DEPS=1` in `.cursor/scratchpad.md`, install dependencies
|
|
29
|
+
via the appropriate package manager without prompting.
|
|
30
|
+
5. If `REMOTE_EXECUTION=1` and `.cursor/remote.json` is configured, use
|
|
31
|
+
remote/docker servers for heavy builds or tests when needed.
|
|
32
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic intake: clarify idea and capture story + acceptance."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /intake
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- po
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- User idea (text or voice transcription)
|
|
12
|
+
- Constraints, audience, success criteria
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `docs/product/vision.md`
|
|
16
|
+
- `docs/product/backlog.md`
|
|
17
|
+
- `docs/product/acceptance.md`
|
|
18
|
+
- `handoffs/po_to_tl.md`
|
|
19
|
+
|
|
20
|
+
## Stop conditions
|
|
21
|
+
- Missing acceptance criteria or unclear scope
|
|
22
|
+
- Decision gate triggered (see escalation rule)
|
|
23
|
+
|
|
24
|
+
## Steps
|
|
25
|
+
1. Ask targeted questions until the story and acceptance are concrete.
|
|
26
|
+
2. Persist the story and acceptance in product docs.
|
|
27
|
+
3. Write a PO -> TL handoff with scope and risks.
|
|
28
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic map codebase: analyze existing project before changes."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /map-codebase
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
- curator
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- Existing repository code and docs
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `docs/engineering/codebase-map.md`
|
|
16
|
+
- `docs/engineering/dependencies.json`
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Decision gate triggered
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Identify stack, structure, and key entry points.
|
|
24
|
+
2. Summarize architecture and conventions.
|
|
25
|
+
3. Capture dependencies and tooling.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic milestone complete: finalize milestone summary."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /milestone-complete
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- release
|
|
9
|
+
- curator
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- `milestones/M0001/summary.md`
|
|
13
|
+
- `handoffs/release_notes.md`
|
|
14
|
+
|
|
15
|
+
## Outputs (artifacts)
|
|
16
|
+
- Updated `milestones/M0001/summary.md`
|
|
17
|
+
- Updated `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Decision gate triggered
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Finalize milestone summary.
|
|
24
|
+
2. Confirm release notes and state.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic milestone start: create milestone tracking files."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /milestone-start
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
- curator
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- Milestone name, goals, scope
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `milestones/M0001/milestone.json`
|
|
16
|
+
- `milestones/M0001/phases.json`
|
|
17
|
+
- `milestones/M0001/progress.md`
|
|
18
|
+
- `milestones/M0001/summary.md`
|
|
19
|
+
|
|
20
|
+
## Stop conditions
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
1. Define milestone goals and scope.
|
|
25
|
+
2. List phases and intended outcomes.
|
|
26
|
+
3. Initialize progress and summary.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic pause: write checkpoint and resume brief."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /pause
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- curator
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Current sprint progress and state
|
|
12
|
+
|
|
13
|
+
## Outputs (artifacts)
|
|
14
|
+
- `docs/engineering/state.md`
|
|
15
|
+
- `sprints/S0001/progress.md`
|
|
16
|
+
- `handoffs/resume_brief.md`
|
|
17
|
+
|
|
18
|
+
## Stop conditions
|
|
19
|
+
- Missing state or progress updates
|
|
20
|
+
|
|
21
|
+
## Steps
|
|
22
|
+
1. Write a short checkpoint of current work.
|
|
23
|
+
2. Update sprint progress and state.
|
|
24
|
+
3. Write a resume brief with next actions.
|
|
25
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic phase context: capture phase preferences and constraints."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /phase-context
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- po
|
|
9
|
+
- tech-lead
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- Phase name (intake, discovery, architecture, sprint-plan, execute, qa, release)
|
|
13
|
+
- Preferences, constraints, UX requirements
|
|
14
|
+
|
|
15
|
+
## Outputs (artifacts)
|
|
16
|
+
- `docs/engineering/context/phase-<name>.json`
|
|
17
|
+
- Optional `docs/engineering/context/phase-<name>.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Missing phase name
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Ask for phase-specific preferences.
|
|
24
|
+
2. Write structured context JSON.
|
|
25
|
+
3. Summarize in a short markdown note if needed.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic plan verify: verify sprint tasks against acceptance."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /plan-verify
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `sprints/S0001/tasks.md`
|
|
12
|
+
- `docs/product/acceptance.md`
|
|
13
|
+
- `docs/engineering/architecture.md`
|
|
14
|
+
|
|
15
|
+
## Outputs (artifacts)
|
|
16
|
+
- `sprints/S0001/plan-verify.json`
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Tasks do not cover acceptance criteria
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
1. Check each acceptance criterion against tasks.
|
|
25
|
+
2. Record gaps and required changes in `plan-verify.json`.
|
|
26
|
+
3. Update state and handoff if needed.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic QA: test plan, findings, verify fixes."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /qa
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- qa
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `handoffs/dev_to_qa.md`
|
|
12
|
+
- `sprints/S0001/summary.md`
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `sprints/S0001/qa-findings.md`
|
|
16
|
+
- `handoffs/qa_to_dev.md` (if issues)
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Critical defects require decision
|
|
21
|
+
- Missing test plan coverage
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
1. Define a test plan and run verification.
|
|
25
|
+
2. Record findings and severity.
|
|
26
|
+
3. Update state and handoff to dev if needed.
|
|
27
|
+
4. Follow with `/verify-work` for user acceptance.
|
|
28
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic quick: execute a small task without full planning."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /quick
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- dev
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Task description
|
|
12
|
+
|
|
13
|
+
## Outputs (artifacts)
|
|
14
|
+
- `sprints/quick/Q0001/task.json`
|
|
15
|
+
- `sprints/quick/Q0001/summary.md`
|
|
16
|
+
- `docs/engineering/state.md`
|
|
17
|
+
|
|
18
|
+
## Stop conditions
|
|
19
|
+
- Decision gate triggered
|
|
20
|
+
|
|
21
|
+
## Steps
|
|
22
|
+
1. Define the task in `task.json`.
|
|
23
|
+
2. Implement the change quickly.
|
|
24
|
+
3. Write a short summary and update state.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic refresh context: compact state and decisions."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /refresh-context
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- curator
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Current sprint artifacts
|
|
12
|
+
- Decisions and handoffs
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `docs/engineering/state.md`
|
|
16
|
+
- `docs/engineering/decisions.md`
|
|
17
|
+
- `sprints/S0001/summary.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Missing critical artifacts
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Compact state and decisions into a short context pack.
|
|
24
|
+
2. Update sprint summary with current status.
|
|
25
|
+
3. Ensure handoffs and state are consistent.
|
|
26
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic release: prepare release notes and runbook updates."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /release
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- release
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `sprints/S0001/summary.md`
|
|
12
|
+
- `docs/engineering/runbook.md`
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `handoffs/release_notes.md`
|
|
16
|
+
- `docs/engineering/runbook.md`
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Deploy command missing for requested environment
|
|
21
|
+
- Decision gate triggered
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
1. Write release notes and versioning notes.
|
|
25
|
+
2. Update runbook commands if needed.
|
|
26
|
+
3. Update state and readiness.
|
|
27
|
+
4. If `AUTO_RELEASE_NOTES=1` in `.cursor/scratchpad.md`, generate
|
|
28
|
+
`handoffs/release_notes.md` via the release notes script.
|
|
29
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic research: gather references and risks before architecture."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /research
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
- po
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- `docs/product/vision.md`
|
|
13
|
+
- `docs/product/backlog.md`
|
|
14
|
+
- `docs/product/acceptance.md`
|
|
15
|
+
|
|
16
|
+
## Outputs (artifacts)
|
|
17
|
+
- `docs/engineering/research.md`
|
|
18
|
+
- `docs/engineering/decisions.md`
|
|
19
|
+
- `docs/engineering/state.md`
|
|
20
|
+
|
|
21
|
+
## Stop conditions
|
|
22
|
+
- Decision gate triggered
|
|
23
|
+
- Missing acceptance criteria
|
|
24
|
+
|
|
25
|
+
## Steps
|
|
26
|
+
1. Research relevant patterns, libraries, and risks.
|
|
27
|
+
2. Summarize findings in `research.md`.
|
|
28
|
+
3. Record any decisions and update state.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic resume: load context pack and continue work."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /resume
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- curator
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `docs/engineering/state.md`
|
|
12
|
+
- `docs/engineering/decisions.md`
|
|
13
|
+
- `sprints/S0001/summary.md`
|
|
14
|
+
- `handoffs/resume_brief.md`
|
|
15
|
+
|
|
16
|
+
## Outputs (artifacts)
|
|
17
|
+
- Updated `docs/engineering/state.md` (if needed)
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Missing resume brief or stale state
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Load the context pack and open decisions.
|
|
24
|
+
2. Summarize current status and next steps.
|
|
25
|
+
3. Hand off to the appropriate phase.
|
|
26
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic sprint plan: create sprint and atomic tasks."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /sprint-plan
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- tech-lead
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- Architecture and decisions
|
|
12
|
+
- Current backlog priorities
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `sprints/S0001/sprint.md`
|
|
16
|
+
- `sprints/S0001/tasks.md`
|
|
17
|
+
- `sprints/S0001/progress.md`
|
|
18
|
+
- `handoffs/tl_to_dev.md`
|
|
19
|
+
- `sprints/S0001/plan-verify.json` (after /plan-verify)
|
|
20
|
+
|
|
21
|
+
## Stop conditions
|
|
22
|
+
- Missing acceptance criteria
|
|
23
|
+
- Decision gate triggered
|
|
24
|
+
|
|
25
|
+
## Steps
|
|
26
|
+
1. Create a sprint scope and goals.
|
|
27
|
+
2. Break work into atomic tasks.
|
|
28
|
+
3. Write TL -> Dev handoff.
|
|
29
|
+
4. Run `/plan-verify` to check coverage.
|
|
30
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "its-magic verify work: guided user acceptance testing."
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /verify-work
|
|
6
|
+
|
|
7
|
+
## Subagents
|
|
8
|
+
- qa
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
- `docs/product/acceptance.md`
|
|
12
|
+
- `sprints/S0001/summary.md`
|
|
13
|
+
|
|
14
|
+
## Outputs (artifacts)
|
|
15
|
+
- `sprints/S0001/uat.json`
|
|
16
|
+
- `sprints/S0001/uat.md`
|
|
17
|
+
- `docs/engineering/state.md`
|
|
18
|
+
|
|
19
|
+
## Stop conditions
|
|
20
|
+
- Decision gate triggered
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
1. Convert acceptance criteria into testable UAT steps.
|
|
24
|
+
2. Record results and failures.
|
|
25
|
+
3. Update state with pass/fail summary.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# its-magic hooks
|
|
2
|
+
|
|
3
|
+
This folder contains a minimal hook dispatcher for Cursor.
|
|
4
|
+
|
|
5
|
+
Events handled:
|
|
6
|
+
|
|
7
|
+
- beforeShellExecution: blocks clearly dangerous commands
|
|
8
|
+
- beforeReadFile: warns on secret-like files
|
|
9
|
+
- afterFileEdit: tracks code edits vs context refresh
|
|
10
|
+
- stop: optional reminder to refresh context
|
|
11
|
+
|
|
12
|
+
Behavior is controlled via `.cursor/scratchpad.md`.
|
|
13
|
+
|