/platty:platty-sdd-specfrom platty
Transforms product ideas, feature requests, or PRD needs into SDD documents (prd.md, user_stories.md, impact.md) grounded in Platty SOT evidence. For planners and PMs.
Ships in platty. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For direct invocation, set PLATTY_INVOCATION_SOURCE=platty-sdd-spec on every
Platty CLI process in this workflow. If an outer user-facing workflow routes
here, the outer workflow label wins and overrides this default. Preserve the
active label for retries, resumes, and every nextCommand or
nextAction.command execution.
PLATTY_INVOCATION_SOURCE=platty-sdd-spec platty sot glossary search --project <project> --query <term> --json
Use this skill to create the product half of an SDD workflow: planner-facing
prd.md and user_stories.md, plus the supporting impact.md evidence dossier.
This skill is allowed to author files only inside the selected SDD output directory. It must never edit regenerated SOT markdown under ~/.platty/sot/<projectId>/.
Default location:
~/.platty/specs/<projectId>/SPEC-<slug>-<YYYY-MM>/
├── prd.md
├── user_stories.md
└── impact.md
Do not write SDD documents to repository-local paths such as docs/sdd/ or
.platty/sdd/. The Platty web dashboard treats the global Platty home as the
managed SDD source.
When this skill authors SDD product documents, write both prd.md and
user_stories.md in the same SDD directory, and create or refresh impact.md there
as the SSOT and code-search dossier. Do not leave user_stories.md as a chat-only
gate or handoff note. If decisions are unresolved, keep both planning documents
in draft state and make those assumptions visible in prd.md §7 and in
user_stories.md.
Reader boundary:
prd.md and user_stories.md are Korean-first, skimmable planning documents
for planners, PMs, designers, and QA.impact.md owns detailed SOT paths, source commits, search terms, exact
reads, candidate hits, coverage gaps, route audits, and next reads.prd.md; preserve it in
impact.md and keep a short status pointer in the request.~/.platty/sot/<projectId>/.README.md and catalog/epics.md; use sot glossary search for raw terms, aliases, or translated concepts before product claims.business-docs, static-only, mixed, or stale.prd.md.user_stories.md with prd.md as a draft even when open questions remain. Approval gates control approved status and design readiness, not whether the stories file exists.impact.md after investigation and before finalizing the
planning documents.impact.md and a concise status in prd.md.Use the Platty CLI convention from using-platty. Inside this repository, AGENTS.md overrides public plugin examples: run the local build with node packages/cli/dist/main.js <command> --json.
Gather SOT-grounded evidence through platty-retrieval (read the SOT projection,
platty sot resolve/glossary search, graph trace, code search/snippet).
Before returning any question, classify every unresolved item with
../using-platty/references/sdd-question-ownership.md as FACT, PRODUCT, or
DESIGN, and run the Adaptive Product Interview below.
README.md freshness: lastExportAt, sourceCommitsot glossary search --project <project> --query "<raw term>" --jsoncodeTerm, resolve it with code search before any graph tracecatalog/epics.mdbr.md, usecases/ucl.md, usecases/ucs.md when present, data_dictionary.md, design.mdusecases/ucl.md, read the Use Case Index first and then only the relevant use-case sectionsgraph trace as a fast, bounded map of screen ↔ API ↔ domain ↔ DB
and related event/job paths;impact.md;code search for incomplete file/symbol addresses and bounded
readonly_workspace_shell reads to confirm any behavior-sensitive claim.Do not brute-force all epics/ or specs/. Narrow through catalogs and
frontmatter paths. Graph trace accelerates scope discovery; it is not exhaustive
proof and must not by itself establish a write, permission, transaction, response
shape, or absence of impact.
Do not use a fixed question cap. Ask one question at a time and keep going until
no material PRODUCT decision remains. A specific request over a safe,
reversible existing product flow may need zero questions; a complex policy may
need many. Follow ../using-platty/references/sdd-question-ownership.md and
maintain the runtime-only decisionLedger, productInterviewRounds, and
remainingProductDecisions state; stop only when remainingProductDecisions is
empty.
Question ownership and the non-developer boundary:
FACT — source-confirmable existing behavior. Resolve it from SOT/source via
platty-retrieval; never ask the user (a non-developer) to guess it, and
never turn a code search miss into a negative fact.PRODUCT — a choice that changes the visible user result, target user,
policy, money, permission, notification, or irreversible outcome. Apply a safe
recommendation when one clearly fits; otherwise ask exactly one plain-language
product question.DESIGN — API, DB, field, enum, migration, cache, query, tie-breaker,
component, file, or test choice that preserves the approved result. Preserve
it as a Design Decision Handoff for platty-sdd-design; do not ask a
non-developer to choose it.Each PRODUCT question uses product language and shows what SOT evidence
suggests, why it matters, a recommended default, and what the default would
imply — never an API/DB/field/implementation choice:
정해야 할 것: <사용자에게 보이는 선택>
추천: <권장안>
이유: <현재 제품 근거와 사용자 영향>
달라지는 점: <다른 선택의 사용자 관점 차이>
Prioritize remainingProductDecisions by material user effect: (1) target user,
eligibility, surface, journey; (2) money, rewards, permissions, privacy,
notification, irreversible state; (3) cadence, duplication, limits, exceptions,
failure; (4) reversible feedback or operator preference.
Confirmed answers go to §6 Confirmed Decisions. Unresolved items stay in §7 Open Questions. When unresolved items affect stories, write the stories from
clearly named recommended defaults or assumptions and include an
assumptions/impact section in user_stories.md so later edits know what must
change. Final product approval is a separate gate, not an interview round.
Write user-facing prd.md, user_stories.md, and impact.md content in the
requested language.
outputLanguage.When you author or update prd.md, user_stories.md, or impact.md during a
chat turn, the final chat response must show the planner-facing document content,
not only the file paths.
Do not answer with only file paths, a handoff summary, or "작성 완료" plus a location. Include enough content for the user to review without opening the file.
Minimum final response when files are written:
prd.md: status, path, outputLanguage, evidence boundary, confirmed
decisions, open questions, main request rules, and validation/release notes.user_stories.md: status, path, outputLanguage, user stories, acceptance
scenarios, unresolved assumptions, and Self Review verdict.impact.md: path, investigation status, freshness, evidence boundary,
coverage limits, and Self Review verdict. Do not paste its full dossier unless
the user asks for the detailed evidence.If a document is too long for chat, include its main sections and say which sections were abbreviated. Always include all open questions and assumptions.
Read reference templates only when writing the files:
references/prd-template.mdreferences/user-stories-template.mdreferences/impact-template.mdreferences/spec-review-rubric.mdreferences/pressure-scenarios.md when testing or changing this skillAuthoring order:
impact.md with detailed evidence, freshness, limits, and next reads.prd.md with the planner-facing §0–§8 structure and a
compact impact.md pointer after §8.user_stories.md in the same directory from prd.md §1 and
§5.prd.md as draft-with-open-questions and user_stories.md as draft
when unresolved open questions or assumptions remain.user_stories.md; do not silently close them.review -> revise -> review against references/spec-review-rubric.md.prd.md.impact.md; keep only the outcome in the planning
documents.NEEDS_WORK,
keep both planning documents in draft state, and expose the findings to the user.prd.md, user_stories.md, and impact.md together.Self Review is an authoring quality gate, not an approval. It must not set either
planning document to approved; only explicit user approval may do that.
The review must check:
prd.md, and user_stories.md;impact.md records map-first evidence, exact reads, unread surfaces,
freshness, coverage limits, and any retrieval audit failure.Any missing required input, unresolved evidence conflict, unsupported numeric
target, or cross-document contradiction is blocking. Revise once and review the
revised pair; if it still fails, return NEEDS_WORK instead of claiming the
documents are ready.
prd.md status:
draft while being filled;draft-with-open-questions when assumptions remain;approved only after explicit user approval.user_stories.md status:
draft while generated or under review;approved only after explicit user approval.platty-sdd-design only after approval or explicit draft override.| Temptation | Required behavior |
|---|---|
| "I know the domain term." | Run sot glossary search first. |
| "The user wants speed, skip questions." | Draft with named assumptions and use draft-with-open-questions. |
| "Stories need approval first." | Approval controls approved status. Still create user_stories.md as draft beside prd.md and preserve assumptions. |
| "Business docs are missing, so invent product intent from code." | Use static evidence only and state the boundary. |
| "A graph trace shows the whole impact." | Use it to map candidate screen/API/domain/DB paths, record omissions or unresolved hops in impact.md, and confirm behavior-sensitive parts from source. |
| "A code term can go directly to graph trace." | Resolve code term with code search first when the file/symbol address is incomplete, then use graph trace as a structural map and verify exact source with a bounded readonly_workspace_shell read. |
| "Fix the generated SOT markdown." | Never edit SOT projection; suggest memory or regeneration. |
| "The SOT is English, so the spec should be English." | Follow the requested language; keep only identifiers and evidence labels unchanged. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub paradigmshift-labs/platty --plugin platty13 skills in this plugin
/platty-cli-routerUse when deciding which Platty CLI root command, project workflow, repository workflow, analysis workflow, document workflow, or Platty skill should handle a request./platty-docs-target-curationUse when listing, filtering, including, deprecating, or reviewing Platty technical documentation targets before docs generation./platty-generated-docsUse when generating, validating, reviewing, resuming, or repairing Platty generated outputs through the public generate-docs workflow./platty-mcp-server-setupUse when configuring, starting, validating, or troubleshooting the Platty context backend that exposes a read-only MCP endpoint./platty-memoryUse when recording, updating, or removing human knowledge (why, corrections, constraints) anchored to Platty epics, documents, or document items./platty-onboardingUse when Platty CLI and agent skills are already installed and a user wants the first end-to-end project journey from repository registration through static analysis and generated SOT, or wants to resume that multi-phase onboarding journey.Other plugins' skills for the same job