shape
Skill0 starsChanged 4 months agoMITView on GitHub
Use when you have a rough product idea and want a complete PRD without sitting through an interactive grilling. Claude walks the full decision tree (edge cases, modules, schema, testing, security), self-answers with software-engineering best practices, streams the Q&A live so you can override, and writes the PRD locally with an option to push as a GitHub issue.
36 other projects use a version of this.
Adopted by
Most recently taken up by
- jskswamy/skillstheir own version, first seen Nov 8, 2026
- Belweave/hstacktheir own version, first seen Nov 8, 2026
- Mrbaeksang/skillstheir own version, first seen Nov 8, 2026
- edwinidrus/dragonhoardtheir own version, first seen Nov 8, 2026
- chrislacey89/skillstheir own version, first seen Nov 4, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 3, 2026
Used with
Projects with it also use layout, explore and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
owshq-mecSkilllayout
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.
Also in 8 projects that use this
genomewalkerSkillexplore
RLM-style recursive memory exploration - dynamically navigate the memory graph
Also in 3 projects that use this
Microsoft AzureSkillbuild
Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.
Also in 5 projects that use this
AnthropicSkillbrief
Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
Also in 3 projects that use this
jaydubya818Skillwhy
Use when design rationale must be recovered from source history and available records.
Also in 3 projects that use this
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 7 projects that use this
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- hoophq/hoop★ 848same name
- educlopez/ui-craft★ 441same name
- 10xChengTu/Mux0★ 337same name
- theexperiencecompany/gaia★ 325same name
- jagrat7/linux-wallpaper-engine★ 227same name
- owshq-mec/semana-ai-data-engineer★ 122same name
- StyleSwift/StyleSwift★ 61same name
- tdimino/claude-code-minoan★ 41same name
- saltandsilicon/game-theorist★ 16same name
- excatt/superclaude-plusplus★ 14same name
26 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- skills/composition-patterns/AGENTS.mdAGENTS.md
- sample-project/CLAUDE.mdCLAUDE.md
- agent-orchestratorSkill
- api-designSkill
- banner-designSkill
- brainstormingSkill
- brandSkill
- capital-accountsSkill
- composition-patternsSkill
- continuous-learning-v2Skill
- contract-reviewSkill
- credential-scannerSkill
- deployment-patternsSkill
- design-systemSkill
- dispatching-parallel-agentsSkill
- docker-patternsSkill
- e2e-testingSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- fixed-assetsSkill
- frontend-designSkill
- git-guardrails-claude-codeSkill
- graphifySkill
- huashu-designSkill
- investmentsSkill
- iterative-retrievalSkill
- legal-agreementSkill
- plain-english-translationSkill
- terms-of-service-generatorSkill
- pdfSkill
- prd-to-issuesSkill
- prd-to-planSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- slidesSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- triage-issueSkill
- ui-stylingSkill
- ui-ux-pro-maxSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- video-prompt-builderSkill
- webapp-testingSkill
- web-design-guidelinesSkill
- write-a-prdSkill
- writing-plansSkill
- writing-skillsSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use /shape when you trust Claude's judgment and want speed.
- Distinctive: line 25
When the user invokes this skill:
- Distinctive: line 29
If the user passed an idea as an argument, use it.
- Distinctive: line 37
Before answering anything, ground your decisions in reality:
- Distinctive: line 39
Read README.md, CLAUDE.md, and any architecture docs
- Distinctive: line 41
Verify any factual assertions in the user's idea — don't trust them, check
- Distinctive: line 44
If there is no codebase (empty directory or greenfield), skip to step 3 and record this in the PRD's Further Notes.
- Distinctive: line 77
Codebase facts always beat generic best practices: If the project already does X, the answer is X.
- Very specific: line 93
Use this template exactly.
- Very specific: line 144
Create ./prds/ if it doesn't exist
- Very specific: line 145
Write the PRD to ./prds/<slug>.md
- Distinctive: line 150
After saving, ask the user once:
- Distinctive: line 168
Codebase facts beat generic best practices: If the project already does X, X is the answer.
- Distinctive: line 169
No speculative scope: If the user didn't ask for it and the codebase doesn't require it, it goes in Out of Scope.
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shape — Auto-Grill to PRD
Take a rough product idea and turn it into a complete PRD in one shot. No interactive grilling — Claude walks the decision tree itself, answers each question with software-engineering best practices, streams the Q&A live so you can spot bad assumptions, and writes the PRD.
Use /shape when you trust Claude's judgment and want speed. Use /brainstorming + /writing-plans when you want hands-on control over every decision.
Pipeline Position
| Step | Command | What It Does |
| 1a | /brainstorming + /writing-plans | Manual path — interactive brainstorm, then plan |
| 1b | /shape | Fast path — auto-grill + PRD in one shot |
| 2 | /prd-to-issues | Break the PRD into vertical-slice sub-issues |
| 3 | /ralph | Implement each sub-issue autonomously with TDD + code review |
shape produces the same PRD format as write-a-prd, so /prd-to-issues and /ralph consume its output without changes.
Instructions
When the user invokes this skill:
1. Capture the idea
If the user passed an idea as an argument, use it. Otherwise ask once:
What do you want to build? (one paragraph is fine)
Then proceed without further interactive questions until step 8.
2. Explore the codebase
Before answering anything, ground your decisions in reality:
- Read
README.md,CLAUDE.md, and any architecture docs - Identify existing modules, conventions, test patterns, and prior art the feature should match
- Verify any factual assertions in the user's idea — don't trust them, check
- Note the language, framework, test runner, and directory layout
If there is no codebase (empty directory or greenfield), skip to step 3 and record this in the PRD's Further Notes.
3. Walk the decision tree
For each branch below, generate the questions a thorough engineer would ask, then answer each one yourself. Do not skip a branch even if it feels obvious — that is the entire point of this skill.
- Actors & user stories — who uses this, what they want, what success looks like
- Happy-path flow — primary interaction step by step
- Edge cases — empty inputs, large inputs, concurrent access, partial failures, network errors, permission denied, missing data, unicode/encoding, time zones
- Data model & schema — entities, relationships, indexes, migrations
- Module boundaries — deep modules, public interfaces, what stays internal
- API contracts — request/response shapes, error codes, idempotency, versioning
- Testing strategy — what to test, what to mock (only at boundaries), prior art in the repo
- Security — authn/authz, input validation, secrets, rate limiting
- Observability — what to log, what to surface as metrics
- Out of scope — explicit non-goals to prevent scope creep
- Dependencies & blockers — what must exist first
4. Best-practice defaults
When self-answering, prefer:
- Boring over clever — simple, well-understood patterns
- Deep modules (Ousterhout) — wide functionality behind a simple, stable interface
- Match the codebase over external standards — project conventions win
- TDD-friendly design — testable through public interfaces, not internals
- Validate at system boundaries — trust internal callers, fail loudly at the edge
- YAGNI — no speculative abstractions, no features the user didn't ask for
- Parameterized queries, never string concatenation
- Rate limit auth endpoints
- Never log secrets, tokens, or PII
- Mock only at system boundaries (external APIs, DBs, time, randomness, filesystem) — never mock internal collaborators
Codebase facts always beat generic best practices. If the project already does X, the answer is X.
5. Stream the Q&A live
For every decision, emit a block in this exact format as you make the call — do not batch:
Q: <the question>
A: <the chosen answer>
Why: <one sentence — cite a codebase reference if relevant>This is the user's chance to spot a bad assumption early.
6. Write the PRD
Use this template exactly. It matches /write-a-prd, so the rest of the pipeline accepts it unchanged.
## Problem Statement
The problem the user is facing, from the user's perspective.
## Solution
The solution, from the user's perspective.
## User Stories
A long, numbered list:
1. As a <actor>, I want a <feature>, so that <benefit>
Cover every aspect of the feature surfaced in your decision tree.
## Implementation Decisions
- Modules to build or modify
- Public interfaces of those modules
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include file paths or code snippets — they go stale fast.
## Testing Decisions
- What makes a good test here (test external behavior, never implementation details)
- Which modules will be tested
- Prior art for the tests (similar patterns already in the codebase)
## Out of Scope
Explicit non-goals.
## Further Notes
Anything else worth recording.
## Decisions Log
Every Q/A/Why block from step 5, in the order they were decided.7. Save the PRD locally
- Generate a kebab-case slug from the idea (e.g. "rate-limited /healthz endpoint" →
rate-limited-healthz-endpoint) - Create
./prds/if it doesn't exist - Write the PRD to
./prds/<slug>.md - Print the absolute path
8. Offer to push to GitHub
After saving, ask the user once:
Push this as a GitHub issue? [y/N]
On y, run:
gh issue create --title "<slug>" --body-file ./prds/<slug>.mdPrint the issue URL.
On n or no answer, stop. The local file is enough — the user can push later.
Rules
- Don't ask the user questions during the decision tree. The whole point is auto-answering. The only interactive moments are: capturing the idea (if not given) and the GitHub push prompt at the end.
- Don't skip branches. Even trivial-feeling branches get walked — completeness is the value.
- Codebase facts beat generic best practices. If the project already does X, X is the answer.
- No speculative scope. If the user didn't ask for it and the codebase doesn't require it, it goes in Out of Scope.
- The PRD template is fixed. It must match
/write-a-prdexactly so/prd-to-issuesand/ralphkeep working.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

