docusaurus-deployer
This skill should be used when deploying a Docusaurus site to GitHub Pages. It automates the configuration, building, and deployment process, handling GitHub Pages setup, environment configuration, and CI/CD automation. Includes local validation before GitHub Actions triggering.
Best use case
docusaurus-deployer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
This skill should be used when deploying a Docusaurus site to GitHub Pages. It automates the configuration, building, and deployment process, handling GitHub Pages setup, environment configuration, and CI/CD automation. Includes local validation before GitHub Actions triggering.
Teams using docusaurus-deployer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/docusaurus-deployer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How docusaurus-deployer Compares
| Feature / Agent | docusaurus-deployer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill should be used when deploying a Docusaurus site to GitHub Pages. It automates the configuration, building, and deployment process, handling GitHub Pages setup, environment configuration, and CI/CD automation. Includes local validation before GitHub Actions triggering.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Docusaurus GitHub Pages Deployer Automate building and deploying Docusaurus documentation sites to GitHub Pages with local validation before CI/CD triggering. **Constitution Alignment**: This skill implements production deployment standards defined in Constitution v4.0.1 (Pillar 9: Universal Cloud-Native Deployment from Section I). All deployments must meet project quality gates before publication. ## What This Skill Does 1. **Project Analysis** - Examine Docusaurus structure and dependencies 2. **Local Configuration Validation** - Verify Docusaurus config and sidebars 3. **Local Build & Testing** - Build site locally and validate output 4. **Content Verification** - Check for broken links and syntax errors 5. **GitHub Pages Setup** - Configure repository and deployment settings 6. **CI/CD Automation** - Set up GitHub Actions workflows 7. **Deployment Verification** - Validate successful deployment ## When to Use This Skill Deploy Docusaurus to GitHub Pages when: - Setting up documentation deployment for the first time - Making updates to documentation before publishing - Updating deployment configuration - Troubleshooting deployment issues - Managing multiple documentation sites - Ensuring documentation quality before production ## How to Use This Skill Follow the **validate-locally-then-publish** workflow: ### Step 1: Prepare Repository Configuration Gather GitHub organization/username, repository name, deployment target (user/project pages), and custom domain (optional). ### Step 2: Analyze Project Structure Examine Docusaurus project: ```bash ls -la path_to_docusaurus_project/ cat path_to_docusaurus_project/docusaurus.config.ts cat path_to_docusaurus_project/sidebars.ts ``` Verify docusaurus.config.ts, sidebars.js/ts, package.json engines field, and dependencies exist. For detailed configuration guidance, see `references/configuration-guide.md`. ### Step 3: Update Docusaurus Configuration Update `docusaurus.config.ts` with GitHub Pages settings. See `references/configuration-guide.md` for complete configuration examples and guidelines based on deployment target (user vs. project pages). ### Step 4: Build and Validate Locally Install dependencies, run type checking, build site, validate output, test locally, and verify content quality. Execute: ```bash npm ci npm run typecheck npm run build npm run serve ``` For detailed validation procedures, see `references/local-validation-guide.md`. ### Step 5: Commit and Push to Main After successful local validation: ```bash git add . git commit -m "Update documentation: [description]" git push origin main ``` This triggers the GitHub Actions workflow. ### Step 6: Set Up GitHub Actions Create `.github/workflows/deploy.yml` using the template in `references/deploy-workflow.yml`. For detailed workflow configuration and troubleshooting, see `references/github-actions-guide.md`. ### Step 7: Configure GitHub Pages in Repository Settings 1. Go to **Settings → Pages** 2. Set source to **GitHub Actions** (or deploy from `gh-pages` branch) 3. Configure custom domain if needed 4. Enable branch protection on main branch ### Step 8: Verify Deployment Check GitHub Actions workflow status in Actions tab, verify site loads at configured URL, and confirm all navigation works. ## Troubleshooting For common issues and solutions, see `references/troubleshooting.md`, which covers: - Build failures and type errors - 404 errors after deployment - Broken links and GitHub Actions issues - Performance problems and content quality ## Bundled Resources - `references/deploy-workflow.yml` - GitHub Actions workflow template - `references/configuration-guide.md` - Detailed Docusaurus configuration - `references/local-validation-guide.md` - Build and validation procedures - `references/github-actions-guide.md` - CI/CD setup and configuration - `references/troubleshooting.md` - Common issues and solutions - `references/performance-standards.md` - Performance targets and best practices ## Performance Targets - **Build time**: < 30 seconds (typical) - **Page load**: < 3 seconds - **Bundle size**: Optimized for documentation - **Accessibility**: WCAG 2.1 AA compliance ## Quality Gates (Constitution v3.1.2) Before deployment to production, verify: - [ ] All content passes validation-auditor validation - [ ] Local build completes without errors - [ ] No broken links or missing resources - [ ] TypeScript type checking passes - [ ] Performance targets met - [ ] Accessibility standards verified - [ ] GitHub Actions workflow configured correctly **Reference**: See `.specify/memory/constitution.md` deployment standards section for complete production deployment standards. ## Tools Used - Node.js/npm (v20+) - Docusaurus CLI - TypeScript - GitHub Actions - GitHub Pages
Related Skills
vertex-ai-deployer
Vertex Ai Deployer - Auto-activating skill for ML Deployment. Triggers on: vertex ai deployer, vertex ai deployer Part of the ML Deployment skill category.
sagemaker-endpoint-deployer
Sagemaker Endpoint Deployer - Auto-activating skill for ML Deployment. Triggers on: sagemaker endpoint deployer, sagemaker endpoint deployer Part of the ML Deployment skill category.
docusaurus-config-setup
Docusaurus Config Setup - Auto-activating skill for Technical Documentation. Triggers on: docusaurus config setup, docusaurus config setup Part of the Technical Documentation skill category.
azure-ml-deployer
Azure Ml Deployer - Auto-activating skill for ML Deployment. Triggers on: azure ml deployer, azure ml deployer Part of the ML Deployment skill category.
argocd-app-deployer
Argocd App Deployer - Auto-activating skill for DevOps Advanced. Triggers on: argocd app deployer, argocd app deployer Part of the DevOps Advanced skill category.
docusaurus-advanced
Deep dive into the Docusaurus configuration, plugins, and custom fields.
Docusaurus
## Overview
Daily Logs
Record the user's daily activities, progress, decisions, and learnings in a structured, chronological format.
Socratic Method: The Dialectic Engine
This skill transforms Claude into a Socratic agent — a cognitive partner who guides
Sokratische Methode: Die Dialektik-Maschine
Dieser Skill verwandelt Claude in einen sokratischen Agenten — einen kognitiven Partner, der Nutzende durch systematisches Fragen zur Wissensentdeckung führt, anstatt direkt zu instruieren.
College Football Data (CFB)
Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.
College Basketball Data (CBB)
Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.