一键导入
platty-sync
Use when refreshing existing Platty generated outputs after source, repository, branch, source-root, static-analysis, or static-map changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when refreshing existing Platty generated outputs after source, repository, branch, source-root, static-analysis, or static-map changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a Figma URL, Figma page, Figma section, or Figma frame must become reusable, revisioned design evidence before Platty MCP product specification or technical design.
Use when creating locally saved MCP-grounded SDD technical design and executable implementation plans from existing prd.md and user_stories.md.
Use when a user separately requests technical or system design from approved product documents with a Figma URL, current-session Figma evidence, or a validated figma_handoff.json discovered beside the product pair.
Use when a Figma URL accompanies a request to organize, draft, create, or improve a product plan, planning document, feature brief, requirements, PRD, user stories, 기획서, 요구사항, or 기능 기획, with or without existing product documents.
Use when creating locally saved MCP-grounded SDD PRD and user-story drafts from a product idea, feature request, PRD need, policy change, or requirements discussion.
Use when a task should use configured Platty MCP tools for remote project context, tool capability checks, Figma-backed product-plan or 기획서 authoring, Figma evidence routing, client setup routing, Platty MCP retrieval, memory or glossary-alias lifecycle routing, or MCP-grounded SDD file creation.
| name | platty-sync |
| description | Use when refreshing existing Platty generated outputs after source, repository, branch, source-root, static-analysis, or static-map changes. |
For direct invocation, set PLATTY_INVOCATION_SOURCE=platty-sync 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-sync platty sync plan --project <project> --json
Use this skill when source or repository state changed after generated outputs already exist: new Git commits, newly registered repositories, analysis branch changes, source-root changes, or static-analysis refreshes. Sync refreshes existing generated technical and business outputs against the latest analyzed static-map state.
Sync is not the final step of the first-time happy path. First-time generation is:
setup -> analyze -> targets -> generate-docs
Use sync for incremental refresh after source/repository changes and fresh static analysis.
Resolve these before syncing:
platty project list/create/use --json;platty status --project <project> --json;Business-doc sync includes glossary outputs. Treat glossary,
epic_glossary, and project_glossary as part of the business-doc refresh
surface.
Static-analysis freshness is a hard preflight. sync static-map,
sync create-doc-plan, sync plan, and sync run must compare the registered
source repository HEAD with the analyzed commit and require fresh passed static
pipeline stages before continuing. If the CLI returns
STATIC_ANALYSIS_REQUIRED_BEFORE_SYNC, run the returned
nextAction.command (platty analyze --project <project> --json) before
retrying sync. Do not reuse an existing --plan-id after source commits changed
until analysis is fresh again.
After source or repository changes, refresh the analyzed static-map snapshot before creating a document sync plan:
platty sync static-map --project <project> --json
Then create and inspect a sync plan:
platty sync plan --project <project> --json
Follow the returned nextAction.command, usually:
platty sync run --project <project> --plan-id <plan-id> --json
If sync run returns epics_sync_confirmation_required, run the returned
sync confirm command automatically:
platty sync confirm --project <project> --plan-id <plan-id> --epics-run-id <run-id> --json
Pause only when the user explicitly asked to review EPIC sync changes before
confirmation, or when the CLI response lacks --plan-id, --epics-run-id, or a
concrete returned command.
Use sync run --project <project> --json without --plan-id only when the user
does not need to inspect a plan first; that path runs static-map refresh and
creates a plan internally before continuing.
platty status says static analysis is stale or incomplete: route to
platty-static-analysis before sync.sync plan, sync run, sync create-doc-plan, or sync static-map returns
STATIC_ANALYSIS_REQUIRED_BEFORE_SYNC: run the returned static-analysis
command first, then recreate or rerun the sync plan.platty-generated-docs; sync refreshes
existing outputs.build_docs recovery is pending: route to platty-generated-docs and
preserve the existing run.sync confirm
command, no plan id, or no EPIC run id: stop and report the missing field.