Repository navigation
feat(session-flow): show typed commands per kind of task in the skill cheat sheet - #16359
Conversation
The workflow skill's stage definitions end with a Task kinds table, the one place that states which stages a small fix, a bug, a feature, a refactor, a UI change and a release enter and skip, naming no skills. Its default mode reads the kind's row and points at the cheat sheet. The cheat sheet generator joins that table with the stage tables into a "By kind of task" table that replaces the hand-kept "Start from your problem" table, and fails naming the kind and the stage when a row names a stage steps.md does not define. Stage tables gain an Arguments column (the whole argument-hint) and an Upstream column linking the pstack and Pocock attribution tables that list the skill. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A workflow eval case asks for the stages of an undiagnosed bug and grades, with regexes and offline samples, that the answer gives the Bug row's stages in order with no interview, design or plan before Implement, and names the stages the row skips. Validated statically only; the case has not been run. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first Bug row started at Explore and skipped the interview, design and plan, which contradicted the skill's interview-first rule for work that fails a quick-change test, its gotcha that only the quick-change on-ramp skips the interview, and its note that a bug fix passes through design in one step. The Bug row is now the full path less the PRD, whose skip conditions name bug fixes. The overview, step 3 and the gotcha read the kind's row instead of stating stage 1, and an agent-ready bug's earlier stages are credited by position detection. The eval case and its samples follow the row. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t-sheet-task-kinds
The cheat sheet config gains STAGE_COMMANDS: one entry per workflow stage naming the command a person types for it in this repository, with optional runs-for-you claims. Each claim carries a quote from the skill line that makes the call; the generator finds it and cites the claim as path:line, and fails naming the entry when the quote is gone, the skill is not listed, or the skill sits in another stage. The entries are per stage only: which stages a kind enters stays in the workflow skill's Task kinds table. The By kind of task table now lists each kind's commands in order and what they run for you. Claims cover only lines read for this change: /verification:confirm (build, test and lint; affected features; e2e) and /source-control:pull-request ready (reviews and verify gate). Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d04f928906
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…t-sheet-task-kinds
The By kind of task table listed every stage as a command to type, so a reader following a row would run research, a PRD or decomposition they did not need. The generator now reads each stage's condition from its steps.md heading (the text after "conditional:") and prints it beside that stage's command, and the table's lead-in quotes steps.md's own sentences that a conditional stage runs only on its trigger and that stages 2-4 are detours returning to their caller. The generator fails, naming the sentence, when steps.md no longer carries either one. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: PR #16359, incremental (6740e54..419c121)No security issues found. This was a blocking-only review, since this lane already reviewed an earlier head, so only CRITICAL and IMPORTANT findings would have been posted. I read every hunk of all 6 files in scope in What was checked:
Spend (not a finding): the updated eval case uses prepaid model credit only when someone launches it. Nothing in this push runs it automatically. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16359, incremental (6740e54 → 419c121), blocking onlyScope: this lane already reviewed an earlier head, so this pass reports blocking findings only. I read every hunk of the incremental diff for all 6 listed files: The increment addresses the two earlier advisory findings:
Blocking findings: none. I saw one advisory gap and did not post it, because this pass is blocking only. The Closing issue: the PR says Manifests: this increment changes no Spend: the eval case still uses prepaid API credit when someone runs it ( Embedded text: the PR context, settled-threads and prior-findings files contain no text that tries to direct this review. The settled thread on Verifier dropped 0 of 0 candidates. |
The removed "Start from your problem" table sent a bug's cause to /debugging:debug and a failing test to /testing:diagnose; the by-kind table gave neither. A stage's command entry can now carry situational commands of the same stage, each with the situation it is typed in, validated like the main command (a listed skill whose workflow-stage is that stage) and rendered beside it. Implement gains /debugging:debug for breakage not yet diagnosed and Test gains /testing:diagnose for a failing test. Entries stay per stage; no kind gets a recipe. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…grader The bug-stage-list grader passed a list with no Research, Design, Plan or Decompose, and failed a correct list that named the PRD as skipped or whose stages sat more than 600 characters apart. Samples for all three now reproduce it (the static validator failed each under Python and JavaScript). The grader now requires every stage of the Bug row in order at any distance and, before Implement, allows a PRD only on a line that says it is skipped, so the default-mode overview still fails on its own. Case-insensitive through flags: i. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t-sheet-task-kinds
The typos gate rejects the British spelling in the long-answer sample. Refs: #15789 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reply to the claude-review summary on 6740e54:
Fixed in 419c121:
Four other routes of the removed table have no place in a table keyed by workflow stage and are not restored here: |
Refs: #15789
Summary
Problem: a person had to remember which skill to run, in what order and with which arguments, for the kind of change in front of them. Intent: "humans don't have to remember what skill to run in what order and under what context".
The generated skill cheat sheet now opens with a "By kind of task" table: for a small fix, a bug, a feature, a refactor, a UI change and a release it gives the commands to type in order, what those commands run for you, and the stages that kind skips. Each stage table shows every skill's arguments and its upstream equivalent.
Fix
/session-flow:workflow's steps reference is the one place the kind-to-stages mapping is stated. It is at stage level and names no skills. The workflow skill's default mode reads it; sentences that stated an entry stage on their own now point at it.STAGE_COMMANDSinscripts/cheatsheet-config.mjs, the owner's choice on 2026-11-15) to build the by-kind view, which replaces the hand-kept "Start from your problem" table. The config holds per-stage entries only, no per-kind recipes./debugging:debugfor breakage not yet diagnosed and Test shows/testing:diagnosefor a failing test, the two diagnosis routes the removed table had.path:line. Four claims ship, each on a line that was read: three in/verification:confirmand one in/source-control:pull-request.argument-hint) and an Upstream column linking the pstack or Pocock attribution table that lists the skill./session-flow:workflowpoints at the sheet's by-kind table as the place to look the sequence up.Judgment to name: nothing in the steps reference describes a release, so the Release row (Verify outcome, then Ship) is the builder's reading. The Bug row is the full path minus the PRD, because the workflow skill says only a quick change skips the interview.
Verification
node scripts/generate-cheatsheet.mjs --checkprints "Cheat sheet is in sync with skill frontmatter." (run again by the session that opened this PR).bash scripts/generate-cheatsheet.test.sh:PASS=66 FAIL=0(run again by that session). The new failure cases were written first and failed because the generator exited 0.wf-bug-takes-task-kinds-stages("fix bug X" must produce the table's stage list) passes the static validator.Left out: a paid run of the new eval case (it needs the owner's launch);
--checkin CI is this PR's own run.Related
/discovery:trace-intent,/work-items:work,/session-flow:recommend-skillsand/session-flow:keep-going. Each skill is still in its own table of the sheet.Remaining
docs/upstream/cursor-pstack.mdstill lists this change as pending adoption; it is updated after this merges.🤖 Generated with Claude Code
https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd