juicesharp/rpiv-mono/design-slice
Claude Code and agent skill by juicesharp/rpiv-mono
- community
Checking that the SKILL.md file is still in the repository.
Design ONE vertical slice from a slice map in isolation — its architecture decisions, file map, key interfaces, integration points, and success criteria — and write a per-slice design doc to .rpiv/artifacts/designs/. Single-pass, no research subagents, no self-review; asks the user only when a genuine design fork blocks the slice. Dispatched once per slice by a design fanout; the per-slice designs are later merged by synthesize. Use as a fanout unit, not standalone.
Install
npx vskill@latest install juicesharp/rpiv-mono/design-sliceSKILL.md
The same SKILL.md was published earlier as juicesharp/rpiv-mono/design-slice.
Design Slice
You design one vertical slice from a slice map, in isolation, and write its design doc. One pass. You do not decompose (the slice is already cut), implement, or self-review — the workflow's grade panel judges your output. You may ask the user only when a genuine design fork blocks this slice.
Input
$ARGUMENTS — <slices-path> Slice N: <title>:
- The first token is the path to a slice map under
.rpiv/artifacts/slices/. - The remainder (
Slice N: <title>) names the single slice to design. ParseNfromSlice (\d+). --upstream <path>(repeats, optional) — a direct dependency's per-slice design doc,
injected by the design fanout once that dependency completes. Read each one's ## Key Interfaces (the decided contract this slice builds on) and ## Notes / Deferred (to detect an undecided fork). Absent ⇒ this slice is a root (no upstream dependency).
Design only that slice. Respect its Out of scope — anything there belongs to another slice's design.
If the slices path is missing or Slice N can't be parsed, print an error and stop — it's a dispatch error.
Metadata
Copy values verbatim. <iso> is the first tab-separated field; <slug> is the second.
Steps
- Read the slice map fully and locate the
## Slice N:section — its Scope, Draws on, Depends on, Out of scope. - Read the slice's footing: the
Draws onreferences (research sections + the sourcefile:lines it rests on). Read those files fully. This is targeted — read what the slice names, do not run discovery/analysis subagents. - Read each `--upstream` dependency design (if any were passed): from each, read its
## Key Interfaces(the decided contract this slice depends on — build against it, do not redesign it) and its## Notes / Deferred. If a contract this slice depends on is still an undecided fork there (the dependency parked options rather than deciding), escalate — see Step 5. Read only the direct upstreams you were handed; do not chase their transitive dependencies (synthesize reconciles the rest). - Design this slice — decide its shape and record:
- Approach — the architecture decision(s) for this slice and why.
- File map — each file to add/change and what changes (
path — add|change — what). - Key interfaces — the types/signatures/exports the slice introduces or touches.
- Integration points — where this slice wires into existing code (and into sibling slices it depends on, by file/symbol — referencing the real shapes from the upstream
## Key Interfaces). - Success criteria — concrete
- [ ]checks that prove the slice works.
- Resolve ambiguity: decide from the slice map, the upstream designs, research, and code wherever you can. Use
ask_user_question(2–4 concrete options, one at a time) ONLY when you can't settle it from those inputs — either a genuine design fork within this slice, or a contract this slice depends on is still an undecided fork in an upstream's## Notes / Deferred. Do not ask the user to approve the finished design — the grade panel owns that.
Headeris capped at ≤16 characters (MAX_HEADER_LENGTH = 16— longer values are rejected).
- Write the design doc (below),
status: ready. - Print the path, then a one-line summary:
Slice N design: <k> files, <m> success criteria.
Output document
Path: .rpiv/artifacts/designs/<slug>_slice-<N>_<topic>.md (<topic> = kebab-case of the slice title).
Hard rules
- One slice only. Never design or touch work that the slice map assigns to a different slice.
- The path carries the slice. The basename's
_slice-<N>_segment is mandatory and must equalslice_n— the workflow resolves which slice a design belongs to from both, and a title that happens to look like an ID (LV-2,DT-1) never substitutes for it. - Code shape, not implementation. Interfaces, file map, decisions —
implementwrites the actual code later. - No discovery/analysis subagents. No self-review. Read the files the slice names; decide; write. Ask only to clear a genuine blocking fork.
- Build against decided upstream contracts. When
--upstreamdesigns are provided, consume their## Key Interfacesas fixed — never redesign a dependency's contract. If a contract you depend on is undecided (parked in the upstream's## Notes / Deferred), escalate (Step 5), don't guess.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/rpiv-pi/skills/design-slice/SKILL.md
Popularity
- Repository stars
- 658
- Repository forks
- 121
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/juicesharp/rpiv-mono/design-slice)