Sync shadcn

From udecode/plate · View interactive version

Sync shadcn is an AI agent skill from the GitHub repository udecode/plate. Sync upstream shadcn docs into Plate with source inventory, fork-aware apply and baseline accounting, or match shadcn's registry and install protocol source by source.

How to use this skill

Skill file

Sync Shadcn

Handle $ARGUMENTS. Read the complete sync policy, then

the selected mode below. pstack's poteto-mode owns lifecycle and existing

authority, the lead writes every change, and a plan takes the plan-page shape;

this skill owns upstream range accounting, Plate forks, slice decisions and sync

state.

Plate's docs app is a forked product. Upstream owns the Fumadocs/shadcn docs

architecture; Plate owns editor content, demos, registry, API MDX, CN docs,

MCP, Plate Plus hooks, GA and intentional forks. Keep that ownership explicit.

Modes

| Request | Complete method |

| --- | --- |

| No command, a range or a named surface | Planning and implementation handoff |

| status | Incremental status and discovery |

| apply | Accepted slice application |

| dashboard | Review board |

| drift [component] | Site ui drift against upstream, in the review board |

| compat [--ref <ref>] | Plate's verdict on each shadcn create option, install marker and install transformer, in the review board |

| review | Re-audit the current plan |

| parity <surface>, or a request to mirror shadcn | Registry and install protocol parity |

Named scope constrains the inventory. An unscoped sync inventories the whole

tracked range. Read docs/sync/shadcn/status.json and decisions.md before

classifying current source. Record exact upstream SHAs and every relevant row.

Planning is the default. Explicit planning-only work stops at the reviewable

plan. Already-authorized implementation continues when readiness is resolved;

do not ask for a second invocation. The full policy defines the narrow

micro-overlap rule; it never overrides an explicit read-only request.

Apply and revalidate only accepted rows. Preserve source-owned forks and real

route proof. Advance lastSyncedCommit only after complete range accounting

and applicable verification. A partial slice cannot claim the whole range.

All procedures, examples, inventory shapes, commands and prompts live in the

linked mode references. Read them in full when selected. Do not replace them

with the entrypoint summary or create a parallel sync ledger.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.