When you runDocumentation 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.
npx @lidr/lidr-specboot or copy the Specboot template into a project, a specific directory structure is installed alongside your existing code. Every file and directory has a purpose: some contain content you must customize, some are symlinks that wire up multi-copilot support automatically, and some are integration points for specific tools like Cursor. Understanding what each component does tells you where to look when configuring, customizing, or troubleshooting your AI development setup.
Full Directory Tree
Symlinks vs. real files:
CLAUDE.md, AGENTS.md, codex.md, and GEMINI.md at the project root are symbolic links — they contain no content of their own. Every entry inside .claude/agents/, .claude/skills/, .cursor/agents/, and .cursor/skills/ is also a symlink. The only real files are those inside docs/ and ai-specs/. If you need to edit a standard, open the file in docs/. If you need to edit an agent or skill, open the file in ai-specs/. Never edit through the symlinks.The docs/ Directory
The docs/ directory holds every standards and specification document your AI agents will read. It is the only directory whose content Specboot installs as a starting point — you are expected to replace the generic content with your project’s real context.
docs/base-standards.md — Single Source of Truth
This is the most important file in the entire Specboot structure. It is the canonical rulebook loaded by every AI agent on every session, across every supported copilot tool. Its frontmatter declares alwaysApply: true, which causes tools that support this directive to load it automatically without explicit instruction.
base-standards.md defines:
- Section 1 — Core principles: small tasks, TDD, type safety, clear naming, incremental changes
- Section 2 — Language standards: English-only across all code, comments, docs, and commits
- Section 3 — Links to domain-specific standards (backend, frontend, documentation)
- Section 4 — Project skills: how agents discover and apply skills from
ai-specs/skills/ - Section 5 — Planning model requirements for OpenSpec workflows
- Section 6 — Symlink integrity and multi-agent portability rules
- Section 7 — Mandatory OpenSpec artifact update rules for post-apply changes
CLAUDE.md, AGENTS.md, codex.md, GEMINI.md) are symlinks to this file. Update base-standards.md and every copilot instantly sees the change.
docs/backend-standards.md, docs/frontend-standards.md, docs/documentation-standards.md
These files contain domain-specific extensions to the base rules. base-standards.md Section 3 points agents to these files for detailed guidance on their respective areas. Customize them to match your actual stack, architecture patterns, testing frameworks, and conventions.
docs/development_guide.md
A setup and workflow guide for developers joining the project. The installed version covers the Specboot/OpenSpec workflow generically. Replace it with your project’s actual setup instructions: environment prerequisites, local development commands, deployment process, and any project-specific tooling.
The ai-specs/ Directory
ai-specs/ is the canonical source for all agent configurations and reusable workflow skills. Per base-standards.md Section 6, this is the authoritative location — agent-specific paths in .claude/ and .cursor/ reference ai-specs/ through symlinks rather than holding their own copies.
ai-specs/agents/
Agent role definitions that tell an AI assistant how to behave when adopting a particular role. Each file describes the agent’s responsibilities, decision-making approach, and the standards it should apply. Installed agents include:
backend-developer.md— Role definition for backend implementation work; referencesdocs/backend-standards.mdfrontend-developer.md— Role definition for frontend implementation work; referencesdocs/frontend-standards.mdproduct-strategy-analyst.md— Role definition for requirements analysis and user story enrichment
.claude/agents/ and .cursor/agents/ — create the corresponding symlinks after adding the file to stay consistent with Section 6 of base-standards.md.
ai-specs/skills/
Skills are reusable, named workflow prompts that an agent loads automatically when a request matches the skill’s description (per base-standards.md Section 4). Each skill lives in its own subdirectory with a SKILL.md file defining the workflow steps. Installed skills include:
enrich-us/— Enrich a vague user story or Jira ticket into an implementation-ready specusing-git-worktrees/— Create and clean up isolated Git worktrees for feature workwriting-skills/— Author and validate new skills following TDD-style verificationcode-auditing/— Run a systematic 6-phase code quality audit with a prioritized action plancommit/— Create focused, conventional commits and manage Pull Requestsexplain/,meta-prompt/,update-docs/— Additional workflow utilities
ai-specs/scripts/
Shell scripts for development utility tasks. The installed script is code_review.sh, which supports automated code review workflows. Add your own project-specific scripts here.
Copilot Config Files (Root Level)
The four files at the project root —CLAUDE.md, AGENTS.md, codex.md, GEMINI.md — are all symbolic links created by init.js during installation. Each points to docs/base-standards.md:
CLAUDE.md, GitHub Copilot reads codex.md, Gemini reads GEMINI.md, and most other agents fall back to AGENTS.md. Because all four are symlinks to the same file, every tool receives identical rules.
The .claude/ and .cursor/ Directories
These directories provide tool-specific discovery paths for agents and skills. Claude looks for agent definitions in .claude/agents/ and skill definitions in .claude/skills/. Cursor looks in the equivalent .cursor/ paths. Specboot populates both with symlinks during initialization:
ai-specs/.
.cursor/rules/use-base-rules.mdc
Cursor has a dedicated rules mechanism separate from its agent discovery. The use-base-rules.mdc file is a Cursor rule that carries alwaysApply: true in its frontmatter, directing all Cursor agents to load docs/base-standards.md as the single authoritative rule set:
base-standards.md with the same alwaysApply behavior as other tools.