بنقرة واحدة
whyspec-show
Use when reviewing the full story of a change — intent, design, tasks, and Decision Bridge delta.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when reviewing the full story of a change — intent, design, tasks, and Decision Bridge delta.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Use when planning a code change, capturing decisions before coding, or setting up the Decision Bridge.
Use after coding to preserve reasoning — resolves the Decision Bridge with actual outcomes.
Use when encountering any bug, test failure, or unexpected behavior — before proposing fixes.
Use when starting implementation, continuing work, or executing tasks from a WhySpec plan.
Use when looking for why something was built a certain way or finding past decisions.
استنادا إلى تصنيف SOC المهني
| name | whyspec-show |
| description | Use when reviewing the full story of a change — intent, design, tasks, and Decision Bridge delta. |
| argument-hint | [change-name] |
Show the full story — from intent through design, tasks, and reasoning — with the Decision Bridge delta.
Input: A change name. If omitted, prompt for available changes.
The show command doesn't just dump files — it tells the narrative arc of a change:
The Decision Bridge delta is the most valuable output — it reveals the gap between what we THOUGHT we'd do and what we ACTUALLY did.
Get the full story from CLI
whyspec show --json "<name>"
Parse the JSON response:
intent: Content of intent.mddesign: Content of design.mdtasks: Content of tasks.md with completion statuscontext: Content of ctx_.md (if captured)decision_bridge_delta: Computed delta of planned vs actual decisionssurprises: Decisions not in the original planIf no change name provided:
whyspec list --json to get available changesDisplay the full story as a narrative arc
# <Change Name>
## Intent (WHY)
[From intent.md — problem statement, what it enables, constraints, success criteria]
## Design (HOW)
[From design.md — approach, architecture, trade-offs considered]
## Tasks (WHAT)
[From tasks.md — task list with completion status]
Progress: N/M tasks complete
## Reasoning (AFTER)
[From ctx_<id>.md — story of what happened, decisions made, trade-offs accepted]
If context hasn't been captured yet:
## Reasoning (AFTER)
Not yet captured. Run /whyspec-capture to complete the story.
Highlight the Decision Bridge Delta
When both plan files and context exist, display the evolution:
## Decision Bridge| Decision | Planned (Before) | Actual (After) | Delta |
|---|---|---|---|
| Rate limit storage | Redis vs in-memory? | Redis — 3 instances need shared state | As planned |
| Limit granularity | per-IP vs per-token? | Both — IP for anon, token for auth'd | Expanded scope |
| 429 response | standard vs custom? | Standard + Retry-After header | As planned |
| Decision | Status |
|---|---|
| Storage | Done |
| Limit scope | Done |
| 429 response | Done |
| Why bad: No before/after comparison. "Done" tells you nothing about what | |
| was decided or why. The entire point of the Decision Bridge is showing | |
| how thinking evolved. |
Handle partial stories gracefully
Not every change has all files. Show what exists and guide the user:
| Missing | What to show | Suggestion |
|---|---|---|
| No design.md | Intent + Tasks only | "Design not captured. Was this a quick fix?" |
| No tasks.md | Intent + Design only | "No tasks defined. Run /whyspec-execute to start." |
| No context | Intent + Design + Tasks | "Reasoning not captured yet. Run /whyspec-capture." |
| No intent (shouldn't happen) | Whatever exists | "Intent missing — this change may not have been planned with WhySpec." |
| Tasks partially done | Show progress bar | "Progress: ███░░ 3/5 tasks — resume with /whyspec-execute <name>" |
| Tool | When to use | When NOT to use |
|---|---|---|
| Bash | Run whyspec show --json "<name>" and whyspec list --json | Don't modify anything — this is read-only |
| Read | Read raw files if CLI output is insufficient or truncated | Don't read files the CLI already provided |
No AskUserQuestion — this is a read-only display skill. If change name is missing, use whyspec list --json and let the user select.