/platty-mcp:platty-mcp-retrievalfrom platty-mcp
Routes Platty project questions through read-only MCP tools to retrieve domain terms, epics, specs, code locations, and business documents. Classifies questions as map-first or direct-first before selecting discovery tools.
Ships in platty-mcp. 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.
Prerequisite: Read using-platty-mcp before acting unless it has already
been read in this turn.
For an SDD authoring, impact-approval, or design caller, also read
../using-platty-mcp/references/sdd-question-ownership.md before building the
Search Brief. Retrieval must distinguish source-confirmable facts, product
choices, and technical-design choices before it returns a question or handoff.
Platty MCP retrieval is map-first for semantic and business questions and direct-first for exact source-near anchors.
Classify the question before selecting the first discovery tool:
spec_get
when the Spec ID is known, spec_search when an exact Spec anchor is known
but its ID is not, or code_search plus bounded source read for an exact code
anchor.spec_document_resolve back to
business items and EPIC context.Direct-first changes discovery order, not evidence quality. A search hit is
still only a routing candidate and must be followed by spec_get or an exact
source read.
projectId is an opaque ID, never a display name or project name. When the
request names a project but does not provide its exact ID, call project_list
once before the first project-scoped tool, select the matching returned id,
and reuse that ID for the remaining route.
The only exception is the Initial Product Intent Gate for an SDD product
caller. It may ask one raw-intent question before deep or full-cycle retrieval
when two materially different user-visible interpretations are explicit in the
request. It must make no existing-system claim and must not ask a FACT or
DESIGN question.
For a time-based reward threshold with no stated reward cadence, that exception is mandatory: ask once-per-visit/window versus repeated-threshold earning before overview, glossary, EPIC, document, or source retrieval. An existing reward pattern cannot choose this user-visible earning policy.
For questions governed by this broad/semantic hard gate, do not call
document_search, spec_search, code_search, or graph_trace first. Build
project overview, vocabulary when needed, and the EPIC map first.
Call epic_get, then open its BR, DESIGN, DD, and UCL documentRefs directly
with document_get. Search narrows candidates only when an exact ID is absent;
it cannot replace exact epic_get, document_get, document_item_get,
document_spec_resolve, spec_get, or readonly_workspace_shell reads.
Use document_search only after this direct route cannot identify the needed
business document or item.
Use spec_list for a complete API, screen, event, or schedule inventory. Apply
the required epicId and optional specKind, then follow every nextCursor
until hasNextPage is false. Use spec_search only for targeted discovery when
the exact Spec ID is unknown, then confirm selected hits with spec_get.
When filtering, specKind must use the stored values api_spec, screen_spec,
event_spec, or schedule_spec. Never pass the shorthand values api,
screen, event, or schedule; omit specKind when unsure and narrow from
the returned cards instead.
| Case | Required behavior |
|---|---|
| Allowed | Use configured MCP tools. MCP readonly_workspace_shell is the bounded source-read tool when exposed. |
| Prohibited | Do not use host/local files, host/local shell or CLI, local SOT, project mutation, generation, or memory writes. |
| Missing MCP surface | Report the capability gap and weaken or stop the claim; never substitute a host/local surface. |
Stored SOT files are available only through MCP artifact tools and need exact evidence reads before behavior claims.
Memory overlay reads are a first-class retrieval rung. List, map, and search
cards expose memoryCount, not Memory bodies. Select a relevant candidate,
follow its exact-read continuation (epic_get, document_get,
document_item_get, or spec_get), inspect the returned memories summary
cards, and call memory_get only for related exact bodies.
Follow next for Memory routing instead of inventing a parallel call order.
At every selected overview, epic, document, item, and spec read, inspect
returned Memory title, contentPreview, kind, level, trust, and alias before
discarding a candidate or finalizing an answer. Read the exact body when it is
related to the user question, ambiguity, correction, constraint, why, naming,
deprecated behavior, or operational caveat. Unread relevant Memory is an
incomplete route, not an optional omission.
Normal attached-card locations are project_overview_get.overview.memories,
epic_get.memories, document_get.memories,
document_item_get.items[*].memories, and spec_get.memories. A document
exact read carries direct document Memory; item cards retain their own
memoryCount and item exact reads carry item Memory. Use memory_list only for
an explicit scoped Memory inventory or as a fallback when the selected exact
read cannot expose attached cards. Never call it blindly for every candidate.
Use this skill for ordinary retrieval answers about domain terms, epics, business
docs, specs, exact API or exact source-near questions, code locations, or source
confirmation. Use it also when platty-mcp-impact-analysis or an owning SDD
skill needs an Impact Seed Packet.
Do not use it for setup, analysis, sync, generation, mutation, memory writes, local cache changes, or local inspection. Report those as boundary gaps.
Route explicit SDD file authoring first: request/story authoring goes to
platty-mcp-sdd-spec; design/task authoring goes to platty-mcp-sdd-design.
That intent takes precedence over generic impact or design-change wording.
Keep ordinary retrieval retrieval-only. In particular, an exact API, exact screen, or exact source-near question remains in this skill unless the user also asks an observable impact question.
Treat questions such as "what changes", "what breaks", "what is affected", blast radius, affected surface, cross-EPIC impact, or design-change impact as observable impact triggers. Use this route contract:
ordinary question -> retrieval answer
user impact trigger -> retrieval(routeMode=seed-only, routeOrigin=user)
-> semantic map -> Impact Seed Packet -> platty-mcp-impact-analysis
impact without packet -> retrieval(routeMode=seed-only, routeOrigin=impact)
-> return Impact Seed Packet to impact; do not escalate
impact with packet -> dossier axes; do not re-enter retrieval
SDD file authoring intent -> platty-mcp-sdd-spec or platty-mcp-sdd-design
routeMode: seed-only makes this skill the packet producer only. It must not
escalate or route to platty-mcp-impact-analysis; return or hand back the
Impact Seed Packet to the caller. Reuse a packet that is already built instead
of rebuilding semantic discovery, vocabulary normalization, EPIC mapping,
business-document gates, or selected specs. Retrieval owns semantic scope and
selected specs; impact owns graph, cross-EPIC, repository, and source
convergence.
FACT, PRODUCT, or DESIGN for an SDD
caller. Resolve FACT, return safe recommended PRODUCT assumptions, and
preserve DESIGN items for the owning design phase.If the answer needs correction recording, re-anchoring, refresh, sync, or generation, report a boundary gap.
| Do | Don't |
|---|---|
| For semantic and business questions, build project, epic, BR/DESIGN/DD/UCL, Spec, and source maps in order. For exact anchors, take the direct-first branch. | Treat one search hit, snippet, or score as proof. |
On every table/field route, inspect parent data_dictionary document memories before item-level conclusions; use memory_list(documentId) if attached cards are unavailable. | Read only the dd_field item and skip a parent DD fallback memory. |
| Normalize vocabulary when terms may not line up. | Treat glossary normalization as behavior evidence. |
| Read exact item/spec/source evidence before implementation claims. | Claim response shape, permissions, writes, emits, or absence without the required evidence tier. |
Treat code_search and MCP readonly_workspace_shell as a pair for code claims: find candidate files/symbols, then read bounded source before asserting exact behavior. | Stop at code_search when source code must be inspected. |
Use workspace_git_history and workspace_sync_status only for managed-worktree Git questions, preserving networkChecked: false and deployment limits. | Call cached refs “latest GitHub” or “production deployment,” or send git log through readonly_workspace_shell. |
After reading exact BR/UCL/DESIGN items, batch up to five itemIds through document_spec_resolve; DD follows Entity items instead of a Spec bridge. | Jump from a business item to search without first using its stored directional link. |
After spec_get, call spec_document_resolve only for reverse business context and spec_impact_resolve only for technical impact. | Expand every direction when the question needs only one. |
Treat graph_trace as one hop; continue only selected frontier node IDs and maintain a visited set. | Ask the server for an implicit recursive graph walk. |
| For SDD product work, use the optional initial intent question before deep retrieval and at most one evidence-informed follow-up after MCP evidence. | Ask an initial question about an existing fact, ask more than two discovery questions, or ask the user to choose a FACT or DESIGN item. |
| Stop expanding the selected branch after the required rungs establish the requested result and remaining uncertainty is design-owned. | Read every remotely related document, spec, or source path merely because it is available. |
Use one identifier, symbol, file hint, or signature fragment per code_search
query. Never concatenate a keyword bag, Korean or English
natural-language phrase, or multiple unrelated candidates into one query.
Search candidates separately and retain matchedQuery for each candidate hit.
Zero results only means the pattern lacks an indexed anchor; it does not prove
absence.
For exact code claims, follow workspace_repo_list -> select repo -> readonly_workspace_shell search -> exact source read. The bounded source read
is required for exact behavior claims. If missing workspace or source tools
prevent that read, report a partial capability gap and use no local fallback.
For recent commit history or analysis-worktree freshness, first select one
repository with workspace_repo_list when repoId is not already known.
workspace_git_history(projectId, repoId, limit?, path?) for bounded
history from the managed analysis worktree.workspace_sync_status(projectId, repoId) to distinguish worktree HEAD,
last successfully analyzed commit, cached analysis-branch tip, and exact
worktree refresh time.networkChecked: false. A cached origin ref is only the newest ref
already present on the MCP server.productionDeploymentObserved: false. Neither tool proves what is
running in production; that needs separate CI/CD or deployment evidence.availability is git_metadata_unavailable, report that source files may
still be readable while the linked worktree's Git common directory is not.Do not call these tools for ordinary code behavior questions unless the user also asks about history or freshness. Continue to use exact specs and bounded source reads for implementation behavior.
glossary_translate(projectId, text) for an exact raw phrase or candidate
term. Keep the raw phrase and any Korean/English candidates visible.glossary_list(projectId, limit, cursor) for broad vocabulary inventory,
comparisons, ambiguous concepts, all-alias requests, or candidate discovery
after translation is blank or conflicting.glossary_translate on an exact/raw phrase is blank or conflicting while
plausible Korean/English candidates remain, call glossary_list next for
candidate discovery before translating additional candidates.pageInfo.nextCursor until
pageInfo.hasNextPage is false. For targeted discovery, stop after the needed
candidates are found.aliases for query expansion. Keep generatedAliases and
memoryAliases separate; memory aliases are overlays and glossary output is
routing evidence, not behavior or source proof.Before routing, decide whether the question is exact or needs a runtime Search Brief. Exact source-near questions can bypass unless term, scope, or target set is ambiguous.
Create a Search Brief for broad inventory, impact, Korean/English bridges,
business-vs-implementation splits, or any case where one search hit could miss
the target set. For triggers, read references/search-clarification.md.
Search Brief shape:
Search Brief
- Raw question:
- Question branch:
- Ambiguity triggers:
- Candidate interpretations:
- Ownership by unresolved item: FACT | PRODUCT | DESIGN
- Recommended product assumption:
- Design decision handoff:
- Raw terms:
- Korean candidate terms:
- English candidate terms:
- Alias candidates:
- Glossary searches attempted:
- Search-assist queries attempted:
- Candidate MCP route:
- User decision needed:
- initialQuestionUsed:
- followupQuestionUsed:
- discoveryQuestionsRemaining:
Keep the Search Brief in runtime context only.
Before deep or full-cycle retrieval, ask at most one question when the raw idea
itself has two materially different user-visible interpretations and choosing
the wrong one would materially redirect the evidence branch. Ask only what the
user intends, one question per message, without claiming current-system facts.
Record initialQuestionUsed: true, then narrow the Search Brief from the answer.
Skip this gate when the request is already specific or a safe existing product
default can be evaluated without choosing between user-visible outcomes. Do not
apply that skip to a time-based reward whose cadence is unstated; once versus
repeated earning is itself the material user-visible outcome.
After MCP evidence, ask at most one clarifying question only when evidence
leaves tied PRODUCT interpretations with materially different user-visible
results, and include the recommended interpretation. Record
followupQuestionUsed: true. Source-confirmable FACT items are retrieval work.
API, DB, field, enum, migration, cache, query, ordering implementation,
tie-breaker, component, file, test, deployment, and rollback alternatives are
DESIGN handoff items, not Search Clarification questions.
Across both gates, ask at most two discovery questions. Final product approval does not count toward this budget. Never force either question when no material product ambiguity remains, and never open a third discovery round.
document_get is itself the normal map read:
document_item_get(itemIds, detail=summary|full).document_item_get.summary first and full only when field
details are required. DD does not normally traverse to Specs.Use document_item_list only for pagination, a complete item inventory, or an
explicit itemType filter. A batched ID argument accepts 1-5 unique IDs;
split larger selections into multiple calls. Follow the response's shared
next hints rather than repeating routing instructions per item. When a
selected card has memoryCount > 0, the exact read comes before memory_get;
do not treat the count itself as a Memory body.
For BR, UCL, and DESIGN:
document_item_get(itemIds)
-> document_spec_resolve(itemIds)
-> selected spec_get(id)
For a Spec-first question:
spec_get(id)
-> spec_document_resolve(specIds) when business context is required
-> spec_impact_resolve(specIds, direction) when technical impact is required
-> graph_trace(frontier nodeIds) only for a deeper selected branch
Use the ladder for broad, semantic, comparison, inventory, or impact-seed: project
context -> overview -> vocabulary -> epic map -> epic_get.documentRefs ->
BR/DESIGN/DD/UCL maps -> exact items -> directional Spec links -> exact Specs ->
source confirmation when required ->
Final Route Audit.
Each rung is list/map first, exact detail second. Overview, artifacts, catalog
rows, glossary output, and search hits orient only. For the ladder and audit,
read references/full-cycle-retrieval.md.
Completing the ladder means completing the required rungs for the selected
question branch and target set. It does not require expanding every adjacent
EPIC, document payload, connected spec, or source candidate after exact evidence
has established the requested result. Preserve remaining implementation
candidates as DESIGN handoff instead of extending product retrieval.
references/full-cycle-retrieval.md is the canonical order of operations.
Read references/question-routes.md only to choose branch-specific document
families, extra requirements, and completion checks; do not treat it as a second
copy of the ladder.
Route by question type: concept/domain term, policy/rule, data field, design, capability/journey, exact API/screen/event/schedule, impact seed, or source absence.
spec_search candidates with spec_get. Add
spec_document_resolve or spec_impact_resolve only for the requested
direction.code_search to locate candidates, then
actively use MCP readonly_workspace_shell to read the bounded source region.document_item_list filter returns no rows, retry without the
narrowing filter before treating the item as absent.For examples and branch-specific evidence rules, read
references/evidence-gates.md.
Stop and report a boundary when selected-branch tools are missing; the user asks for setup, analysis, sync, generation, mutation, memory writes, local cache/local reads; full-cycle maps cannot be built; only search candidates exist; raw and normalized terms split; broad inventory/impact seed lacks a target map; or required source confirmation tools are missing.
If the raw idea requires initial product-intent clarification, ask it before
deep retrieval. If MCP evidence later leaves tied PRODUCT interpretations,
ask one follow-up with a recommended interpretation. Stop only when that product
ambiguity cannot be resolved within MCP evidence. Never stop to ask the user to
choose a source-confirmable FACT or an implementation-only DESIGN option.
If evidence is weak, name the next read-only MCP surface. If that requires refresh, export, sync, generation, memory write, or local files, report a configuration/boundary gap.
Before every final answer, audit the route in runtime context. If a required
rung is missing, perform the MCP step or weaken/stop; never turn audit failure
into a confident claim. Checklist: references/full-cycle-retrieval.md.
For an SDD caller, include a runtime-only questionOwnershipAudit containing:
- factItems: resolved evidence or exact coverage limit
- productItems: adopted recommendation or tied user-visible choice
- designItems: preserved handoff items
- userQuestion: none or one PRODUCT question
- stopReason: required evidence established | product ambiguity | capability gap
For product or implementation questions, put answer first, evidence second, and
uncertainty last. Full template: references/answer-shape.md.
## 현재 확인된 기준
## 실제 동작
## 관련 위치
## 더 확인할 후보
Explain internal names before technical ids. Use "확인됨" only for exact MCP content reads; use "후보", "근거상 보임", or "추가 확인 필요" for search hits or inferred behavior.
Every answer should include evidence boundary, normalized terms when used, selected interpretation, surfaces read, direct evidence vs inference, freshness or coverage limits, missing MCP surfaces, and any audit result that changes confidence or scope.
Use references/pressure-scenarios.md only when validating or changing this
skill. Do not load it for ordinary retrieval answers.
references/answer-shape.md (opens in a new tab)references/evidence-gates.md (opens in a new tab)references/full-cycle-retrieval.md (opens in a new tab)references/pressure-scenarios.md (opens in a new tab)references/question-routes.md (opens in a new tab)references/search-clarification.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
platty, mcp-retrieval, question-routing, semantic-search, code-search
npx claudepluginhub paradigmshift-labs/platty --plugin platty-mcp24 skills in this plugin
/heroines-low-fi-wireframesUse when turning a Heroines FSD or confirmed screen behavior into a low fidelity wireframe, reviewing its visual hierarchy, or adding interactions to that wireframe./ba-interviewOrchestrate a BA interview through JTBD, PRD, user experience, storyboard and Notion delivery, screen behavior, and verified wireframes. Use to start or resume an interview; it routes to exactly one current stage./design-pack-editChange what the Heroines design knowledge pack contains — tokens, components, screen roles, recipe rules, principles, usability checks, reference screens — through the upstream seeds that produce it, then build and verify a new pack version. Use when a designer wants to fix, add, or remove something in the design system./design-pack-reviewRender the Heroines design knowledge pack — tokens, components, screen roles, recipe rules, principles, reference screens — as one HTML page a designer can open and judge. Use when someone asks to see, review, or check what the design system currently contains./wireframeAuthor and verify Heroines design-system wireframes from confirmed screen behavior using the design pipeline harness, then export the completed wireframe to a new Figma file. Use only while the session stage is design_system_wireframe./jtbdInterview the planner for the customer's job-to-be-done and the experiences that job requires, before any PRD exists. Use only while the session stage is jtbd.Other plugins' skills for the same job