/platty:platty-syncfrom platty
Refreshes Platty-generated technical and business outputs when source, repository, or static-analysis state changes. Useful for incremental documentation updates after Git commits or configuration changes.
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.
None: SKILL.md is the whole skill.
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.What SKILL.md sets; muted values are Claude Code's defaults
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