From Designer Workflow
You MUST use this before ANY change to the project's code or UI — building something new, OR editing, restyling, tweaking, fixing, or refactoring anything that already exists — before you touch any file. Clarifies the change through questions, writes a technical spec to /docs/plan, and ALWAYS files a GitHub issue with gh, then hands off to goal-loop to build. Skip ONLY for pure questions, explanations, or read-only code review with no change.
How this skill is triggered — by the user, by Claude, or both
Slash command
/designer-workflow:plan-and-specThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A **designer or PM** describes an app or feature. Before anything gets built, you **clarify the idea
A designer or PM describes an app or feature. Before anything gets built, you clarify the idea with questions, restate it for approval, and only then produce two artifacts and hand off:
/docs/plan/<slug>.md (engineer language — the build contract), andThe defining rule (same as the whole plugin): think as an engineer, speak as a designer/PM. The chat stays plain-language. Technical detail lives ONLY in the spec file. The issues are written in product language a PM can read — user stories and plain acceptance criteria, never SQL or paths.
This is the planning phase. It never builds, never writes code, never generates assets. It
stops after the spec + issues exist and hands off to goal-loop only when the user confirms
the plan is correct.
Run this skill before ANY change to the project's code or UI — whether you are building something new OR editing, restyling, tweaking, fixing, refactoring, or extending something that already exists. If the work will touch a file, plan it here FIRST. Signals (all of these go through planning): "make me a tool…", "add a feature…", "restyle this tab", "change the header", "move this button", "fix this bug", "tidy up this screen", "refactor X".
Skip it ONLY when the request makes no change to code/UI at all:
Everything that modifies the project goes through planning first — even a one-line restyle. The plan scales to the work: a small focused change gets a short spec and a single GitHub issue; new or large work gets a spec plus an epic + child stories. Either way you ALWAYS file at least one GitHub issue (§④). When you catch yourself about to "just make the change directly" — stop, that is exactly the case this gate exists for.
Planning writes no assets, so it does not require Higgsfield. (The hard Higgsfield gate kicks in
later, at build time, inside goal-loop / design.) Do not block planning on a Higgsfield sign-in.
Read .designer-workflow/config.md if it exists (written by /designer-workflow:dw-init) — it tells
you where sandbox apps live and the off-limits / production boundary. The spec must respect
this boundary. If it's missing, note it once and suggest running /designer-workflow:dw-init.
① CLARIFY pin the change — SCALE TO SIZE (small: 0–1 quick Qs; new/large: data, users, flows)
② SPEC write the spec → /docs/plan/<slug>.md (short for a small change)
③ ISSUE file the GitHub issue(s) with gh:
• small focused change → ONE tracking issue
• new / large work → an epic + one child issue per story
④ VERIFY show the user the FILED issue(s) + link → "Is this issue correct? Start building?"
↓ yes ← THE GATE: nothing builds before the user confirms the filed issue
⑤ HANDOFF trigger goal-loop to build (small change → quick/direct build; large → full loop)
Two rules that shape everything:
goal-loop. Never start building on an unverified issue. Never
skip ②, ③, or ④ — even a small change gets a spec entry, a filed issue, and the user's okay.Never skip ① or ②. The confirmation in ② is the single human gate for the whole pipeline.
Pin down only what you genuinely can't assume, then stop. Match the effort to the change:
For your own situational awareness you may invoke kg-context-dispatch to understand the
existing tree and the blast radius. Never surface KG / touch_budget / "blast radius" to the user.
Stop asking the moment you can write the spec — for a small change that's immediately.
/docs/plan/<slug>.mdWrite the spec — the one place engineer language belongs in this phase (a file, not chat). <slug>
is a kebab-case name of the change (e.g. community-tab-restyle, brief-intake-tracker). Create
/docs/plan/ if it doesn't exist. Follow references/spec-template.md, and scale it to the
work:
Do not show the spec contents in chat. Just say, plainly, "I've written up the technical plan."
ghUse the gh CLI. Check a remote exists (gh repo view). If there's no GitHub remote, don't
fail silently — tell the user and write the breakdown into the spec as a checklist instead. Always
file at least one issue, sized to the work (references/issue-templates.md):
change): what changes + plain acceptance criteria.epic) + one child issue per story (story), linked back to
the epic by number.Issue bodies are designer/product language — user stories and plain acceptance criteria. No SQL, no file paths, no schema, no migration talk; they link to the spec via a small note.
After the issue exists, show it to the user and get an explicit okay before anything is built. Paste the issue title, a one- or two-line plain-language summary, and the link, then ask:
"I've filed the issue: → <link>. In plain terms: <1–2 lines of what it covers>. Is this correct — should I start building it?"
gh issue edit the body (or gh issue close and refile), then re-confirm.
Never build on an issue the user hasn't blessed.goal-loop.On the user's yes at ④, invoke the goal-loop skill with the Skill tool to build. Scale
the build to the change:
Announce it plainly: "Great — building it now. I'll show you it running before I open it for review."
goal-loop. Don't add extra gates; don't bury the user in detail..designer-workflow/config.md when writing the spec — if a
story would need out-of-sandbox / production access, say so in the spec and flag it for a dev rather
than speccing a boundary breach./docs/plan/<slug>.md (never shown in chat).gh — a single change issue for small work, an
epic + story children for large (or a spec checklist if there's no remote).goal-loop only on that yes — and scales the build (quick/direct for a small change,
full loop for large). Unless the user asked to file only.See references/spec-template.md and references/issue-templates.md.
npx claudepluginhub potenlab/designer-workflow --plugin designer-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.