@spideru/ai-template
v0.2.7
Published
CLI to install and sync AI agent skills, architecture rules, and model guidance.
Maintainers
Readme
AI Template
@spideru/ai-template is a small Node.js CLI that installs and syncs shared AI-agent project scaffolding.
It packages reusable Claude and Codex skills, architecture rules, and model-selection guidance so a project can be bootstrapped with one command and kept in sync over time.
Requirements
- Node.js
>=18
Quick Start
Run the CLI in the root of the project you want to configure:
npx @spideru/ai-template initUpdate previously managed files later with:
npx @spideru/ai-template syncRead package release notes with:
npx @spideru/ai-template newsCommands
init
Installs the managed template files into the target project.
- Copies bundled skills for both
.claudeand.codex - Copies
meta/rulesandmeta/models.md - Creates
meta/features/.gitkeep - Leaves existing files untouched by default
Examples:
npx @spideru/ai-template init
npx @spideru/ai-template init --cwd ../my-project
npx @spideru/ai-template init --forcesync
Refreshes managed files from the package bundle.
- Overwrites managed files with the packaged versions
- Does not create
meta/features/.gitkeep
Examples:
npx @spideru/ai-template sync
npx @spideru/ai-template sync --cwd ../my-projectnews
Prints NEWS.md to stdout.
npx @spideru/ai-template newsManaged Files
The CLI manages these paths:
.claude/skills.codex/skillsmeta/rulesmeta/models.md
Additionally, init creates:
meta/features/.gitkeep
CLI Behavior
--cwd <path>changes the target project directory--cwd=<path>is also supported--forceis supported byinitand allows overwriting existing files-h,--help, orhelpprint usage
After init or sync, the CLI prints a summary with counts for created, updated, unchanged, and skipped files.
