Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Deep integration with Docusaurus for documentation site development. Configure projects, manage sidebars, versioning, i18n, develop plugins, and optimize builds for React-based documentation.
.claude/skills/a5c-ai-docusaurus/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 112% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 78% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 222% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 139% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 148% | 0% |
Deep integration with Docusaurus for documentation site development.
Invoke this skill when you need to:
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | action | string | Yes | init, configure, sidebar, version, i18n, plugin | | projectPath | string | Yes | Path to Docusaurus project | | config | object | No | Configuration options | | version | string | No | Version tag for versioning | | locale | string | No | Locale code for i18n |
json{ "action": "configure", "projectPath": "./docs-site", "config": { "title": "My Documentation", "tagline": "Developer documentation for My Product", "url": "https://docs.example.com", "organizationName": "my-org", "projectName": "my-project" } }
javascript// @ts-check const { themes } = require('prism-react-renderer'); /** @type {import('@docusaurus/types').Config} */ const config = { title: 'My Documentation', tagline: 'Developer documentation for My Product', favicon: 'img/favicon.ico', url: 'https://docs.example.com', baseUrl: '/', organizationName: 'my-org', projectName: 'my-project', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', i18n: { defaultLocale: 'en', locales: ['en', 'es', 'ja'], }, presets: [ [ 'classic', /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { sidebarPath: './sidebars.js', editUrl: 'https://github.com/my-org/my-project/edit/main/', showLastUpdateTime: true, showLastUpdateAuthor: true, versions: { current: { label: 'Next', path: 'next', }, }, }, blog: { showReadingTime: true, editUrl: 'https://github.com/my-org/my-project/edit/main/', }, theme: { customCss: './src/css/custom.css', }, }), ], ], themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ image: 'img/social-card.jpg', navbar: { title: 'My Project', logo: { alt: 'My Project Logo', src: 'img/logo.svg', }, items: [ { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: 'Docs', }, { type: 'docsVersionDropdown', position: 'right', }, { type: 'localeDropdown', position: 'right', }, { href: 'https://github.com/my-org/my-project', label: 'GitHub', position: 'right', }, ], }, footer: { style: 'dark', links: [ { title: 'Docs', items: [ { label: 'Getting Started', to: '/docs/intro' }, { label: 'API Reference', to: '/docs/api' }, ], }, { title: 'Community', items: [ { label: 'Discord', href: 'https://discord.gg/example' }, { label: 'Twitter', href: 'https://twitter.com/example' }, ], }, ], copyright: `Copyright ${new Date().getFullYear()} My Project.`, }, prism: { theme: themes.github, darkTheme: themes.dracula, additionalLanguages: ['bash', 'json', 'yaml'], }, algolia: { appId: 'YOUR_APP_ID', apiKey: 'YOUR_SEARCH_API_KEY', indexName: 'my-project', contextualSearch: true, }, }), }; module.exports = config;
javascript/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { tutorialSidebar: [ 'intro', { type: 'category', label: 'Getting Started', collapsed: false, items: [ 'getting-started/installation', 'getting-started/quick-start', 'getting-started/configuration', ], }, { type: 'category', label: 'Guides', items: [ 'guides/authentication', 'guides/api-usage', { type: 'category', label: 'Advanced', items: [ 'guides/advanced/caching', 'guides/advanced/performance', ], }, ], }, { type: 'category', label: 'API Reference', link: { type: 'generated-index', title: 'API Reference', description: 'Complete API documentation', }, items: [ 'api/client', 'api/authentication', 'api/resources', ], }, { type: 'link', label: 'GitHub', href: 'https://github.com/my-org/my-project', }, ], }; module.exports = sidebars;
jsx// src/components/CodeTabs.jsx import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import CodeBlock from '@theme/CodeBlock'; export function CodeTabs({ children, labels = ['JavaScript', 'Python', 'cURL'] }) { return ( <Tabs groupId="code-examples"> {labels.map((label, index) => ( <TabItem key={label} value={label.toLowerCase()} label={label}> <CodeBlock language={label.toLowerCase()}> {children[index]} </CodeBlock> </TabItem> ))} </Tabs> ); }
jsx// src/components/ApiEndpoint.jsx import React from 'react'; import styles from './ApiEndpoint.module.css'; export function ApiEndpoint({ method, path, description }) { const methodColors = { GET: '#61affe', POST: '#49cc90', PUT: '#fca130', DELETE: '#f93e3e', PATCH: '#50e3c2', }; return ( <div className={styles.endpoint}> <span className={styles.method} style={{ backgroundColor: methodColors[method] }} > {method} </span> <code className={styles.path}>{path}</code> <p className={styles.description}>{description}</p> </div> ); }
bash# Create version snapshot npm run docusaurus docs:version 1.0.0 # Project structure after versioning docs/ ├── intro.md # Current (next) version ├── getting-started/ versioned_docs/ ├── version-1.0.0/ │ ├── intro.md │ └── getting-started/ versioned_sidebars/ ├── version-1.0.0-sidebars.json versions.json
json[ "2.0.0", "1.1.0", "1.0.0" ]
i18n/
├── en/
│ └── docusaurus-plugin-content-docs/
│ └── current/
│ └── intro.md
├── es/
│ └── docusaurus-plugin-content-docs/
│ └── current/
│ └── intro.md
└── ja/
└── docusaurus-plugin-content-docs/
└── current/
└── intro.mdbash# Generate translation files npm run write-translations -- --locale es # Start dev server for locale npm run start -- --locale es
javascript// plugins/my-plugin/index.js module.exports = function myPlugin(context, options) { return { name: 'my-plugin', async loadContent() { // Load custom content return { /* content */ }; }, async contentLoaded({ content, actions }) { const { addRoute, createData } = actions; // Create custom routes addRoute({ path: '/my-custom-page', component: '@site/src/pages/MyPage.jsx', exact: true, }); }, configureWebpack(config, isServer, utils) { // Modify webpack config return { resolve: { alias: { '@custom': path.resolve(__dirname, 'src'), }, }, }; }, }; };
json{ "index_name": "my-project", "start_urls": [ "https://docs.example.com/" ], "sitemap_urls": [ "https://docs.example.com/sitemap.xml" ], "selectors": { "lvl0": ".menu__link--active", "lvl1": "article h1", "lvl2": "article h2", "lvl3": "article h3", "lvl4": "article h4", "content": "article p, article li" } }
json{ "dependencies": { "@docusaurus/core": "^3.0.0", "@docusaurus/preset-classic": "^3.0.0", "@mdx-js/react": "^3.0.0", "prism-react-renderer": "^2.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" } }
bash# Create new project npx create-docusaurus@latest my-docs classic # Start development server npm run start # Build for production npm run build # Create version npm run docusaurus docs:version 1.0.0 # Generate translations npm run write-translations -- --locale es # Deploy to GitHub Pages npm run deploy
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | fail→pass | 15,980 | 11,451 | -28% | 1 | 1 | 0% | 1,979 | 4,201 | +112% | 0 | 0 | — |
case-01 | fail→pass | 16,315 | 8,994 | -45% | 1 | 1 | 0% | 2,109 | 3,762 | +78% | 0 | 0 | — |
case-02 | fail→fail | 17,195 | 15,181 | -12% | 1 | 1 | 0% | 2,078 | 5,142 | +147% | 0 | 0 | — |
case-03 | fail→fail | 23,277 | 14,547 | -38% | 1 | 1 | 0% | 3,790 | 6,083 | +61% | 0 | 0 | — |
case-05 | fail→pass | 7,821 | 7,083 | -9% | 1 | 1 | 0% | 1,369 | 4,404 | +222% | 0 | 0 | — |
case-06 | pass→pass | 9,580 | 14,974 | +56% | 1 | 1 | 0% | 1,889 | 4,680 | +148% | 0 | 0 | — |
case-07 | pass→pass | 9,308 | 6,984 | -25% | 1 | 1 | 0% | 1,853 | 4,479 | +142% | 0 | 0 | — |
case-08 | pass→pass | 18,162 | 18,425 | +1% | 1 | 1 | 0% | 2,574 | 5,197 | +102% | 0 | 0 | — |
case-09 | pass→pass | 26,385 | 11,880 | -55% | 1 | 1 | 0% | 3,633 | 4,527 | +25% | 0 | 0 | — |
case-10 | fail→fail | 19,726 | 20,701 | +5% | 1 | 1 | 0% | 3,826 | 5,439 | +42% | 0 | 0 | — |
case-11 | pass→pass | 13,466 | 8,187 | -39% | 1 | 1 | 0% | 1,466 | 3,667 | +150% | 0 | 0 | — |
case-12 | fail→pass | 18,755 | 13,043 | -30% | 1 | 1 | 0% | 1,878 | 4,480 | +139% | 0 | 0 | — |
case-13 | pass→pass | 5,033 | 3,190 | -37% | 1 | 1 | 0% | 955 | 3,638 | +281% | 0 | 0 | — |
case-14 | pass→pass | 25,182 | 9,909 | -61% | 1 | 1 | 0% | 2,013 | 3,758 | +87% | 0 | 0 | — |
case-15 | pass→pass | 22,781 | 8,496 | -63% | 1 | 1 | 0% | 2,902 | 3,650 | +26% | 0 | 0 | — |
case-16 | fail→fail | 17,292 | 14,108 | -18% | 1 | 1 | 0% | 2,217 | 5,259 | +137% | 0 | 0 | — |
case-17 | pass→pass | 8,420 | 1,526 | -82% | 1 | 1 | 0% | 1,423 | 3,316 | +133% | 0 | 0 | — |
case-18 | pass→pass | 3,329 | 8,166 | +145% | 1 | 1 | 0% | 598 | 3,593 | +501% | 0 | 0 | — |
case-19 | pass→pass | 19,087 | 15,776 | -17% | 1 | 1 | 0% | 2,020 | 5,732 | +184% | 0 | 0 | — |
case-20 | pass→pass | 7,428 | 8,692 | +17% | 1 | 1 | 0% | 1,486 | 4,614 | +210% | 0 | 0 | — |
case-21 | pass→pass | 9,736 | 11,494 | +18% | 1 | 1 | 0% | 1,384 | 4,312 | +212% | 0 | 0 | — |
case-22 | pass→pass | 6,246 | 5,661 | -9% | 1 | 1 | 0% | 1,033 | 3,971 | +284% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +18 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.