{"id":"@lssm-tech/tool.create-contractspec-plugin","slug":"tool.create-contractspec-plugin","name":"@lssm-tech/tool.create-contractspec-plugin","version":"5.0.4","path":"packages/tools/create-contractspec-plugin","manifestPath":"packages/tools/create-contractspec-plugin/package.json","manifestBlobSha":"4e428969fa88524984ab6c8562c9076ab664bf31","layer":"tools","physicalArea":null,"primaryArea":"tooling-and-agent-delivery","classification":{"privateDeclared":null,"catalogFamily":"contracts","catalogKind":"tool","catalogStatus":"active","adoptionMode":"operator-only","stability":"stable"},"description":"CLI tool for creating ContractSpec plugins from templates","descriptionOrigin":"package.json","catalog":{"family":"contracts","kind":"tool","status":"active","adoptionMode":"operator-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./templates/example-generator","./utils"],"documentation":[{"title":"Tool Create Contractspec Plugin documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Ftool.create-contractspec-plugin","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This tool is published for execution by operators, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .","lint:check":"node ../../../scripts/biome.cjs check .","test":"bun test --pass-with-no-tests","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.schema":"workspace:^","@inquirer/prompts":"^8.7.2","zod":"catalog:","commander":"catalog:server","chalk":"^6.0.0","fs-extra":"^11.4.0","mustache":"^4.2.0"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","@types/fs-extra":"^11.0.4","@types/mustache":"^4.2.6","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./templates/example-generator":"./src/templates/example-generator.ts","./utils":"./src/utils.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./templates/example-generator":{"types":"./dist/templates/example-generator.d.ts","bun":"./dist/templates/example-generator.js","node":"./dist/node/templates/example-generator.js","default":"./dist/templates/example-generator.js"},"./utils":{"types":"./dist/utils.d.ts","bun":"./dist/utils.js","node":"./dist/node/utils.js","default":"./dist/utils.js"}},"types":"./dist/index.d.ts","files":["dist","templates","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/tool.create-contractspec-plugin","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/tools/create-contractspec-plugin/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./templates/example-generator","importPath":"@lssm-tech/tool.create-contractspec-plugin/templates/example-generator","target":"./src/templates/example-generator.ts","targets":[{"conditions":[],"target":"./src/templates/example-generator.ts","sourcePath":"packages/tools/create-contractspec-plugin/src/templates/example-generator.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/src/templates/example-generator.ts","sourceStatus":"verified source file"}]},{"subpath":"./utils","importPath":"@lssm-tech/tool.create-contractspec-plugin/utils","target":"./src/utils.ts","targets":[{"conditions":[],"target":"./src/utils.ts","sourcePath":"packages/tools/create-contractspec-plugin/src/utils.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/src/utils.ts","sourceStatus":"verified source file"}]}],"entryCount":3,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Tool Create Contractspec Plugin documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Ftool.create-contractspec-plugin","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/tool.create-contractspec-plugin.txt"},"readme":{"status":"available","body":"# @lssm-tech/tool.create-contractspec-plugin\n\nWebsite: https://contractspec.io\n\n**CLI tool for creating ContractSpec plugins from templates.**\n\n## What It Provides\n\n- **Layer**: tool.\n- **Consumers**: plugin authors (via `create-contractspec-plugin` CLI).\n- Related ContractSpec packages include `@lssm-tech/lib.contracts-spec`, `@lssm-tech/lib.schema`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n- Related ContractSpec packages include `@lssm-tech/lib.contracts-spec`, `@lssm-tech/lib.schema`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n\n## Installation\n\n`npm install @lssm-tech/tool.create-contractspec-plugin`\n\nor\n\n`bun add @lssm-tech/tool.create-contractspec-plugin`\n\n## Usage\n\n```bash\nnpx create-contractspec-plugin --help\n# or\nbunx create-contractspec-plugin --help\n```\n\n## Architecture\n\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/templates` is part of the package's public or composition surface.\n- `src/utils.ts` is part of the package's public or composition surface.\n\n## Public Entry Points\n\n- Binary `create-contractspec-plugin` points to `./dist/index.js`.\n- Export `.` resolves through `./src/index.ts`.\n- Export `./templates/example-generator` resolves through `./src/templates/example-generator.ts`.\n- Export `./utils` resolves through `./src/utils.ts`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run test` — bun test --pass-with-no-tests\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n\n## Notes\n\n- Template files live in `templates/` -- keep them in sync with the current plugin contract.\n- Do not change interactive prompts without updating the corresponding template variables.\n- Depends on `@lssm-tech/lib.contracts-spec` and `@lssm-tech/lib.schema` -- respect their APIs.\n","sourcePath":"packages/tools/create-contractspec-plugin/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/tools/create-contractspec-plugin/README.md","blobSha":"48c271273243bf4a82f5a50f3fbcfb27668add8b","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"tooling-and-agent-delivery","areaTitle":"CLI, authoring and agent tooling","displayName":"tool.create-contractspec-plugin","runtimes":["node"],"platforms":["server"],"kind":"tool","scope":"Package manifest","canonicalRoute":"/docs/packages/tool.create-contractspec-plugin/","contextUrl":"/docs/packages/tool.create-contractspec-plugin.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}