configure-github-pages
БесплатноБез исполняемых скриптовНе проверенactions/deploy-pages workflow publishing a docs site (MkDocs, TypeDoc, Docusaurus) to GitHub Pages. Use when setting up Pages or migrating off…
от laurigates★ 61 звезда на GitHubОб этом скилле
/configure:github-pages
Check and configure GitHub Pages deployment.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Setting up GitHub Pages deployment for a documentation site | Configuring documentation standards or generators (/configure:docs instead) |
| Creating or updating a GitHub Actions workflow for Pages deployment | Debugging a failed GitHub Actions workflow (/configure:workflows instead) |
Migrating from peaceiris/actions-gh-pages to official actions/deploy-pages |
Editing documentation content or markdown files |
| Auditing Pages workflow for outdated action versions or missing permissions | Setting up a custom domain via DNS (manual repository settings) |
| Adding Pages deployment to a project with an existing doc generator | Configuring CI/CD workflows unrelated to documentation |
Context
- GitHub workflows: !
find . -path '*/.github/workflows/*' -maxdepth 3 \( -name '*doc*.yml' -o -name '*pages*.yml' \) - Documentation config: !
find . -maxdepth 1 \( -name 'mkdocs.yml' -o -name 'typedoc.json' -o -name 'docusaurus.config.*' \) - Docs directory: !
find . -maxdepth 1 -type d \( -name 'docs' -o -name 'site' \) - CNAME file: !
find . -maxdepth 1 -name 'CNAME' - Project standards: !
find . -maxdepth 1 -name '.project-standards.yaml'
Parameters
Parse from command arguments:
--check-only: Report compliance status without modifications (CI/CD mode)--fix: Apply fixes automatically without prompting--source <docs|site|custom>: Override source directory detection
Execution
Execute this GitHub Pages deployment configuration check:
Step 1: Detect documentation state
Identify existing documentation configuration:
| Config File | Generator | Output Directory |
|---|---|---|
typedoc.json |
TypeDoc | docs/ or configured |
mkdocs.yml |
MkDocs | site/ |
docs/conf.py |
Sphinx | docs/_build/html/ |
docusaurus.config.js |
Docusaurus | build/ |
Cargo.toml (with rustdoc) |
rustdoc | target/doc/ |
| None | Static | docs/ |
If no documentation configured, report:
No documentation generator detected.
Consider running /configure:docs first to:
- Set up documentation linting standards
- Configure a documentation generator
Would you like to:
[A] Configure documentation first (/configure:docs)
[B] Set up static HTML hosting for existing docs/ directory
[C] Skip - I'll configure docs later
Step 2: Analyze existing workflow
Check for existing GitHub Pages workflows by searching for:
actions/deploy-pagesactions/upload-pages-artifactpeaceiris/actions-gh-pages
Extract from existing workflow: current action versions, permissions, build steps, source directory.
Step 3: Check compliance against standards
Validate GitHub Actions workflow against standards:
| Check | Standard | Severity |
|---|---|---|
actions/deploy-pages |
v5+ | WARN if older |
actions/configure-pages |
v6+ | WARN if missing |
actions/upload-pages-artifact |
v5+ | WARN if older |
| Permissions | pages: write, id-token: write |
FAIL if missing |
| Environment | github-pages |
WARN if missing |
| Concurrency | Group defined | INFO |
Step 4: Generate compliance report
Print a formatted compliance report:
GitHub Pages Compliance Report
==============================
Project: [name]
Documentation Status:
Generator [typedoc|mkdocs|sphinx|rustdoc|static|not configured]
Source directory [docs/|site/|custom]
Build command [detected command or "not configured"]
GitHub Pages Workflow:
Workflow file .github/workflows/docs.yml [EXISTS | MISSING]
Workflow Checks (if exists):
deploy-pages v5 [PASS | OUTDATED | MISSING]
configure-pages v6 [PASS | MISSING]
upload-artifact v5 [PASS | OUTDATED]
Permissions pages: write, id-token [PASS | MISSING]
Environment github-pages [PASS | MISSING]
Overall: [X issues found]
Recommendations:
[List specific fixes needed]
If --check-only, stop here.
Step 5: Create or update workflow (if --fix or user confirms)
Create .github/workflows/docs.yml based on detected generator. Use the appropriate workflow template from REFERENCE.md:
- TypeDoc: Node.js setup, npm ci, npm run docs:build, upload
./docs - MkDocs: Python setup, pip install, mkdocs build, upload
./site - Sphinx: Python setup, pip install, make html, upload
./docs/_build/html - rustdoc: Rust toolchain, cargo doc, create index redirect, upload
./target/doc - Static HTML: Direct upload from
./docsdirectory
All workflows include:
- Required permissions (
pages: write,id-token: write) - Concurrency group to prevent conflicts
- `workflow
Установить configure-github-pages в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
GlobGrepReadWriteEditBash(find *)Bash(gh api *)AskUserQuestionTodoWriteВложенные файлы
FAQ
Что делает скилл configure-github-pages?
actions/deploy-pages workflow publishing a docs site (MkDocs, TypeDoc, Docusaurus) to GitHub Pages. Use when setting up Pages or migrating off peaceiris/actions-gh-pages.
Как установить скилл configure-github-pages?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure-github-pages запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub