skills/use-workflow-plan-preview/SKILL.md
Internal helper for /think Step 11. Renders SOW.md + Spec.md as an integrated Astro view and returns a dev server URL.
npx skillsauth add thkt/claude-config use-workflow-plan-previewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Workflow helper invoked by /think Step 11. Renders SOW.md + Spec.md as an integrated, browser-friendly view via the Astro project at ~/.claude/workspace/views/.
Not for direct user invocation. /think is the only caller.
/think)$1 is the planning slug (e.g. 2026-05-08-issue-53-annotation-foundation).
~/.claude/workspace/planning/$1/sow.md and spec.md$1 (e.g. 2026-05-08-issue-53-annotation-foundation → issue-53 or annotation-foundation)~/.claude/workspace/views/src/content/<short-slug>.mdxtitle. H1 linesubtitle. First sentence of Why → Outcome (a)status. Below ## Status (draft / approved / done)updatedAt. Today's date YYYY-MM-DDsessionId. From Session: lineissueUrl. GitHub URL in Referencecd ~/.claude/workspace/views && bun run dev
http://localhost:4321/spec/<short-slug> with the user| Tab | sow.md / spec.md section | | ------------ | --------------------------------------------------------------------------- | | overview | sow.md Why / Approach / Background | | scope | sow.md Scope (In/Out) / Three-Tier Boundaries | | ac | sow.md Acceptance Criteria | | phases | sow.md Implementation Plan (Phase 1/2/3) | | spec | spec.md Functional Requirements / Validation / Non-Functional / Assumptions | | domain | spec.md Domain Model (Entities / Business Rules) | | tests | spec.md Test Scenarios | | risks | sow.md Risks + spec.md Reassessment Triggers | | traceability | spec.md Traceability Matrix + Implementation Phase × FR |
| Component | Usage |
| --------- | --------------------------------------------------------------------------------------- |
| TabPanel | <TabPanel id="overview" initial>...</TabPanel> |
| Pill | <span class="pill-ac">AC-1</span> (or <Pill variant="ac">) |
| Tier | <span class="tier-always">必須</span> (or <Tier variant="always" />) |
| Term | <span class="term" data-tip="...">用語</span> |
| Card | <div class="card"><div class="label">X</div><p>...</p></div> |
| Card grid | <div class="card-grid">...8 cards...</div> |
| SearchBox | <SearchBox id="fr-filter" placeholder="..." /> |
| ChipGroup | <ChipGroup id="test-chips" chips={[{type, label}, ...]} initial="all" /> |
| PhaseFlow | <PhaseFlow phases={[{num, title, subtitle, bullets, outcome, tone}]} caption="..." /> |
| DataFlow | <DataFlow boxes={[...]} edges={[...]} /> |
tone values differ per component. Undefined values cause a runtime error.
| Component | Allowed tone |
| --------- | -------------------------------------------- |
| PhaseFlow | accent / warn / pass |
| DataFlow | info / warn / accent / pass / fail |
| Pattern | Fix |
| -------------------------------------- | -------------------------------------- |
| {0..9} (range in braces) | \{0..9\} |
| [*] (bracket + asterisk) | [*] |
| {key: value} JSON-like | {"{key: value}"} |
| ${var} template literal | wrap inside string: {"...${var}..."} |
| <code>foo*</code> (asterisk in code) | <code>foo*</code> |
| <code>__name</code> (dunder in code) | <code>\_\_name</code> |
Use ${CLAUDE_SKILL_DIR}/templates/spec.mdx as the canonical example (all 9 tabs filled).
~/.claude/workspace/views/src/content/<short-slug>.mdx existshttp://localhost:4321/spec/<short-slug> renders without error{/* PLACEHOLDER */} markers remain (grep returns zero hits)~/.claude/workspace/views/tools
Delegate implementation to codex (coder) via the herdr-agentchat plugin and drive a two-pane conversation to completion.
development
Extract recurring patterns from past closed PRs/issues and the research findings in workspace/research/, verify them against the latest code, and propose them to docs/wiki/ via PR.
development
Create Decision Records (DR) in MADR v4 format with auto-numbering.
development
Codex review + cleanup. Findings are challenged by critic-audit, not aggregated as facts, and fixes are applied directly. Do NOT use for internal multi-reviewer deep audits or findings reports (use /audit).