Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

configure-github-pagesconfigure GitHub pages 搜索

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

1,294

周安装

55

GitHub Stars

28

下载量

453
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:configure-github-pages(configure GitHub pages 搜索)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/configure-github-pages
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill configure-github-pages
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill configure-github-pages

简介

configure-github-pages 用于配置 GitHub Actions 工作流以自动部署文档站点。

  • 适用于开源项目的在线文档托管需求。
  • 支持自定义域名与 HTTPS 证书自动续期。
  • 包含 workflow 文件生成,需确认仓库 Secrets 配置。
  • 建议先在草稿分支验证后再切换至 main 分支。

SKILL.md

/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 siteConfiguring documentation standards or generators (/configure:docs instead)
Creating or updating a GitHub Actions workflow for Pages deploymentDebugging a failed GitHub Actions workflow (/configure:workflows instead)
Migrating from peaceiris/actions-gh-pages to official actions/deploy-pagesEditing documentation content or markdown files
Auditing Pages workflow for outdated action versions or missing permissionsSetting up a custom domain via DNS (manual repository settings)
Adding Pages deployment to a project with an existing doc generatorConfiguring CI/CD workflows unrelated to documentation

Context

  • GitHub workflows:!find.github/workflows -maxdepth 1 \(-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 FileGeneratorOutput Directory
typedoc.jsonTypeDocdocs/ or configured
mkdocs.ymlMkDocssite/
docs/conf.pySphinxdocs/_build/html/
docusaurus.config.jsDocusaurusbuild/
Cargo.toml (with rustdoc)rustdoctarget/doc/
NoneStaticdocs/

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-pages
  • actions/upload-pages-artifact
  • peaceiris/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:

CheckStandardSeverity
actions/deploy-pagesv4+WARN if older
actions/configure-pagesv5+WARN if missing
actions/upload-pages-artifactv3+WARN if older
Permissionspages: write, id-token: writeFAIL if missing
Environmentgithub-pagesWARN if missing
ConcurrencyGroup definedINFO

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        v4                            [PASS | OUTDATED | MISSING]
  configure-pages     v5                            [PASS | MISSING]
  upload-artifact     v3                            [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 ./docs directory

All workflows include:

  • Required permissions (pages: write, id-token: write)
  • Concurrency group to prevent conflicts
  • workflow_dispatch for manual triggers
  • Path-based triggers for relevant source files

Step 6: Update standards tracking

Update .project-standards.yaml:

standards_version: "2025.1"
last_configured: "[timestamp]"
components:
  github-pages: "2025.1"
  github-pages-generator: "[typedoc|mkdocs|sphinx|rustdoc|static]"
  github-pages-source: "[docs/|site/|custom]"

Step 7: Print post-configuration instructions

GitHub Pages Configuration Complete
===================================

Workflow created: .github/workflows/docs.yml

Next Steps:
  1. Enable GitHub Pages in repository settings:
     Settings -> Pages -> Source: GitHub Actions

  2. Push to main branch to trigger deployment:
     git add .github/workflows/docs.yml
     git commit -m "ci(docs): add GitHub Pages deployment workflow"
     git push

  3. After deployment, your docs will be available at:
     https://OWNER.github.io/REPO/

Optional:
  - Add custom domain: Create CNAME file with your domain
  - Protect deployment: Configure environment protection rules

For detailed workflow templates, see REFERENCE.md.

Output

Provide:

  1. Compliance report with documentation and workflow status
  2. List of changes made (if --fix) or proposed (if interactive)
  3. Post-configuration instructions
  4. URL where docs will be deployed

Agentic Optimizations

ContextCommand
Quick compliance check/configure:github-pages --check-only
Auto-fix all issues/configure:github-pages --fix
Check Pages workflow existsfind.github/workflows -name '*pages*' -o -name '*doc*' 2>/dev/null
Check Pages action versions`grep -E 'deploy-pages
Verify Pages enabledgh api repos/{owner}/{repo}/pages --jq '.status'
Check deployment statusgh api repos/{owner}/{repo}/pages/builds --jq '.[0].status'

See Also

  • /configure:docs - Set up documentation standards and generators
  • /configure:workflows - GitHub Actions workflow standards
  • /configure:all - Run all compliance checks
  • /configure:status - Quick compliance overview

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.36%
按下载量换算174

Claude

31.04%
按下载量换算141

Cursor

18.17%
按下载量换算82

Gemini CLI

9.65%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill configure-github-pages 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills