summaryrefslogtreecommitdiff
path: root/skills
AgeCommit message (Collapse)Author
2026-11-02Merge pull request #2654 from obra/fix/2277-systematic-debugging-fixturesDrew Ritter
fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277)
2026-11-02Merge pull request #2644 from obra/fix/brainstorming-questions-earn-their-placeDrew Ritter
brainstorming: ask why first, no filler questions, a design to react to (#2530)
2026-11-02Merge pull request #2608 from obra/fix/2524-relative-project-dirDrew Ritter
fix(brainstorming): resolve a relative --project-dir before start-server.sh cds (#2524)
2026-11-02Merge pull request #2607 from obra/fix/2429-sdd-invocation-textDrew Ritter
skills(sdd, executing-plans): run helpers by absolute path from the working tree (#2429, #2525)
2026-11-02Merge pull request #2606 from obra/fix/2429-sdd-repo-resolutionDrew Ritter
fix(sdd): helpers act on the current directory's repo like git, with -C to override (#2429)
2026-11-02Merge pull request #2605 from obra/fix/2436-task-brief-unclosed-fenceDrew Ritter
fix(sdd): task-brief refuses a brief that an unclosed code fence would run to EOF (#2436)
2026-11-02Merge pull request #2604 from obra/fix/2459-2496-task-brief-headingsDrew Ritter
fix(sdd): task-brief finds alphanumeric task IDs and explains non-English headings (#2459, #2496)
2026-11-02fix(systematic-debugging): ship pressure scenarios under tests/, not in the ↵fix/2277-systematic-debugging-fixturesJesse Vincent
skill (#2277) systematic-debugging installed CREATION-LOG.md and four pressure-test scenarios next to SKILL.md. Nothing in the skill links them, but agents read and grep installed skill directories, and the scenarios open with "This is a real scenario. You must choose and act". Move all five, unchanged, to tests/systematic-debugging/pressure-scenarios/, and add tests/skill-layout/test-no-dev-files-in-skills.sh, which fails if any skill directory ships a CREATION-LOG.md or a test-*.md file.
2026-10-29brainstorming: ask why first, ask no filler, put a design in front of them ↵fix/brainstorming-questions-earn-their-placeJesse Vincent
(#2530) 7.0.1 brainstorming ends every message with a question and re-asks what the request already settled (#2530). Blind-graded simulated conversations showed the filler, and also that cutting it naively costs the "why" conversation the skill exists for. - Ask a question only when the answer changes what gets built and nothing already answers it; otherwise state the call as a proposal. - Ask why first when they haven't said, as an open question; once the why is known, lay out nameable choices as concrete sketches with a pick. - Process steps (writing up, file locations, recon, how to show something) are the agent's calls, stated rather than asked. The visual companion is offered when the look itself is theirs to decide. - Read technical appetite from how they talk: options for people who raise the how, stated calls for people who talk outcomes. - When nothing is open as the first message is written and there's one sensible way, that message carries the short design for approval. The step list and its Red Flag row allow only that case. Frontmatter description, skip offer and design gate are unchanged. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23brainstorming: resolve a relative --project-dir before start-server.sh cdsfix/2524-relative-project-dirJesse Vincent
start-server.sh built SESSION_DIR, PID_FILE, LOG_FILE and BRAINSTORM_DIR from --project-dir as given, then ran `cd "$SCRIPT_DIR"` before using them. A relative project dir like `.` was re-rooted at the scripts directory, so the log and pid redirects failed and the server never reported server-started: "Server failed to start within 5 seconds". Resolve the project dir to an absolute path with `mkdir -p` + `cd && pwd` right before deriving the session paths. mkdir -p keeps the existing behavior of creating a project dir that doesn't exist yet (the Windows lifecycle test relies on it), CDPATH is cleared so a relative name can't resolve to some other directory, and `--` covers names starting with a dash. Works on bash 3.2 without realpath or readlink -f. Fixes #2524. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): task-brief refuses a brief an unclosed code fence would run to EOFfix/2436-task-brief-unclosed-fenceJesse Vincent
task-brief ignores Task headings inside fenced code blocks by toggling a flag on every ``` line. When a plan leaves a fence open (an edit deletes a closing fence), the flag stays set for the rest of the file, every later Task heading is invisible, and the requested task's brief runs to EOF. The script then reported success: #2436 saw a 177-line task come back as a 1159-line brief holding tasks 6 through 10, handed to an implementer as its requirements. The awk now notes whether a Task heading line appears inside the fence that is still open at EOF. If one does while the requested task is being captured, the task's end cannot be found, so task-brief deletes the partial output and exits 4, naming the line where the fence opened. If the open fence hides the requested heading itself, it names the fence before the existing not-found error (exit 3), and suppresses the "use the English word Task" hint, which would otherwise blame the plan's English headings for what the fence did. A fence left open that hides no Task heading changes nothing about the brief, so it is still written, with a warning on stderr. Real plans do this: in a corpus of 1,288 plans, refusing on any fence left open at EOF blocked three correct briefs in two plans, each ending in a stray ``` that hides no task. With this rule every brief in that corpus matches dev's. An unclosed fence in a later task leaves an earlier task's brief alone. The plan path reaches awk through the environment rather than -v, which would interpret the backslashes of a Windows path as escapes. The fence rule itself is unchanged, so this composes with #2304's CommonMark fence tracking: a correct parser still cannot close a fence the author never closed. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): task-brief says when a plan's task headings are not in Englishfix/2459-2496-task-brief-headingsJesse Vincent
task-brief recognizes only the English word `Task` in a task heading. writing-plans' template shows `### Task N:` but never says the word is machine-read, so a model writing a plan in Spanish writes `## Tarea 1:`. task-brief and task-start then report "task 1 not found in plan-es.md (no heading matching 'Task 1')", which reads as "this plan has no task 1" and sends the controller looking for a task that is on line 3 (#2496). When a plan has no Task headings at all, task-brief now prints, before the existing not-found line, that task headings must use the English word "Task" whatever the plan's language, and lists up to five headings shaped like tasks (`<word> <id-with-a-digit>`). A plan that has Task headings, just not the requested one, still gets only the not-found line, so asking for Task 9 of an eight-task plan stays quiet. This deliberately does not accept other words. Plans commonly carry `Phase 1`, `Chunk 2` and `Step 1` headings, and a word-agnostic rule would turn them into tasks. Keeping the word fixed in the plans themselves is a writing-plans wording change, which needs evals. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): task-brief recognizes alphanumeric task IDs and matches them wholeJesse Vincent
task-brief only treated `Task` followed by digits as a task heading, and found the requested task by splicing TASK_NUMBER into a regex followed by `([^0-9]|$)`. Plans that number tasks by lane (`### Task A1`, `### Task B2`) could not be extracted at all: `task-brief plan.md A1` exits 3 "task A1 not found" (#2459). Among 1,288 distinct plans in Jesse's own repositories, 19 plans have such headings (262 headings, IDs like A1, M3a, F.2, W0), and none of those tasks could be briefed. The same splice made the match a prefix match: Task 6 also took a sibling Task 6b (#2175), Task 1 took Task 1.1 and 1.2, Task 2.1 took Task 201 because `.` is any character, and an ID like `6(` crashed awk (#2405). A task heading is now `Task` followed by an ID made of letters and digits, optionally dot-separated, that contains at least one digit. The digit is what keeps `## Task Overview` or `#### Task notes` from becoming a task boundary. awk extracts the heading's ID and compares it to TASK_NUMBER as a whole string, so TASK_NUMBER never reaches awk as a regex. A deeper Task heading whose ID extends the requested one with a letter or dot is a sub-task and stays in the parent's brief, as the prefix match happened to do before: plans in that corpus nest `#### Task 1a` under `### Task 1`, and a Task 1 brief without its sub-tasks would lose most of its requirements. A sub-task's own brief ends at its next sibling. Depth alone is not the test, because plans also drift from `## Task 1` to `### Task 2`, and those are siblings. The heading word stays the English literal `Task`, which is what writing-plans' template uses. Widening it to any word would turn the `Phase 1`, `Chunk 2` and `Step 1` headings that plans commonly carry (308, 182 and 56 of them in the same corpus) into tasks. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23docs(sdd): say "by its absolute path" at every helper invocation, and test itfix/2429-sdd-invocation-textJesse Vincent
The SKILL.md change left skill-relative helper calls elsewhere under skills/: final-review.md (the final whole-branch review package and its re-review), fix-loop.md (the scoped re-review), the reviewer prompt templates' placeholder descriptions, and executing-plans' task-start and task-done. Each now carries the same qualifier: run the script by its absolute path, from the working tree you're executing in. Nothing else in those files changes. tests/sdd-helper-paths/test-sdd-helper-paths.sh is a structural test that fails when any skills/ markdown names a helper (sdd-workspace, task-brief, review-package, task-start, task-done) by a relative scripts/ path without "by its absolute path" within the next few lines. It failed on 8 references before this change and passes on all 14 after. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23docs(sdd): run every SDD helper by absolute path from the working treeJesse Vincent
Following the code change that makes the helpers act only on the current directory's working tree, give SDD's other skill-relative `bash scripts/<helper>` invocations (sdd-workspace, task-brief, the final-review review-package, and the DONE step's review-package) the same short qualifier executing-plans now uses: run it by its absolute path, from the working tree you're executing in. In the cwd eval the one agent that cd'd into the skill directory did it first at the sdd-workspace line, which never said "from this skill's directory". Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23docs(sdd): stop pointing script invocations at the skill directoryJesse Vincent
SDD's DONE step said to run review-package "from this skill's directory", and executing-plans named the scripts by ../subagent-driven-development paths relative to its own skill directory. The scripts act on the git repository of the current directory, like git, so an agent that cd's into the skill directory moves them off the working tree it is executing in: in 6.3 that silently wrote SDD state into the plugin cache; now they fall back to the plan's repository or stop with the no-repo error. Drop "from this skill's directory" and say to run executing-plans' two cross-skill scripts by absolute path from the working tree being executed in. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): append git's own error line to the no-repo messagefix/2429-sdd-repo-resolutionJesse Vincent
sdd-repo ran git with stderr discarded, so every git failure became "must run from inside the git working tree ... run 'git init'". Where git refuses a working tree the caller is actually inside (dubious ownership on another owner's, FAT, network or WSL /mnt/c checkout; git missing from PATH; the cwd inside .git), that message is false, points at git init in an existing project, and hides the one line naming the real fix. dev printed git's fatal, so this was a diagnostic regression. The shared message stays, and git's first stderr line from whichever check failed now always follows it as "git said: <line>", with no per-case branches: SDD scripts must run from inside the git working tree ... then rerun. git said: fatal: detected dubious ownership in repository at '/r' Tests: every no-repo assertion now requires the second line (a plain non-repo dir gives "git said: fatal: not a git repository"), and a new test simulates dubious ownership with git's GIT_TEST_ASSUME_DIFFERENT_OWNER knob (no root or second uid needed; it skips if the installed git ignores the knob). Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): act on the cwd's working tree only, drop the plan-repo fallbackJesse Vincent
sdd-repo fell back to the plan file's repository when the current directory was outside any repository. That made the plugin-cache case silently succeed somewhere: an agent that cd'd into the skill directory and passed an absolute plan path got whichever checkout that path pointed into. With the plan in the main checkout (where writing-plans leaves it) and execution in a linked worktree, that is the #2429 wrong-worktree bug again, with exit 0. A real session (sdd-cwd-eval sdd-A-5) took exactly this path and only landed in the right place because its plan path happened to be the worktree's. The SDD and executing-plans helpers now pick their repository the way git does: the current directory's working tree, or DIR when given -C DIR. Outside any working tree, sdd-workspace, task-brief, review-package, task-start and task-done all stop with the shared message and write nothing, even when the plan's absolute path is inside a repository. sdd-repo no longer takes PLAN_FILE, since the plan has no say. The two "outside any repository ... uses the plan's repository" tests and the task-start/task-done fallback tests become assertions that the shared message comes out and nothing is written, in the cwd or the plan's repository. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): one no-repo message that puts "run from your working tree" firstJesse Vincent
sdd-repo's no-repository message told every caller to run 'git init'. That is the right fix for a new project, but the other way to reach it is standing in the wrong directory, such as the plugin's own skill directory after reading "from this skill's directory" literally. There, 'git init' would turn the plugin cache into a repository and hide the real mistake. task-start and task-done were worse. They still read HEAD and BASE in the bare cwd while the brief and ledger went through sdd-repo. From a non-repo cwd with the plan in a repo that has commits, task-start wrote the brief into the plan's repo, then printed git's fatal plus "HEAD has no commit yet ... make an initial commit first" and exited 2. task-done printed git's fatal. review-package in a repo with no commit said "bad BASE: HEAD~1". Every helper that can hit this (sdd-workspace, task-brief, review-package, task-start, task-done) now stops with the same message from sdd-repo, naming the current directory and offering init-and-commit only as the new-project case: SDD scripts must run from inside the git working tree you're executing in, with at least one commit (current directory: <PWD>). If this is a new project, run 'git init' and make a first commit, then rerun. sdd-repo gains --with-commit, which also refuses a repository whose HEAD has no commit. review-package, task-start and task-done pass it because they need HEAD as a BASE or a review range; sdd-workspace and task-brief do not, so a brief can still be written right after git init. task-start and task-done now read HEAD and BASE with git -C in the repository sdd-repo names. Resolution is otherwise unchanged: the cwd's repo, else the plan's, else exit 2. sdd-repo is now executable like its siblings. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23fix(sdd): pick the scripts' repository deliberately, add -C DIR, explain a ↵Jesse Vincent
missing repo The SDD helpers found their repository with a bare `git rev-parse --show-toplevel` in the caller's cwd, and review-package ran every git command there too. Three reports trace back to that one line: - #2429: outside any repository (the skill's own directory in a 7.0 package has no .git), sdd-workspace fed `cd` an empty path. bash 5.2 treats that as a no-op and wrote the workspace into the cwd after printing git's bare fatal; Git Bash failed with "cd: null directory". A controller working on worktree B from worktree A had no way to name B. - #1799: the only way to aim review-package at a worktree was a `cd <worktree> ; review-package ...` compound, which harnesses cannot allowlist because the path and BASE change on every run. - #2242: in a greenfield directory with no repository, task-brief and sdd-workspace printed git's fatal and then carried on in the cwd (or crashed, depending on bash), review-package said "bad BASE: HEAD~1", and task-start printed an empty BASE with exit 0. A new sdd-repo helper is the single place that picks the repository: the cwd's working tree (or -C DIR's), exactly as git does. Anywhere else it stops with exit 2 and one shared message. sdd-workspace and review-package both use it, so they cannot disagree. The cwd still wins over the plan's location on purpose: writing-plans leaves the plan uncommitted in the main checkout, so an executor working in a linked worktree passes the main checkout's plan path, and its workspace and commits belong to the worktree. Resolving from PLAN_FILE first (draft #2439) breaks exactly that flow: review-package then diffs the main checkout and fails with "empty commit range". sdd-workspace, task-brief and review-package take an optional leading `-C DIR` that runs them as if started in DIR, as git -C does, so a caller can name another worktree in one allowlistable command. Each script resolves its own directory before the cd, so the documented `bash scripts/review-package` form from the skill directory keeps working with -C. PR #1809's version cd's first and then fails to find sdd-workspace (exit 127) in that form. task-start now refuses (exit 2) to print a BASE when HEAD has no commit, instead of printing "base: HEAD" or "base: " with exit 0. Co-authored-by: citizen204 <citizen204@users.noreply.github.com> Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-22fix(sdd): print a Windows-readable workspace path (#2307)fix/2307-sdd-scripts-windowsJesse Vincent
On Windows, sdd-workspace printed the workspace in MSYS form (/c/Users/... or /tmp/...). Every helper path derives from that line: task-brief's "wrote", review-package's diff path, executing-plans' task-start "brief:". PowerShell resolves /c/Users/x as C:\c\Users\x, so Test-Path and Get-Content on any of them failed. That is the shell an agent gets from Claude Code's PowerShell tool and from Copilot CLI on Windows. Reproduced on Windows 11 from PowerShell and from Claude Code 2.1.308's PowerShell tool. When cygpath is present (Git Bash, MSYS2, Cygwin), print the path through `cygpath -m`, which gives C:/Users/.... PowerShell, cmd and Claude Code's Read tool all accept that form, and so does bash, so the sibling scripts that build file names on top of it keep working. Elsewhere the output is unchanged. Only the printed line changes. The plan-path markers keep pwd -P's spelling, so workspaces created before this change, including absolute markers for out-of-repo plans, still match their plans. PR #2369 converted root and the plan path too, which would rewrite those absolute markers and orphan existing workspaces for out-of-repo plans. Tests: physical_path in both suites now spells paths the way the scripts print them, and test-sdd-workspace adds a check that PowerShell can open the printed workspace and brief paths. That check runs on Windows and is a no-op elsewhere. On Windows the suites failed 10 and 1 assertions before the fix, and both pass after. Co-authored-by: hzxxxx <hhuihihiux@users.noreply.github.com> Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-21brainstorming: lay out approaches, write a design doc at every size, and ↵Jesse Vincent
never skip without consent (#2530) (#2571) Follow-up to #2560. Users on #2530 reported that brainstorming still skips approaches and the spec and jumps to implementation. Against dev (which includes #2560), the gallery scenario reproduced it: the design doc was skipped without consent in 24 of 24 runs. - A checklist before implementing: approaches in their own message and a pick, the design doc, its approval, then writing-plans. A spike they agreed to and an explicit opt-out aren't implementing. - Every size gets a design doc; a small change gets a short one covering what was already discussed. Each doc has an Approaches part. - For a detailed request, the first message echoes it back, flags anything they may not have considered that changes it, and leaves the how for later. - Questions are specific and Socratic and say why they're asked. - Red flags for writing the doc before the approaches and for treating an unwritten doc as approved.
2026-10-21subagent-driven-development: move situational content to references/ so ↵Jesse Vincent
SKILL.md survives compaction (#2565) After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). SDD was 32,358, so everything from the fix loop on (the five-round cap, the breaker, the ledger round line, the final review's single fix wave, Finish) was gone for the rest of a long session. One reported task ran 18 fix rounds after that. Content SDD only needs at particular moments now lives in references/, behind a pointer at the step that needs it: fix-loop.md (read before every round), final-review.md (with Finish), handling-reports.md (non-DONE statuses), resuming.md (an existing ledger), preflight.md (the conflict scan before Task 1), batching.md, and cannot-verify.md. Those reads come fresh from disk, so they don't depend on what survived compaction. The Process graph shows the fix loop and final review as pointer nodes, and the illustrative Example Workflow is gone. SKILL.md is 19,506 bytes. tests/skill-size/test-skill-size.sh fails when any SKILL.md reaches 20,000 bytes. It still fails for writing-skills and executing-plans. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-21writing-skills: move supporting docs and situational guidance into ↵Jesse Vincent
references/ (#2564) * writing-skills: move supporting docs into references/ The repo keeps a skill's on-demand docs in references/ (using-superpowers, diagnosing-superpowers, subagent-driven-development). writing-skills had anthropic-best-practices.md, persuasion-principles.md, testing-skills-with-subagents.md, graphviz-conventions.dot and examples/CLAUDE_MD_TESTING.md at the skill root; they move unchanged except for the links between them. render-graphs.js is a tool and stays. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F * writing-skills: move situational guidance to references/ so SKILL.md fits under the compaction cut After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). writing-skills was 26,623 bytes. Guidance it only needs at particular moments now lives in references/, behind a pointer at the moment that needs it: - discovery.md: the SKILL.md template and all of Skill Discovery Optimization (description, keywords, naming, token budgets, cross-references). Read when writing or changing frontmatter, naming, or size. The rule agents break most, that a description names triggering conditions and never the workflow, stays in SKILL.md too. - bulletproofing.md: closing loopholes, spirit vs letter, the rationalization table and red flags. Read when the baseline failure is a discipline failure, as Match the Form to the Failure already scopes it. - flowcharts.md: when a flowchart earns its place, conventions, rendering. SKILL.md is now 16,738 bytes. quick-evals/writing-skills/write-a-skill.py (superpowers-evals) has each rep write a new skill from supplied baseline results. Opus 5.5, 3 reps per scenario, v7.0.0 vs this change: every written skill has a 'Use when' description with no workflow summary (124-248 chars), and every discipline skill tables all five baseline rationalizations and has a red-flags section, on both arms. On this change every rep read the reference its scenario calls for (6/6). Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-21executing-plans: drop the Example Workflow so SKILL.md fits under the ↵Jesse Vincent
compaction cut (#2563) After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). executing-plans was 20,405 bytes, so its last lines fell past the cut. The Example Workflow was the redundant part: it replayed rules the sections above already state (task-start/task-done, rulings in the ledger, re-grading, the single fix pass, the final message's two lists). SKILL.md is now 18,103 bytes. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-20Templates: require a human-written summary and the filer's instructionsfix/issue-templates-human-summaryJesse Vincent
Agent-filed issues and PRs arrive with no human fingerprint and no record of what the agent was told to do. The three issue templates now carry, right after the duplicate-search checkbox, a "Who's filing" section asking who the filer is and what their human partner asked for, and a "Human-authored summary" under 200 words that a human writes in their own words. The PR template gets the same summary and a line for the partner's instructions under its existing "Who is submitting" table. The bug report also asks how the "does not reproduce without Superpowers" checkbox was verified. The PR template, AGENTS.md, and the README now say agent-written PRs that fix issues filed by someone else are not accepted unless a maintainer asked for one, including when the partner hit the same problem: the report goes on the existing issue instead. AGENTS.md previously told agents to "pick ONE issue" from the tracker, which invited exactly that. The Session Diagnosis Report issue template is removed. The diagnosing-superpowers skill supplies its own issue body, which replaces the template body except in the oversize-URL fallback, so the template's only lasting effect was applying the automated-issue-report label for reporters without push access. The skill's prefilled link now lands on bug_report.md, and the skill's footer still marks skill-filed issues. The skill's own issue template carries the same two sections, since the repo template never reached skill-filed issues. "Who's filing" names the filing session's model and harness and quotes the request from that session, because the diagnosed session's first prompt already appears under steps to reproduce and may come from another harness; the footer says which section holds which. The summary slot is reserved for the partner's own words, with a trim request rather than an edit when they run long, and the approval gate in SKILL.md refuses to file while that slot holds a placeholder. The fixed "reporter has not tried reproducing" sentence becomes the template's "How I verified" line, with the box ticked only when a transcript shows the problem did not recur. The design spec's issue-filing section follows. Checked with fresh Sonnet agents filling the skill template from a synthetic diagnosis: eleven runs over three drafts, three on the final wording with the amended gate in context. Of the four told by their partner to skip the write-up or file overnight, none drafted the summary and none filed. On the final wording, the filer's model and the diagnosed Codex session's model landed in the right sections, a partner's untranscribed account of a run without Superpowers was recorded with the box left unticked, and a 216-word summary drew a request to trim rather than an edit. Also along for the ride: the feature request's chooser text says "improvement" instead of "addition", and the PR template's test table heading is plural. Claude-Session: https://claude.ai/code/session_01TfpSRkih629AUwvFyTFr9c
2026-10-19brainstorming: make 200 words a target to aim for, not a limitJesse Vincent
Jesse's call. 3 reps each on explicit-request, phased-spec and detailed-new-project: Opus 223-261 words (was 183-237 with 'stays under'), Sonnet 245-357 (was 179-284). One question per reply and the closing offer placement are unchanged. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: reflow the playback bulletJesse Vincent
Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: move the check-in to a light closing offer, cap at 200 wordsJesse Vincent
Jesse's calls on the third review round: - The playback cap goes to 200 words, since naming real alternatives needs the room. - The skip offer moves from the opening line to a light one-line offer after the question ('Or if you'd rather I just dive in, say so.'), and how the message ends now has a positive branch for each case. With only a closing conditional, 5/12 Claude reps on explicit requests picked up the offer; with both branches spelled out, 0/12, while 12/12 reps where the user didn't ask for brainstorming still get it. - 'You never need to quote this skill to your human partner.' Astra had quoted the skill at the user in 3/12 runs; 0/34 after. Opus and Sonnet, 3 reps each across four scenarios. Claude playbacks run 183-284 words, so the 200 cap is a target more than a limit. Astra was not rerun on the final wording: the Codex subscription returned 429 on every call. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: alternatives only for real forks, checked against the projectJesse Vincent
Transcript reviews of the first alternatives round found strawman alternatives ('Node or Go, neither makes it smaller'), an offer to dig in in only 2/27 playbacks, and 6/6 Claude explicit-request reps recommending a transaction rollback that the fixture's own commit() and file-creating connect() break. Alternatives are now for forks you'd genuinely hesitate between, with obvious defaults stated in a clause; picks get checked against what the project does; and the first-message bullet itself carries the one-clause alternative and the offer to dig in. 3 reps each, Opus and Sonnet: offer to dig in 6/18 (was 2/18); read-only plus seen-set picked 2/6 on explicit-request (was 0/6); Claude playbacks still 161-241 words. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: recommend a way to build it and name the alternatives consideredJesse Vincent
Jesse wants brainstorming to propose an approach and reference the alternatives it weighed, because models reason better when they have to think through real alternatives before picking one. 'Think wide privately' becomes 'Think wide, then recommend': propose the recommended approach, name the alternatives and their trade-offs, and offer to dig into them. It stays scoped to how it gets built; what they want still starts with them describing. In the first-message playback, a guess about how to build it becomes that recommendation. Before, 0/8 branch playbacks on alexxburg's #2530 prompt named any alternative. After, 3 reps each across four scenarios: Opus and Sonnet name alternatives in 18/18 playbacks, gpt-6-astra in 5/9. Claude playbacks grew to 148-211 words. The first-message harness gains detailed-new-project (alexxburg's prompt in an empty repo). On v7.0.0 Opus and Sonnet asked 'the moment you'd use this' or 'what happens with the PNG' 6/6; the branch plays back and asks about the jobs table and what 'live' means 6/6. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: key the skip offer on the user's message and spell out the ↵Jesse Vincent
playback ending A cross-model run (Sonnet 5.5, Haiku 5.5, Fable 5.1, Codex gpt-6-luna and gpt-6-astra) and two transcript reviews found three wording gaps: - Claude models ignored the 150-word cap by listing every guess. The cap now covers the whole message and the playback carries the two or three guesses that matter most. - 'Invite corrections and ask one question' got half-followed: Codex dropped the invitation, Claude added a second question. It's now one line inviting corrections, then one question. - 'Fired on its own' doesn't map to Codex, where every skill load is the agent's own read of SKILL.md; Luna dropped the check-in once. The skip offer now keys on whether the user's message asked for brainstorming or a design discussion. 3 reps each on Opus 5.5, Sonnet 5.5, gpt-6-luna, gpt-6-astra: no skip offer on explicit or phased requests (24/24), check-in when the user didn't ask (12/12), recon before asking (24/24). Playback lengths: Sonnet 124-161, Opus 141-204, Codex 57-116 words. Astra now invites corrections 6/6 (was 0/6). Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: keep the playback short and end on a design questionJesse Vincent
Two transcript reviews of the first round found the playback ran 243-347 words, mostly reciting the request or spec back, and 3 of 5 explicit requests still closed on a why question because the branch was keyed on 'said what and why'. The branch now keys on what they want, caps the playback at 150 words of findings and guesses, and ends by inviting corrections and asking the open design choice that most changes what gets built. Opus 5.5, 5 reps each: replies 154-216 words, corrections invited 10/10, design question 8/10 (two explicit-request reps still ask 'the last time you wished you had this'), auto-trigger check-in 5/5. The first-message harness now runs Codex too (plugin staged as superpowers@debug under an isolated CODEX_HOME, as the evals do) and puts the agent and model in the results directory name. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: look first, and only offer to skip when it fired on its ownJesse Vincent
In 7.0.0 every brainstorming session opened with the same two lines: an offer to skip the questions and an open 'tell me about the moment' question (#2530). It fired even when the user had asked for brainstorming by name, had a spec or plan in hand, or had already said what and why, and it asked before looking at the project. Now, in an existing project or with context the user supplied, the agent reads what they referred to before its first message. The skip offer only appears when the skill fired on its own. When what and why are already established, the agent plays back its understanding and asks what's wrong or missing, since specs are often incomplete; otherwise it still opens with one question that gets them describing. tests/brainstorming-first-message/run.py runs the opening turn of three evals scenarios in headless Claude Code (Opus 5.5, isolated HOME). Against 7.0.0, 5 reps each: skip offer 15/15 including both explicit requests, no code read before asking on the explicit request 5/5, playback 0/10. With this change: skip offer 0/10 on explicit requests and 5/5 when auto- triggered; recon and a grounded playback 10/10 on the explicit and phased-spec scenarios. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-09brainstorming: close the skip-path gap in #2482's defaults rule (#2483)ada-sen
* brainstorming: close the skip-path gap in #2482's defaults rule The opt-out line in Your First Message let a user skip the whole skill, including #2482's rule that stated defaults get said out loud. On the skip path, state any significant how-it-gets-made choice (platform, language, medium) in one plain line before building. #2482 also added a How it gets made paragraph that restates the existing which parts of the how they want to decide bullet in Ground to cover almost word for word. Drop the redundant bullet: the paragraph already covers that ground, plus the genuinely new instructions (state defaults plainly, build on what they already have, record your own calls as yours and never as agreed, strong-views users talk it through while users counting on you get defaults). * brainstorming: use parentheses instead of emdashes in the skip-path line --------- Co-authored-by: Jesse Vincent <jesse@fsck.com>
2026-10-08brainstorming: find out which choices about how it gets made they want to ↵Jesse Vincent
own (#2482) * brainstorming: ask which technology choices they want to make A session asked to design an iOS app never discussed platform or stack and built a web app with a home-screen icon. Brainstorming now finds out early which technology choices the person wants to make and which they're handing over: talk it through with a technical partner, pick sensible defaults and say them plainly for someone who isn't, and base defaults on an existing project's stack. The Red Flags row on sensible defaults now says to state them rather than avoid them. * brainstorming: generalize technology guidance to how it gets made Non-software projects (a painting, a cake) need the same move: find out which medium, tools, materials and resources they want to choose, which they're handing over, and what they already have. Software keeps its examples: platform, programming language, libraries.
2026-10-06brainstorming: rebuild around drawing out intent (#2463)Jesse Vincent
* docs: intent doc for brainstorming rebuild Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * docs: spike exemption to the brainstorming gate Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: rebuild around drawing out intent Replaces the spike/bounded/architectural router with an intent-first conversation: open describing questions, recon offers, playback in 200-300 word chunks, then sizing (quick task / small change / project with a written design). The spec reviewer prompt becomes a builder check that asks what a builder would still need to know. Adds tests/brainstorming/first-turn.sh, a first-turn micro-test with no-skill and skill arms. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: multi-turn brainstorming driver with simulated humans Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: harder small-change scenario; clearer launch failure Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: tighter opening, wait for builder check, reason from the why Round 1 multi-turn runs: the builder check went to a background subagent and stalled the conversation; the opening restated the request; one run proposed CLI flags after hearing the tool runs from cron. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: builder check gates the handoff, not the reply; README Claude Code subagents run in the background, so the subject can't block on the builder check. The skill now says what matters (don't hand over the document until the check is back), and converse.sh lets the simulated human wait for the subject's follow-up turn instead of nudging it. Also fixes converse.sh dying before its summary when the work dir has no commits. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: split multi-project requests and take them one at a time Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: show it when the playback describes something visual Across 13 multi-turn runs neither skill ever offered the visual companion, even for a kids' tablet screen. Tying the offer to an observable moment (talk turns to how something looks, or a playback chunk describes it) got offers in 2/3 runs, each as its own message, none upfront. The simulated human now declines browser offers so test runs don't open tabs. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: opt-out, spike, and multi-project brainstorming scenarios Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: resolve review findings from adversarial pass - Opt-out ends the skill and the gate with it (the gate had no rule for it). - Each message ends with one question, no example answers hanging off it; multi-question messages and parenthetical menus showed up in most runs. - Playback marks the agent's guesses as guesses; one run played the agent's own example back as the human's. - Restore the old gate's list of what counts as building (#2258). - Companion offer stays its own message; mockups only after acceptance. - converse.sh: survive a failed human turn, report why a run ended, and keep raw task notifications out of the simulated human's view. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: play back as you go, alternating with questions With playback saved for the end, project brainstorms ran 8-15 questions before the human saw any summary. Interleaved, the first playback lands around turn 3-6 (6 runs: habit-tracker, pottery, offsite x2), so corrections arrive before more questions build on a wrong guess. Total length is about the same. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: blind-pair launcher for comparing brainstorming versions Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: builder check yields one ranked round of questions In a blind comparison (6 testers, old vs new skill), every new-skill tester flagged the builder check: two rounds and 3-9 questions after they'd said 'write it up'. Now the agent warns once that a reviewer reads first, settles minor gaps itself and marks them as its calls, and brings only the questions that change what gets built, in one message, most important first. 4/4 runs (habit-tracker, pottery x2) showed a single round. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * docs: brainstorming rebuild eval results Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * Move the eval harness and results to their own PR Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: one line on writing style Blind testers flagged a researched answer as a wall of text for a non-technical person. Micro-tested 12 style lines on research reports and mid-conversation answers (3 prompts x 5 reps each). Every variant already led with the point; naming a journalist (wire reporter, Mossberg, a Journalism BA) added source attributions. Plain wording shortened research reports by about 12% against no line. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: offer the visual companion whenever seeing would help Lists the moments that call for it (things they'll look at, layouts, flows, options that look different, diagrams/timelines/maps), checks each playback chunk before sending it, and drops the 'token-intensive' line that confused non-technical blind testers. Offers: habit tracker 3/3 (was ~50%), pottery booking 3/3 (was 0/3), at turns 3-7, never upfront; 0/4 on scenarios with nothing visual (sync-tool flag, talk outline). Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: plain style line Tested five style lines across Opus, Sonnet, gpt-6-luna and gpt-6-astra (3 prompts x 5 reps each); none moved length or attribution beyond noise on any model. Keep the plainest statement of intent. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: report the most important findings, offer the rest Research reports to a non-technical person ran 320-400 words on Claude. With this line, replies that offer the rest rose from 1/5 to 4/5 (Opus) and 3/5 (Sonnet); Opus reports ~7% shorter; gpt-6-luna/astra, already ~170-190 words, unchanged. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK
2026-09-26sdd-workspace: resolve the repo root physically so plan markers stay ↵Jesse Vincent
repo-relative on Git Bash git rev-parse --show-toplevel prints C:/Users/... on Windows while the plan path comes from pwd -P (/c/Users/... or /tmp/...), so the repo-relative check never matched and every marker held an absolute, machine-specific path. Found while landing #2149's test fix on Windows.
2026-09-26sdd-workspace: leave an existing .superpowers/sdd/.gitignore alone (#2399)Jesse Vincent
Based on #2161. Also quotes the empty CDPATH so shellcheck passes (SC1007). Co-authored-by: aruizcu1989 <192807317+aruizcu1989@users.noreply.github.com>
2026-09-26fix(requesting-code-review): avoid positional argument substitution (#2361)Klemens Flöge
2026-09-26fix(executing-plans): task-done no longer aborts when a passing test prints ↵ada-sen
nothing (#2388) Under `set -euo pipefail`, task-done extracted the ledger's test-result field with: last=$(grep -v '^[[:space:]]*$' "$log" | tail -n 1) When the test command passes but the log is empty or blank-only, `grep -v` matches no lines and exits 1; pipefail propagates that through the pipeline, and set -e aborts the assignment before the ledger line is written. A passing task is then silently not recorded: exit 1, no stderr, no ledger entry — indistinguishable from the failure path the guard exists to produce. Make the no-match case non-fatal, falling back to a literal placeholder for the ledger field: last=$(grep -v '^[[:space:]]*$' "$log" | tail -n 1) || last="(no output)" The failure guard above this line (recording nothing when the test command itself exits non-zero) is untouched. Fixes #2385.
2026-09-26fix(debugging): avoid printing identity secrets in diagnostics (#2380)m2dumpling
2026-09-26fix(brainstorming): preserve literal content replacement tokens (#2364)落尘
2026-09-25writing-plans: a plan is decisions, not a transcript (#2333)Jesse Vincent
Replace the No Placeholders prohibition list with a recipe for what a step contains (signature, test with assertions, spec values; a body only where those do not determine it); add a proportion item to the self-review; drop the time unit from the step rule; describe the reader as capable; delete the unreferenced plan reviewer prompt. Measured on two designs: plans halve under the recipe alone and reach a third of their size with the proportion item; every skill-written terse plan executed 9/9 on Sonnet 5.
2026-09-18Revert movie skill import (#2214) (#2335)Drew Ritter
Remove the proving-it-works-with-a-movie import at Drew Ritter’s request because its code quality does not meet the release bar. Reverts merge dd53fe0b57223bbbbb8ceae0bda2ba8a26d1c29a and the dependent movie test adjustment in 3979a17bda8691d72bfc5963e5437174c399db67. Remove the later Muse registration and update the unreleased notes so neither advertises the removed skill. Version changes are left for a separate release step.
2026-09-17Merge dev and preserve updated guidelines in AGENTS.mdfeat/muse-supportDrew Ritter
2026-09-17Merge pull request #2320 from obra/claude-code-platform-referenceDrew Ritter
Add Claude Code platform reference: a nested orchestrator for cheaper subagent-driven development
2026-09-17Reviewer judges the spec as a vision document; plans list the five implied ↵review-focusJesse Vincent
cases most likely to bite code-reviewer.md: behavior the spec is silent on is graded by what a reasonable person using the software expects, and a 'Declined to judge' list makes every scoping decision visible. writing-plans: a Review Focus section names the five implied input classes or failure modes most likely to bite, each pinned by a test in the owning task. executing-plans hands the section to the final reviewer and rules on every declined line.
2026-09-17Rebuild executing-plans as a first-class inline execution modeinline-executionJesse Vincent
A cheaper execution mode alongside subagent-driven development: the session implements every task itself under the same workspace, ledger and stopping rules, with one fresh whole-branch review on the most capable model at the end. Helper scripts task-start/task-done keep the ledger and test log honest; the final fix pass re-grades findings and fixes Critical/Important under TDD. writing-plans' handoff, SDD's when-to-use text and two README lines change to match.
2026-09-17Add Claude Code platform reference: a nested orchestrator for cheaper ↵claude-code-platform-referenceJesse Vincent
subagent-driven development