From d6d85dcbdff9c13fe19874196c67a8fa7fc58695 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 28 Aug 2026 10:26:30 -0700 Subject: [PATCH] feat(diagnosing-superpowers): case, report, bundle README, and issue templates Claude-Session: https://claude.ai/code/session_01DyaGKhTXvHNs2JgPhDktz7 --- .../templates/bundle-README.md | 44 +++++++++++ .../diagnosing-superpowers/templates/case.md | 50 ++++++++++++ .../diagnosing-superpowers/templates/issue.md | 49 ++++++++++++ .../templates/report.md | 78 +++++++++++++++++++ 4 files changed, 221 insertions(+) create mode 100644 skills/diagnosing-superpowers/templates/bundle-README.md create mode 100644 skills/diagnosing-superpowers/templates/case.md create mode 100644 skills/diagnosing-superpowers/templates/issue.md create mode 100644 skills/diagnosing-superpowers/templates/report.md diff --git a/skills/diagnosing-superpowers/templates/bundle-README.md b/skills/diagnosing-superpowers/templates/bundle-README.md new file mode 100644 index 000000000..cf8628bf0 --- /dev/null +++ b/skills/diagnosing-superpowers/templates/bundle-README.md @@ -0,0 +1,44 @@ +# Superpowers session diagnosis bundle + +Session: +Harness: Superpowers: () +Redaction level: skeleton | evidence | full +Built: + +## What this is + +A scrubbed record of a coding-agent session in which superpowers was +installed and something went wrong, prepared so that an agent or person +who was not present can decide whether superpowers contributed and, if so, +what to change. The report inside states what happened with `path:line` +evidence. By design it contains no diagnosis of superpowers and no proposed +fix; that is the reader's job. + +## Files + +- `report.md` — the diagnosis report (problem statement, verdict, + environment, sessions, timeline, findings, involvement, coverage notes). +- `case.md` — the case file the analysts worked from. +- `environment.json` — machine-readable copy of the environment section. +- `timeline.md` — the per-turn timeline. +- `findings/.md` — raw analyst findings per dimension. +- `transcripts/.md` — condensed per-turn rendering of each + examined session (never the raw JSONL). At *skeleton* level tool-result + bodies are replaced by `[tool result: , bytes, exit ]`; + at *evidence* level bodies are kept only for events cited in findings; at + *full* level all bodies are kept. +- `scrub-log.md` — every placeholder used and its category (never the + original value). + +## How to read it + +Start with `report.md` §1–2, then §7 (involvement) and the evidence lines +it cites, then the matching turns in `transcripts/`. `path:line` references +point at the original files on the reporter's machine; the same line +numbers are preserved in the condensed transcripts as `[L]` markers. + +## Redaction + +Placeholders look like ``, ``, ``, ``, +``, ``, ``; home paths are rewritten to `~/…`. The same placeholder +always refers to the same original value within this bundle. diff --git a/skills/diagnosing-superpowers/templates/case.md b/skills/diagnosing-superpowers/templates/case.md new file mode 100644 index 000000000..1a0e03c43 --- /dev/null +++ b/skills/diagnosing-superpowers/templates/case.md @@ -0,0 +1,50 @@ +# Case: + +Workspace: ~/.superpowers/diagnosing-superpowers// +Created: + +## Problem statement (agreed with your human partner) + + + +Goal is a superpowers bug report: yes | no + +## Sessions + +| Role | Session id | Absolute path | Lines | Bytes | Longest line (bytes) | First prompt (first 120 chars) | First timestamp | +|---|---|---|---|---|---|---|---| +| main | | | | | | | | +| subagent | | | | | | | | + +Rejected candidates: , or "none". + +Session still running at read time: yes | no (mtime , lines ) + +## Environment + +- OS: +- Harness: +- Models seen: +- Superpowers install root: ; version ; git sha +- Skill files read or injected during the session: + +| File (relative to install root) | sha1 (current file) | mtime newer than session? | +|---|---| + +- Other plugins / extensions / MCP servers configured: +- Instruction files present (paths only): + +## Context-safety rules for every reader of these files + +- Check `wc -lc` and long lines (`awk '{ if (length($0) > 100000) print NR, length($0) }'`) before reading. +- Never `cat` or `grep` for content. Line numbers and counts first + (`grep -n … | cut -d: -f1`), then small fields from specific lines + (`sed -n Np | jq -c '{…}'` or `| cut -c1-500`). +- Read-only: never modify, move, or delete a session file. +- In a subagent transcript, "user" is the parent agent. + +## Harness reference to use + + diff --git a/skills/diagnosing-superpowers/templates/issue.md b/skills/diagnosing-superpowers/templates/issue.md new file mode 100644 index 000000000..74a700758 --- /dev/null +++ b/skills/diagnosing-superpowers/templates/issue.md @@ -0,0 +1,49 @@ +- [x] I searched existing issues and this is not a duplicate (searched: ; closest: <#n title, or "none">) + +## Environment (required) + +| Field | Value | +|-------|-------| +| Superpowers version | () | +| Harness (Claude Code, Cursor, etc.) | | +| Harness version | | +| Your model + version | | +| All plugins installed | | +| OS + shell | , | + +## Is this a Superpowers issue or a platform issue? + +- [ ] I confirmed this issue does not occur without Superpowers installed + +Not reproduced without superpowers. Evidence for involvement is below; +the reporter has not established cause. + +## What happened? + +`.> + +## Steps to reproduce + +1. +2. +3. + +## Expected behavior + + + +## Actual behavior + + + +## Debug log or conversation transcript + +Session id(s): . A scrubbed bundle (redaction level: ) is +attached to this issue by the reporter, or available on request. +Superpowers involvement per the diagnosis report: , with +evidence at . This report does not propose a fix. + +--- +Filed with the `diagnosing-superpowers` skill. Model, harness, harness +version, and installed plugins are listed above. diff --git a/skills/diagnosing-superpowers/templates/report.md b/skills/diagnosing-superpowers/templates/report.md new file mode 100644 index 000000000..fa4f58e43 --- /dev/null +++ b/skills/diagnosing-superpowers/templates/report.md @@ -0,0 +1,78 @@ +# Session diagnosis: + +Report path: ~/.superpowers/diagnosing-superpowers//report.md +Written: + +## 1. Problem statement (REQUIRED) + + + +## 2. Triage verdict (REQUIRED) + + + +## 3. Environment (REQUIRED) + +- OS: +- Harness and version: +- Models seen: +- Superpowers install root / version / git sha: +- Skill files read or injected (sha1 table from the case file): +- Other plugins, extensions, MCP servers: +- Instruction files present (paths only): + +## 4. Sessions examined (REQUIRED) + +| Role | Session id | Absolute path | Lines | Bytes | +|---|---|---|---|---| + +Rejected candidates: , or "none". + +## 5. Timeline (REQUIRED) + +One row per human-typed prompt. Events column lists skills invoked, +subagents dispatched, compaction, errors, resumes, aborts. + +| Turn | Line | Time | Request (one line) | Events | +|---|---|---|---|---| + +## 6. Findings (REQUIRED, one subsection per dimension) + +Each finding: +``` +- finding: + evidence: — "" + turns: + confidence: high | medium | low +``` +A dimension with nothing to report says `none found — checked: `. + +### 6.1 Skill timeline +### 6.2 Plan adherence +### 6.3 Repeated work +### 6.4 Stumbles +### 6.5 Quality evidence +### 6.6 Request conflicts +### 6.7 Cost and time +### 6.8 Other plugins and skills used + +## 7. Superpowers involvement (REQUIRED) + +not indicated | possible | likely + +Evidence lines: . This section states involvement only. It +does not name a defect and does not propose a change. + +## 8. Coverage notes (REQUIRED) + +- Not read: +- Harness features unavailable: +- Session was in progress at read time: yes/no +- For your human partner to double-check: + +## 9. Similar sessions (only when requested) + +| Session id | Path | Date | Harness | Matched | Did not match | +|---|---|---|---|---|---|