skills/shape/SKILL.md
Shape a raw idea into something buildable. Product + technical exploration. Spec, design, critique, plan. Output is a context packet. Use when: "shape this", "write a spec", "design this feature", "plan this", "spec out", "context packet", "technical design". Trigger: /shape, /spec, /plan, /cp.
npx skillsauth add phrazzld/agent-skills shapeInstall 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.
Turn a raw idea into a context packet — the unit of specification that
/deliver consumes. Spec before code, always.
A packet is ready when all of these are true. How you get there is your judgment; size the effort to the stakes — a one-file fix needs a paragraph, an architecture choice needs the full treatment.
rg -n --glob '*.md' '^(title|tags|applies_when):|<product-term>|<failure-mode-term>' docs/solutions.
Open likely matches and state applies / does-not-apply in the packet.VISION.md when
present. If the shape depends on a missing or stale north star, route to
/vision or carry an explicit waiver.nous-creative-ideation is a routed library of named methods (TRIZ for
parameter conflicts, premortem-and-inversion, first-principles) that
generate options which actually fail differently. Kill the losers on
the record and recommend one; a menu is not a shape. For automation or
refactor-heavy ideas, apply harnesses/shared/references/delete-first.md
and the synced Ponytail skill (skills/.external/dietrich-ponytail/SKILL.md)
before choosing the build path; the lazy viable path must be a real
alternative, not a throwaway paragraph./design
prototype variations, let the operator react, then lock what the reaction
taught. When the operator can't articulate the want at all, hunt a
reference artifact instead — source code beats docs beats screenshots —
and anchor the packet to it (Repo Anchors carries it).references/executable-oracles.md.
When you cannot define the measuring stick, delegating its INVENTION is a
legal oracle ("figure out how to measure X, then hit it") — and the
builder never grades its own work: acceptance is a fresh context pointed
at the real output, told to prove it fails
(harnesses/shared/references/prompting-frontier.md).harnesses/shared/references/verification-system-first.md for
evals, benchmarks, QA paths, performance claims, agent-behavior claims, or
any surface whose proof loop is not already obvious.harnesses/shared/references/works-critique.md and include the likely
review focus.harnesses/shared/references/loop-readiness.md and
shape a handoff instead of a Harness Kit scheduler.Premise Source: sha256:<digest> <path-or-url>) or
carries an explicit waiver with residual risk. Voice/raw-transcript
premises take the metadata block from
references/voice-transcript-metadata.md; never store raw audio paths.
This is grader-enforced (see Verification)..html artifact from templates/html-plan.html,
publish it to the Sanctum shelf (artifact skill; slug = the Powder card
id), and attach the URL to the card (link or comment) so the plan is
durably ticket-coupled. Never auto-open it in a browser (operator ruling
2026-07-04: auto-opened planning artifacts are a distraction) — inspect
the rendered hierarchy yourself via the published page; the operator
opens it from Powder on his clock.
The hero is the complete work contract: target outcome,
chosen design, why it wins, proof surface, and stop conditions. Order the
body by decision volatility: lead with what the operator is most likely to
tweak — data model, public interfaces, UX flows — and bury the mechanical
work at the bottom. The plan doubles as an unknown detector; put the
contestable decisions where the reviewer's attention lands first. Below it,
include the support needed for a stranger to execute without chat context:
current state, change shape, repo anchors, alternatives and tradeoffs,
acceptance, verification, communication cadence, risks, and adversarial
review focus. Use layout as thinking: comparison tables, phase lanes, risk
grids, diagrams, callouts, and links to repo anchors. Generate diagram images
only for complex or contested plans where a labeled architecture / sequence /
system map carries information HTML, mermaid, or ASCII cannot; keep mermaid
for precise call-graphs (harnesses/shared/references/image-generation.md).
Prefer the Misty Step aesthetic kit when the artifact is visual and local
review can load it; keep any local CSS as thin plan-specific glue. This is not Markdown exported to
HTML; the HTML is the planning medium. Skip only for trivial shapes,
no-browser environments, or explicit operator waiver.Interrogate before you design, and lock product direction before technical
design. For any substantial or contestable shape the default is a
grill-me-style interview: load
harnesses/shared/references/interrogate-first.md and walk the operator down
the decision tree one question at a time, each with your recommended answer and
what breaks if it's wrong, until the load-bearing product and architecture
choices are pinned. Explore the repo, vision, and commands to resolve what you
can; only the operator settles genuine product direction. The guard cuts both
ways: don't manufacture questions for a shape the evidence already locks — that
is railroading, not rigor.
Sections carry weight or they don't appear. For substantial work, follow the
PRD shape in references/prd-ticket-quality.md; for CLI surfaces, include
the block from references/cli-design.md.
# Context Packet: <title>
## Goal — one sentence, outcome not mechanism
## Non-Goals — scope that stays out, even if tempting
## Constraints — invariants that must remain true
## Repo Anchors — the 3–10 files whose patterns must be followed
## Alternatives — what was considered, how each fails, verdicts
## Design — chosen shape, surfaces touched, data/control flow,
rejected alternatives and why, ADR decision if any
## Oracle — executable definition of done
## Premise Source — sha256 + artifact, or explicit waiver
## HTML Plan — Sanctum shelf URL attached to the Powder card, or explicit waiver
## Risks + Rollout — how it fails, how to undo it
When the oracle depends on an acceptance artifact (fixture, golden file,
contract, screenshot), pin it: sha256:<digest> <path>. If implementation
intentionally changes that artifact, the handoff carries a contract-change
acknowledgment. High-risk work (money/auth/migrations, expensive-to-detect
regressions) earns formal examples and a test-strength budget — note it in
the packet for /deliver and /qa rather than inflating the packet itself.
Delegate on judgment per the shared Roster contract: native subagents by
default; add cross-model critics, roster providers, or sprite lanes
(/sprites) only when they answer a distinct question. See
harnesses/shared/AGENTS.md (Roster).
Local lane guidance: one lane to map repo constraints, one for prior art or premise challenge; fresh-context critique of the draft packet when the design is contestable.
Your own design read is not a review. When the design is contestable, hand
the draft packet — artifact only, not your reasoning trail — to adversarial
fresh-context critique, preferably a different model family, and ask for the
production failure that would embarrass us. Lens prompts live in
references/critique-personas.md. Skip for trivial shapes.
shaping: true feed other streams; trace consequences after editing.For non-trivial packets, include the verification-system block from
harnesses/shared/references/verification-system-first.md: claim, falsifier,
driver, grader, evidence packet, cadence, and gaps/waiver.
Premise-source discipline is enforced by the Rust grader:
cargo run --locked -p harness-kit-checks -- premise-source validate <packet>
cargo run --locked -p harness-kit-checks -- premise-source self-test
HTML plan artifact:
cp skills/shape/templates/html-plan.html /tmp/<card-id>-plan.html
# fill it, then publish + attach (never `open` it):
python3 ~/Development/harness-kit/skills/artifact/scripts/artifact_create.py \
--title "<title>" --slug <card-id> --tag "Plan" --html-file /tmp/<card-id>-plan.html
# attach the printed URL to the Powder card (add_link MCP tool or a comment)
curl -s -o /dev/null -w '%{http_code}' <printed-url> # expect 200
Fill it as HTML, publish, and revise after reading the rendered page. Inspect that the hero states the chosen design and proof path, the alternatives table names tradeoffs, the verification section names exact commands/artifacts, and the review section gives a useful artifact-only critic prompt. Do not auto-open a browser; the shelf URL attached to the card is the deliverable. Keep source links, commands, and oracles exact; use the rendered view to make the plan clearer, not less precise.
testing
Capture one compounding repo-technical learning while a solved problem is still fresh. Use when: after a bug fix, diagnosis, delivery, review, or incident reveals a reusable pattern worth adding to `docs/solutions/`. Trigger: /compound, /capture-learning, /learning.
testing
Route Misty Step factory application capabilities. Use when choosing, auditing, integrating, or operating Canary, Powder, Landmark, Aesthetic, or Bitterblossom: production observability, incidents, health checks, error logging, backlog/work-card state, release intelligence, UI/UX system adoption, or supervised/unsupervised agent dispatch. Trigger: /factory-apps, /factory-stack.
testing
Prove a skill beats no-skill with a falsifiable A/B eval, or retire it. Design, generate, run, and maintain a skill-specific eval: name the one claim the skill must earn, run it skill-on vs raw same-model, grade blind with objective checks first, return a keep/adapt/cut verdict. Use when: "eval this skill", "does this skill help", "prove the skill beats no skill", "write an eval for", "benchmark a skill", "is this skill worth it", "skill A/B", "skill regression test", "generate skill evals". Trigger: /skill-eval, /eval-skill, /prove-skill.
tools
> Template. Copy to `<target-repo>/.agents/skills/<repo>-<domain>/SKILL.md` > and fill every bracketed placeholder from the live target repo. Delete this > line and every other `> ` guidance line before committing. See > `../../references/repo-local-skill-generation.md` for the full process. --- name: <repo>-<domain> description: | [One paragraph: what this skill verifies/runs/operates for <repo>, stated in terms of the repo's real shape (service/CLI/library/etc.), not generic process. En