Specboot installs as a project-level bootstrap, not as a permanent global dependency. Run it once inside your project and it copies all template files, wires up the multi-copilot symlinks, and exits — leaving behind a self-contained directory structure you own and version-control alongside your code.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LIDR-academy/lidr-specboot/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Node.js
>=18— required by the@lidr/lidr-specbootpackage (engines.nodefield inpackage.json). Node.js 20.19.0 or higher is recommended if you also plan to use OpenSpec. - npm
npx— included with all npm installations; no separate install needed. - An existing project directory. Specboot copies files into it; it does not scaffold a new project from scratch.
Installation Methods
npx (recommended): Fetches the latest published package from npm, copies the full template into the current working directory, and automatically creates all symlinks. No global install required. Safe to run more than once.
Method 2 — npx with a target directory: Identical to Method 1, but you specify the destination path as an argument instead of cd-ing into it first. Useful in scripts or CI bootstrapping.
Method 3 — Global install: Installs the lidr-specboot binary globally via npm install -g @lidr/lidr-specboot, then run lidr-specboot (with an optional target directory argument) from anywhere. Useful when you bootstrap multiple projects regularly and prefer not to pull from the npm registry each time.
Method 4 — Manual copy: Use this when you need offline installation or want to inspect the files before they land in your project. The -n flag in cp prevents overwriting any files that already exist. After copying, create the four copilot symlinks by hand as shown above, then mirror ai-specs/agents/ and ai-specs/skills/ into .claude/ and .cursor/ using relative symlinks (see Symlink Structure below).
What Gets Installed
After a successful run, your project will contain:Symlink Structure
Specboot creates two layers of symbolic links so every supported copilot can discover agents and skills using the paths it already expects. Layer 1 — Copilot configuration files (project root) The four root-level configuration files are symlinks pointing todocs/base-standards.md:
base-standards.md once and every tool benefits.
Layer 2 — Agent and skill discovery (.claude/ and .cursor/)
Each agent and skill in ai-specs/ is mirrored into .claude/ and .cursor/ via relative symlinks so tool-specific UIs can discover them without duplicating files:
ai-specs/ is always the canonical source. Never edit the files inside .claude/ or .cursor/ directly — edit the originals in ai-specs/ and the symlinks reflect changes automatically.
Safe Re-Run Behavior
Specboot is idempotent. If you run
npx @lidr/lidr-specboot a second time in a project that already has Specboot installed, every file and symlink that already exists is skipped — nothing is overwritten, nothing is deleted. The summary output shows a Skipped count so you can confirm no changes were made unexpectedly. This makes it safe to run in CI or to use as a verification step after a merge.Verify the Installation
After running Specboot, confirm the symlinks are correctly in place:ls -la), re-run npx @lidr/lidr-specboot — it will create any missing links while skipping everything that already exists.