1. Home
  2. ChevronRightGetting-started
  3. ChevronRightAI Agents & Skills

AI Agents & Skills

Teach your AI pair-programmer the Boltdocs architecture, routing, components, and styling conventions so it gives you better, more relevant suggestions.

Every AI assistant is only as smart as the context you give it. Whether you use Cursor, Claude Code, GitHub Copilot, or Gemini Code Assist, our structured skill teaches your tool how Boltdocs works under the hood—so it stops guessing and starts generating code that fits your project.

The skill is a set of markdown files that act as a localized knowledge base. AI tools read them to learn about boltdocs.config.ts, file-system routing, built-in MDX components, and the Tailwind CSS v4 styling system.


What's InsideLink

The skill is organized into a main entrypoint file and four focused reference guides. Each guide covers one area of the framework so the AI loads only what it needs:

FileWhat It Teaches the AI
SKILL.mdWhen to activate the skill — editing config, adding docs pages, writing MDX components, or changing styles.
configuration.mdWriting and maintaining boltdocs.config.tsdefineConfig, site metadata, theme, plugins, and tab structure.
routing.mdFile-system routing inside docs/, sidebar groups, meta.json folder configuration, and tab alignment.
components.mdBuilt-in MDX components (Callout, Cards, Mermaid), code block titles, math equations, and global component injection via mdx-components.tsx.
styling.mdTailwind CSS v4 theme tokens, semantic color mappings, dark mode overrides, and Biome-safe custom variant syntax.

InstallationLink

We ship an automated installer script install-ai-agents.sh at the project root. It copies the skill files to the folder your AI environment expects.

Quick Install (Standalone)Link

If you're adding the skill to an existing Boltdocs project without cloning the framework repository:

curl -fsSL https://raw.githubusercontent.com/jesus-alcala/boltdocs/develop/install-ai-agents.sh | bash

The script detects whether local skill files exist. If they don't, it downloads them from GitHub automatically.

Install from a Cloned RepositoryLink

If you have the Boltdocs repository cloned, run the script directly — it uses the local files so the skill always matches your checkout:

./install-ai-agents.sh
Lightbulb
Pro Tip

Run the installer from your project's root directory, not the Boltdocs framework directory. The --output-dir flag lets you point it anywhere.


Script ReferenceLink

The installer supports these flags for automated or CI workflows:

FlagValueDescription
-t, --targetcursor, claude, copilot, agents, allWhich editor or AI environment to configure.
-o, --output-dir<path>Custom installation directory (overrides default paths).
-y, --yesNon-interactive mode — skips prompts and confirms automatically.
-h, --helpPrint usage information and exit.

Default Target DirectoriesLink

TargetInstallation Path
cursor.cursor/skills/boltdocs/
claude.claude/skills/boltdocs/
copilot.copilot/skills/boltdocs/
agents (Gemini).agents/skills/boltdocs/

Example: Install for Claude in CILink

./install-ai-agents.sh --target claude --yes

What's Next?Link

Last updated on July 27, 2026

Was this page helpful?