feat(design): PRODUCT.md prefill + /impeccable handoffs

design-consultation's context gathering and design-shotgun's auto-gather read
PRODUCT.md (impeccable's product-context file) when it exists: it counts as
the user's prior answers, gets confirmed in one line, and is never re-asked.
Neither skill opens `.claude/skills/impeccable/**`; PRODUCT.md and DESIGN.md
are the shared surface, and impeccable's prose never loads inside a gstack
skill.

Handoffs: ship's review-lite ends each NEEDS INPUT detector row with the
`handoff=` command the scan printed (`/impeccable <cmd>`) when the probe
reported IMPECCABLE_SKILL: present, recommending the command and never
opening its files; design-review's Phase 7 does the same for deferred
findings, and `design_detector: off` silences handoff lines with the rest.
Codex and Factory ship goldens refreshed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-09-08 16:27:37 +00:00
co-authored by Claude Fable 5.1
parent 35d641b4b2
commit 4308e487aa
9 changed files with 36 additions and 4 deletions
+3
View File
@@ -484,11 +484,14 @@ bun --no-env-file run $HOME/.claude/skills/gstack/bin/gstack-design-md.ts check
**Gather product context from the codebase:**
```bash
cat PRODUCT.md 2>/dev/null | head -120 || echo "NO_PRODUCT_MD"
cat README.md 2>/dev/null | head -50
cat package.json 2>/dev/null | head -20
ls src/ app/ pages/ components/ 2>/dev/null | head -30
```
A `PRODUCT.md` (impeccable's product-context file) already answers the product questions below: treat it as the user's prior answers, confirm them in one line, and do not re-ask. Never open `.claude/skills/impeccable/**` or any other skill's files; PRODUCT.md and DESIGN.md are the shared surface.
Look for office-hours output:
```bash
+3
View File
@@ -75,11 +75,14 @@ ls DESIGN.md design-system.md 2>/dev/null || echo "NO_DESIGN_FILE"
**Gather product context from the codebase:**
```bash
cat PRODUCT.md 2>/dev/null | head -120 || echo "NO_PRODUCT_MD"
cat README.md 2>/dev/null | head -50
cat package.json 2>/dev/null | head -20
ls src/ app/ pages/ components/ 2>/dev/null | head -30
```
A `PRODUCT.md` (impeccable's product-context file) already answers the product questions below: treat it as the user's prior answers, confirm them in one line, and do not re-ask. Never open `.claude/skills/impeccable/**` or any other skill's files; PRODUCT.md and DESIGN.md are the shared surface.
Look for office-hours output:
```bash