mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios.git
synced 2026-06-27 13:01:50 +00:00
* Add /vertical-slice skill, prototype overhaul, and workflow integration - Add /vertical-slice skill for pre-production validation (Phase 4 gate) - Overhaul /prototype skill with two-mode design: concept prototype (Phase 1) vs vertical slice (Phase 4), with clearer differentiation and higher standards for VS - Update prototyper agent to own both prototype and vertical-slice workflows - Add prototype-report.md and vertical-slice-report.md output templates - Update WORKFLOW-GUIDE, quick-start, skills-reference, agent-coordination-map, and skill-flow-diagrams to fully integrate both skills into the 7-phase pipeline - Remove orphaned empty quick-prototype/ directory Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * sync v1 counts + polish Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add entity inventory flow, relax vertical-slice gate, improve UX authoring prompts - /asset-spec: new Phase 0b entity & screen inventory when no argument and no existing inventory — reads GDDs/art-bible, proposes categorized list, writes design/assets/entity-inventory.md collaboratively - /asset-spec: entity/character target falls back to inline user description when no source doc exists, rather than failing - /gate-check: vertical slice changed from blocking to CONCERNS-only when absent; built-but-broken slice still fails; adds entity inventory as gate artifact - /ux-design: convert inline approval prompts to AskUserQuestion for structured option capture at key authoring decision points - workflow-catalog.yaml: entity-inventory step added to pre-production; UX spec min_count raised to 3; vertical-slice and prototype marked required: false with updated descriptions - .gitignore: exclude marrow/ eval tooling directory Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Add missing AskUserQuestion widgets to 7 skills Audit found 11 decision points across 7 skills where structured option prompts were missing — using plain text, auto-selection, or no gate at all. Skills patched: - create-epics: per-epic approval + producer CONCERNS verdict - sprint-plan: producer CONCERNS verdict with scope/timeline options - milestone-review: AT RISK / OFF TRACK producer verdicts require acknowledgement - retrospective: existing-retro handling converted from plain text [A]/[B] - quick-design: classification confirmation + draft approve/revise/redirect - tech-debt add mode: category (6 options) + effort (S/M/L/XL) structured capture - regression-suite: no-arg mode selection instead of silent auto-detect - hotfix: severity confirmation gate before workflow begins Also added AskUserQuestion to allowed-tools headers for retrospective, quick-design, tech-debt, regression-suite, and hotfix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Prep v1 stable: fix WORKFLOW-GUIDE counts, stale agent names, and skill model fields - WORKFLOW-GUIDE.md: correct agent count (48→49), skill count (66/68→73), add 6 missing skills to Appendix B, fix Creative category count (2→4), replace 3 non-existent agent names with correct ue-*/unity-* specialists, add missing godot-csharp/gdextension specialists to hierarchy, fix production/stories/ paths → production/epics/ - coordination-rules.md: replace "not yet used" with opt-in env var note - quick-start.md: rename duplicate "Validate the concept" label → "Prototype the mechanic" - skill-flow-diagrams.md: remove duplicate legacy UX pipeline section - All 62 skills missing model: field now have explicit model: sonnet Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: comprehensive skill audit — consistency, UX, and flow gaps Two-pass audit fixing ~35 bugs across 41 files. Pre-production flow: - Brainstorm next-steps split into Path A (design-first) and Path B (prototype-first) — eliminates "prototype after architecture" confusion - /architecture-review added to pre-production flow in brainstorm and create-architecture handoffs - gate-check traceability check corrected to requirements-traceability.md - dev-story TR registry error now points to /architecture-review (not /create-epics) - start now writes production/stage.txt on first onboarding AskUserQuestion gaps filled: - balance-check, code-review, hotfix, day-one-patch, consistency-check all gain closing widgets and/or missing allowed-tools declarations - hotfix git branch creation now requires user confirmation - sprint-plan review-mode setup moved to Phase 0 (before gates run) - team-combat gains architecture→implementation approval gate - design-review APPROVED path consolidated from 3 widgets to 1 multiSelect All 9 team-* skills: - Phase 0 review-mode resolution added (solo/lean/full now respected) - team-audio output path fixed (design/gdd/ → design/audio/) - team-level final doc compilation delegated to level-designer subagent - team-narrative localization-lead added to composition list - team-qa sprint path fixed (flat files, not directories) - team-release NO-GO override captures written justification - team-live-ops Cancel verdict now explicitly BLOCKED Other fixes: - Art bible path standardized to design/art/art-bible.md (3 wrong refs) - AD-PHASE-GATE added to lean-mode skip list in director-gates.md - design-system duplicate 5d heading fixed; skeleton decline path added; mandatory agent spawns now respect review mode - story-readiness acceptance criteria thresholds now type-aware - create-stories gains multi-ADR and no-ADR handling guidance - consistency-check creates docs/consistency-failures.md on first run - retrospective frontmatter bash injection replaced with explicit Bash call - smoke-check ls -t gains PowerShell fallback - Conventional Commits format documented in coding-standards.md - gate-check: ADR acceptance gate, QA plan check, chain-of-verification tool-action requirement all added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: expose --review flag in argument-hints for all team-* skills All 9 team-* skills already implement Phase 0 review-mode resolution internally (full/lean/solo), but none advertised [--review full|lean|solo] in their argument-hint. Users had no way to discover the per-run override. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: add SECURITY.md with coordinated disclosure policy Defines scope, reporting process (GitHub private vulnerability reporting), contributor security guidelines for hooks/skills/agents, and 90-day coordinated disclosure timeline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: add CONTRIBUTING.md with framework contribution guidelines Covers what PRs are welcome, skill/hook/agent technical requirements, the collaborative principle, testing expectations, commit format, and platform compatibility requirements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: add v1.0.0-beta → v1.0 upgrade section to UPGRADING.md Documents the 17 commits since the beta tag: new /vertical-slice gate, entity inventory flow in /map-systems, AskUserQuestion widgets across 7 skills, --review flag exposure on team-* skills, bug fixes (#21, #36, #42, #43, #45), and the new CONTRIBUTING.md and SECURITY.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
245 lines
7.7 KiB
Markdown
245 lines
7.7 KiB
Markdown
---
|
|
name: bug-triage
|
|
description: "Read all open bugs in production/qa/bugs/, re-evaluate priority vs. severity, assign to sprints, surface systemic trends, and produce a triage report. Run at sprint start or when the bug count grows enough to need re-prioritization."
|
|
argument-hint: "[sprint | full | trend]"
|
|
user-invocable: true
|
|
allowed-tools: Read, Glob, Grep, Write, Edit
|
|
model: sonnet
|
|
---
|
|
|
|
# Bug Triage
|
|
|
|
This skill processes the open bug backlog into a prioritised, sprint-assigned
|
|
action list. It distinguishes between **severity** (how bad is the impact?) and
|
|
**priority** (how urgently must we fix it?), detects systemic trends, and
|
|
ensures no critical bug is lost between sprints.
|
|
|
|
**Output:** `production/qa/bug-triage-[date].md`
|
|
|
|
**When to run:**
|
|
- Sprint start — assign open bugs to the new sprint or backlog
|
|
- After `/team-qa` completes and new bugs have been filed
|
|
- When the bug count crosses 10+ open items
|
|
|
|
---
|
|
|
|
## 1. Parse Arguments
|
|
|
|
**Modes:**
|
|
- `/bug-triage sprint` — triage against the current sprint; assign fixable bugs
|
|
to the sprint backlog; defer the rest
|
|
- `/bug-triage full` — full triage of all bugs regardless of sprint scope
|
|
- `/bug-triage trend` — trend analysis only (no assignment); read-only report
|
|
- No argument — run sprint mode if a current sprint exists, else full mode
|
|
|
|
---
|
|
|
|
## 2. Load Bug Backlog
|
|
|
|
### Step 2a — Discover bug files
|
|
|
|
Glob for bug reports in priority order:
|
|
1. `production/qa/bugs/*.md` — individual bug report files (preferred format)
|
|
2. `production/qa/bugs.md` — single consolidated bug log (fallback)
|
|
3. Any `production/qa/qa-plan-*.md` "Bugs Found" table (last resort)
|
|
|
|
If no bug files found:
|
|
> "No bug files found in `production/qa/bugs/`. If bugs are tracked in a
|
|
> different location, adjust the glob pattern. If no bugs exist yet, there is
|
|
> nothing to triage."
|
|
|
|
Stop and report. Do not proceed if no bugs exist.
|
|
|
|
### Step 2b — Load sprint context
|
|
|
|
Read the most recently modified file in `production/sprints/` to understand:
|
|
- Current sprint number / name
|
|
- Stories in scope (for assignment target)
|
|
- Sprint capacity constraints (if noted)
|
|
|
|
If no sprint file exists: note "No sprint plan found — assigning to backlog only."
|
|
|
|
### Step 2c — Load severity reference
|
|
|
|
Read `.claude/docs/coding-standards.md` for severity/priority definitions if they
|
|
exist. If they do not exist, use the standard definitions in Step 3.
|
|
|
|
---
|
|
|
|
## 3. Classify Each Bug
|
|
|
|
For each bug, extract or infer:
|
|
|
|
### Severity (impact of the bug)
|
|
|
|
| Severity | Definition |
|
|
|----------|-----------|
|
|
| **S1 — Critical** | Game crashes, data loss, or complete feature failure. Cannot proceed past this point. |
|
|
| **S2 — High** | Major feature broken but game is still playable. Significant wrong behaviour. |
|
|
| **S3 — Medium** | Feature degraded but a workaround exists. Minor wrong behaviour. |
|
|
| **S4 — Low** | Visual glitch, cosmetic issue, typo. No gameplay impact. |
|
|
|
|
### Priority (urgency of the fix)
|
|
|
|
| Priority | Definition |
|
|
|----------|-----------|
|
|
| **P1 — Fix this sprint** | Blocks QA, blocks release, or is regression from last sprint |
|
|
| **P2 — Fix soon** | Should be resolved before the next major milestone |
|
|
| **P3 — Backlog** | Would be good to fix, but no active blocking impact |
|
|
| **P4 — Won't fix / Deferred** | Accepted risk or out of scope for current product scope |
|
|
|
|
### Assignment
|
|
|
|
For each P1/P2 bug in `sprint` mode:
|
|
- Identify which story or epic the fix belongs to
|
|
- Check whether the current sprint has remaining capacity
|
|
- If capacity exists: assign to sprint (`Sprint: [current]`)
|
|
- If capacity is full: flag as `Priority overflow — consider pulling from sprint`
|
|
|
|
For `full` mode: assign all P1 to current sprint, P2 to next sprint estimate,
|
|
P3+ to backlog.
|
|
|
|
### Deviation check
|
|
|
|
Flag bugs that suggest **systematic problems**:
|
|
- 3+ bugs from the same system in the same sprint → "Potential design or
|
|
implementation quality issue in [system]"
|
|
- 2+ S1/S2 bugs in the same story → "Story may need to be reopened and
|
|
re-reviewed before shipping"
|
|
- Bug filed against a story marked Complete → "Regression in completed story —
|
|
story should be re-opened in sprint tracking"
|
|
|
|
---
|
|
|
|
## 4. Trend Analysis
|
|
|
|
After classifying all bugs, generate trend metrics:
|
|
|
|
### Volume trends
|
|
- Total open bugs: [N]
|
|
- Opened this sprint: [N]
|
|
- Closed this sprint: [N]
|
|
- Net change: [+N / -N]
|
|
|
|
### System hot spots
|
|
- Which system has the most open bugs?
|
|
- Which system has the highest S1/S2 ratio?
|
|
|
|
### Age analysis
|
|
- How many bugs are older than 2 sprints?
|
|
- Are any S1/S2 bugs un-assigned (sprint = none)?
|
|
|
|
### Regression indicator
|
|
- Any bugs filed against previously-completed stories?
|
|
- Count: [N] regression bugs (story reopened implied)
|
|
|
|
---
|
|
|
|
## 5. Generate Triage Report
|
|
|
|
```markdown
|
|
# Bug Triage Report
|
|
|
|
> **Date**: [date]
|
|
> **Mode**: [sprint | full | trend]
|
|
> **Generated by**: /bug-triage
|
|
> **Open bugs processed**: [N]
|
|
> **Sprint in scope**: [sprint name, or "N/A"]
|
|
|
|
---
|
|
|
|
## Triage Summary
|
|
|
|
| Priority | Count | Notes |
|
|
|----------|-------|-------|
|
|
| P1 — Fix this sprint | [N] | [N] assigned to sprint, [N] overflow |
|
|
| P2 — Fix soon | [N] | Scheduled for next sprint |
|
|
| P3 — Backlog | [N] | Deferred |
|
|
| P4 — Won't fix | [N] | Accepted risk |
|
|
|
|
**Critical (S1/S2) unfixed count**: [N]
|
|
|
|
---
|
|
|
|
## P1 Bugs — Fix This Sprint
|
|
|
|
| ID | System | Severity | Summary | Assigned to | Story |
|
|
|----|--------|----------|---------|-------------|-------|
|
|
| BUG-NNN | [system] | S[1-4] | [one-line description] | [sprint] | [story path] |
|
|
|
|
---
|
|
|
|
## P2 Bugs — Fix Soon
|
|
|
|
| ID | System | Severity | Summary | Target Sprint |
|
|
|----|--------|----------|---------|---------------|
|
|
| BUG-NNN | [system] | S[1-4] | [one-line description] | Sprint [N+1] |
|
|
|
|
---
|
|
|
|
## P3/P4 Bugs — Backlog / Won't Fix
|
|
|
|
| ID | System | Severity | Summary | Disposition |
|
|
|----|--------|----------|---------|-------------|
|
|
| BUG-NNN | [system] | S4 | [one-line description] | Backlog |
|
|
|
|
---
|
|
|
|
## Systemic Issues Flagged
|
|
|
|
[List any patterns from Step 3 deviation check, or "None identified."]
|
|
|
|
---
|
|
|
|
## Trend Analysis
|
|
|
|
**Volume**: [N] open / [+N] net change this sprint
|
|
**Hot spot**: [system with most bugs]
|
|
**Regressions**: [N] bugs against completed stories
|
|
**Aged bugs (>2 sprints old)**: [N]
|
|
|
|
[If N aged S1/S2 bugs > 0:]
|
|
> ⚠️ [N] high-severity bugs have been open for more than 2 sprints without
|
|
> assignment. These represent accepted risk that should be explicitly reviewed.
|
|
|
|
---
|
|
|
|
## Recommended Actions
|
|
|
|
1. [Most urgent action — usually "fix P1 bugs before QA hand-off"]
|
|
2. [Second action — usually "investigate [hot spot system] quality"]
|
|
3. [Third action — optional improvement]
|
|
```
|
|
|
|
---
|
|
|
|
## 6. Write and Gate
|
|
|
|
Present the report in conversation, then ask:
|
|
|
|
"May I write this triage report to `production/qa/bug-triage-[date].md`?"
|
|
|
|
Write only after approval.
|
|
|
|
After writing:
|
|
- If any S1 bugs are unassigned: "S1 bugs must be assigned before the sprint
|
|
can be considered healthy. Run `/sprint-status` to see current capacity."
|
|
- If regression bugs exist: "Regressions found — consider re-opening the
|
|
affected stories in sprint tracking and running `/smoke-check` to re-gate."
|
|
- If no P1 bugs exist: "No P1 bugs — build is in good shape for QA hand-off." Verdict: **COMPLETE** — triage report written.
|
|
|
|
If user declined write: Verdict: **BLOCKED** — user declined write.
|
|
|
|
---
|
|
|
|
## Collaborative Protocol
|
|
|
|
- **Never close or mark bugs Won't Fix without user approval** — surface them
|
|
as P4 candidates and ask: "Are these acceptable as Won't Fix?"
|
|
- **Never auto-assign to a sprint at capacity** — flag overflow and let the
|
|
sprint owner decide what to pull
|
|
- **Severity is objective; priority is a team decision** — present severity
|
|
classifications as recommendations, not mandates
|
|
- **Trend data is informational** — do not block work on trend findings alone;
|
|
surface them as observations
|