What problem does it solve? Setting up a new DSH plugin repository by hand is error-prone: package identity, Cordis plugin ids, peer dependencies, TypeScript build topology, and lockfiles must all agree before any behavior code can be written. This Skill turns the plugin-template into a repeatable, verified scaffolding workflow. ## Core Features & Use Cases - Template Copying with Guardrails: Copies only source-controlled template files, preserves the dual build paths (tsc -b plus tsdown, and the prepare-based git install path), and refuses to overwrite an existing non-empty target directory. - Identity Replacement: Updates package.json, src/index.ts, config, runtime, invariant, tests, cordis.patch.yml, tsconfigs, and docs, then greps for leftover template placeholders. - Dependency and Type Alignment: Keeps peerDependencies, registry dev dependencies, tsconfig settings, Vitest aliases, and cordis.patch.yml inject entries consistent, forbidding link:/file: dependencies and external project references. - Baseline Verification: Runs pnpm install, verify:self-contained, typecheck, test, build, and prepare before any product behavior is added. - Use Case: After planning a new DSH plugin, hand the Skill a target directory, package name, and plugin id, and receive a clean repository whose skeleton builds, tests, and bundles out of the box. ## Quick Start Use $dsh-plugin-scaffold to create a new standalone plugin repository from plugin-template into the target directory with my chosen package name and plugin id.