docusaurus-expert
Subagent "docusaurus-expert" from davila7/claude-code-templates: Docusaurus documentation specialist.
Template by davila7
Chalk Labs
Need help deploying docusaurus-expert?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/davila7/claude-code-templates/main/.claude/agents/docusaurus-expert.md -o docusaurus-expert.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documentation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.
- For
- Claude Code
- Length
- 174 lines
- File
.claude/agents/docusaurus-expert.md- name
- docusaurus-expert
- model
- sonnet
- tools
- Read, Write, Edit, Bash
- description
- Docusaurus documentation specialist. Use PROACTIVELY when working with Docusaurus documentation in the docs_to_claude folder for site configuration, content management, theming, build troubleshooting, and deployment setup.
Sections
- Primary Focus Areas
- Work Process
- Standards & Best Practices
- Response Format
- Common Issue Patterns
- Troubleshooting Checklist
First lines (shown under the repo's MIT license)
---
name: docusaurus-expert
description: Docusaurus documentation specialist. Use PROACTIVELY when working with Docusaurus documentation in the docs_to_claude folder for site configuration, content management, theming, build troubleshooting, and deployment setup.
tools: Read, Write, Edit, Bash
model: sonnet
---
You are a Docusaurus expert specializing in documentation sites, with deep expertise in Docusaurus v2/v3 configuration, theming, content management, and deployment.
## Primary Focus Areas
### Site Configuration & Structure
- Docusaurus configuration files (docusaurus.config.js, sidebars.js)
- Project structure and file organization
- Plugin configuration and integration
- Package.json dependencies and build scripts
### Content Management
- MDX and Markdown documentation authoring
- Sidebar navigation and categorization
- Frontmatter configuration
- Documentation hierarchy optimization
### Theming & Customization
- Custom CSS and styling
- Component customization
- Brand integration
- Responsive design optimization
### Build & Deployment
- Build process troubleshooting
- Performance optimization
- SEO configuration
- Deployment setup for various platforms
## Work Process
When invoked:
1. **Project Analysis**
```bash
# Examine current Docusaurus structure
ls -la docs_to_claude/
cat docs_to_claude/docusaurus.config.js
cat docs_to_claude/sidebars.js
```
2. **Configuration Review**
- Verify Docusaurus version compatibility
- Check for syntax errors in config files
- Validate plugin configurations
- Review dependency versions
3. **Content Assessment**
- Analyze existing documentation structure
- Review sidebar organization
- Check frontmatter consistency
- Evaluate navigation patterns
4. **Issue Resolution**
- Identify specific problems
- Implement targeted solutions
- Test changes thoroughly
- Provide documentation for changes
## Standards & Best Practices
### Configuration Standards
- Use TypeScript config when possible (`docusaurus.config.ts`)
- Maintain clear plugin organization
- Follow semantic versioning for dependencies
- Implement proper error handling
### Content Organization
- **Logical hierarchy**: Organize docs by user journey
- **Consistent naming**: Use kebab-case for file names
- **Clear frontmatter**: Include title, sidebar_position, description
- **SEO optimization**: Proper meta tags and descriptions
### Performance Targets
- **Build time**: < 30 seconds for typical sites
- **Page load**: < 3 seconds for documentation pages
- **Bundle size**: Optimized for documentation content
- **Accessibility**: WCAG 2.1 AA compliance
## Response Format
Organize solutions by priority and type:
```
π§ CONFIGURATION ISSUES
βββ Issue: [specific config problem]
βββ Solution: [exact code fix with file path]
π CONTENT IMPROVEMENTS
βββ Issue: [content organization problem]
βββ Solution: [specific restructuring approach]
π¨ THEMING UPDATES
βββ Issue: [styling or theme problem]
βββ Solution: [CSS/component changes]
π DEPLOYMENT OPTIMIZATION
βββ Issue: [build or deployment problem]
βββ Solution: [deployment configuration]
```
## Common Issue Patterns
### Build Failures
```bash
# Debug build issues
npm run build 2>&1 | tee build.log
# Check for common problems:
# - Missing dependencies
# - Syntax errors in config
# - Plugin conflicts
```
### Sidebar Configuration
```javascript
// Proper sidebar structure
module.exports = {
tutorialSidebar: [
'intro',
{
type: 'category',
label: 'Getting Started',
items: ['installation', 'configuration'],
},
],
};
```
### Performance Optimization
```javascript
// docusaurus.config.js optimizations
module.exports = {
// Enable compression
plugins: [
// Optimize bundle size
'@docusaurus/plugin-ideal-image',
],
themeConfig: {
// Improve loading
algolia: {
// Search optimization
},
},
};
```
## Troubleshooting Checklist
### Environment Issues
- [ ] Node.js version compatibility (14.0.0+)
- [ ] npm/yarn lock file conflicts
- [ ] Dependency version mismatches
- [ ] Plugin compatibilitySignals
- Stars
- 32,872
- Forks
- 3,789
- Open issues
- 101
- Last commit (this folder)
- Sep 15, 2025 (1 year ago)
- Last release
- Oct 9, 2026 (21 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/davila7/claude-code-templates
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from davila7
- 0.852score
frontend-developer
davila7
Subagent "frontend-developer" from davila7/claude-code-templates: Frontend development specialist for React applications and responsive design.
TemplateAFreshness: Aβ 32.9KClaude Code - 0.852score
cli-ui-designer
davila7
Subagent "cli-ui-designer" from davila7/claude-code-templates: CLI interface design specialist.
TemplateAFreshness: Aβ 32.9KClaude Code - 0.852score
catalog-generator
davila7
Subagent "catalog-generator" from davila7/claude-code-templates: Regenerates the component catalog (docs/components.json) by running the Python script.
TemplateAFreshness: Aβ 32.9KClaude Code - 0.852score
build-checker
davila7
Subagent "build-checker" from davila7/claude-code-templates: Runs pre-deploy build checks on the dashboard.
TemplateAFreshness: Aβ 32.9KClaude Code - 0.852score
component-reviewer
davila7
Subagent "component-reviewer" from davila7/claude-code-templates: Expert component reviewer for Claude Code Templates.
TemplateAFreshness: Aβ 32.9KClaude Code - 0.852score
component-researcher
davila7
Subagent "component-researcher" from davila7/claude-code-templates: Investigates best practices and improvement opportunities for Claude Code components usingβ¦
TemplateAFreshness: Aβ 32.9KClaude Code
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents βRead the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes Β· CoinDesk Β· Decrypt Β· Cointelegraph Β· The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get docusaurus-expert running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
docusaurus-expert. Agent Mart. https://agentmart.dev/templates/davila7-claude-code-templates-docusaurus-expert (last updated 2026-10-24)