Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计提醒

githubpagesgithubpages 运维

Agent Skill

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

总安装

1,469

周安装

60

GitHub Stars

61

下载量

475
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill GithubPages

简介

用于围绕 GitHub 仓库、Issue、Pull Request 等协作流程提供辅助能力。

  • 适合查询项目状态、整理变更、辅助创建或检查协作事项。
  • 使用时需区分只读查询和写入操作,涉及修改时应确认 token 权限和仓库范围。
  • 安装方式:通过 npx 从指定 GitHub 仓库添加技能。
  • 建议在使用前核对维护状态及是否会触发文件读写或命令执行。

SKILL.md

GitHub Pages Skill

Complete guide for deploying, configuring, and managing GitHub Pages sites.

Quick Reference

Site TypeRepository NameURL Pattern
User/Org Site<username>.github.iohttps://<username>.github.io
Project SiteAny repository namehttps://<username>.github.io/<repo>

Availability:

  • Public repos: GitHub Free (all plans)
  • Private repos: GitHub Pro, Team, Enterprise

Workflow Routing

When executing a workflow, output this notification directly:

Running the **WorkflowName** workflow from the **GithubPages** skill...
WorkflowTriggerFile
QuickStart"setup github pages", "create pages site"workflows/QuickStart.md
CustomDomain"add custom domain", "configure domain"workflows/CustomDomain.md
JekyllSetup"setup jekyll", "add jekyll theme"workflows/JekyllSetup.md
ActionsWorkflow"custom build", "github actions for pages"workflows/ActionsWorkflow.md
Troubleshoot"pages not working", "fix github pages"workflows/Troubleshoot.md
Deploy"deploy to github pages", "publish site"workflows/Deploy.md

Examples

Example 1: Create a new GitHub Pages site

User: "Setup GitHub Pages for my project"
→ Invokes QuickStart workflow
→ Checks if user/org or project site
→ Configures publishing source (branch or Actions)
→ Creates initial content structure
→ Verifies deployment

Example 2: Add custom domain

User: "Add my domain example.com to GitHub Pages"
→ Invokes CustomDomain workflow
→ Determines domain type (apex vs subdomain)
→ Provides DNS configuration instructions
→ Adds CNAME file or configures via Settings
→ Enables HTTPS enforcement

Example 3: Setup Jekyll theme

User: "Add a theme to my GitHub Pages site"
→ Invokes JekyllSetup workflow
→ Lists available supported themes
→ Configures _config.yml
→ Sets up custom CSS/layouts if needed

Example 4: Deploy with custom build

User: "Deploy my Next.js site to GitHub Pages"
→ Invokes ActionsWorkflow workflow
→ Creates custom GitHub Actions workflow
→ Configures build process
→ Sets up artifact deployment

Site Types

User/Organization Site

Requirements:

  • Repository name MUST be <username>.github.io
  • Only ONE per account
  • Publishes from default branch

Setup:

# Create repository named exactly: username.github.io
# Enable Pages in Settings > Pages
# Select source branch

Project Site

Requirements:

  • Can use any repository
  • Multiple project sites allowed
  • URL includes repository name

Setup:

# Any repository works
# Enable Pages in Settings > Pages
# Choose: branch (root or /docs) OR GitHub Actions

Publishing Sources

Option 1: Deploy from Branch

Best for: Jekyll sites, simple static sites

Configuration:

  1. Go to Settings > Pages
  2. Select "Deploy from a branch"
  3. Choose branch (main, gh-pages, etc.)
  4. Choose folder: / (root) or /docs

Behavior:

  • Pushes to branch trigger automatic builds
  • Jekyll processes Markdown by default
  • CNAME file auto-created for custom domains

Option 2: GitHub Actions Workflow

Best for: Custom builds, non-Jekyll generators

Configuration:

  1. Go to Settings > Pages
  2. Select "GitHub Actions"
  3. Create workflow file in .github/workflows/

Behavior:

  • Full control over build process
  • Works with Hugo, Gatsby, Next.js, etc.
  • Artifacts uploaded and deployed

Jekyll Integration

Auto-Enabled Plugins

These plugins work automatically on GitHub Pages:

PluginPurpose
jekyll-coffeescriptCoffeeScript support
jekyll-default-layoutAutomatic layouts
jekyll-gistGitHub Gist embedding
jekyll-github-metadataRepository metadata
jekyll-optional-front-matterOptional YAML front matter
jekyll-paginatePagination
jekyll-readme-indexREADME as index
jekyll-titles-from-headingsAuto-generate titles
jekyll-relative-linksConvert relative links

Supported Themes

Available without additional configuration:

  • Architect
  • Cayman
  • Dinky
  • Hacker
  • Leap day
  • Merlot
  • Midnight
  • Minima
  • Minimal
  • Modernist
  • Slate
  • Tactile
  • Time machine

Usage in _config.yml:

theme: jekyll-theme-minimal
title: My Site
description: Site description

Remote Themes

Use any Jekyll theme from GitHub:

remote_theme: owner/repo-name

Custom Domains

Domain Types

TypeExampleDNS Record
Apexexample.comA or ALIAS
WWW Subdomainwww.example.comCNAME
Custom Subdomainblog.example.comCNAME

DNS Configuration

For Apex Domains (A Records):

185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153

For Apex Domains (AAAA Records - IPv6):

2606:50c0:8000::153
2606:50c0:8001::153
2606:50c0:8002::153
2606:50c0:8003::153

For Subdomains (CNAME Record):

www.example.com → username.github.io
blog.example.com → username.github.io

Verification Commands

# Check A records
dig example.com +noall +answer -t A

# Check AAAA records
dig example.com +noall +answer -t AAAA

# Check CNAME records
dig www.example.com +nostats +nocomments +nocmd

Usage Limits

ResourceLimit
Repository size1 GB (recommended)
Published site size1 GB (maximum)
Bandwidth100 GB/month (soft)
Builds10/hour (soft, branch only)
Deployment timeout10 minutes

Restrictions:

  • No server-side languages (PHP, Python, Ruby)
  • No commercial transactions or e-commerce
  • Must comply with GitHub Terms of Service

Security Best Practices

  1. Verify custom domains - Prevents domain takeover attacks
  2. Avoid wildcard DNS - *.example.com creates security risks
  3. Enable HTTPS - Always enforce HTTPS after certificate provisioning
  4. Don't expose secrets - Public sites accessible even from private repos
  5. Update DNS promptly - If disabling site, update/remove DNS records

Common Issues & Solutions

IssueSolution
Site not publishingCheck branch/folder settings, verify entry file exists
404 errorsEnsure index.html, index.md, or README.md at root
Custom domain not workingWait 24h for DNS propagation, verify records with dig
HTTPS not availableWait up to 1 hour after DNS verification
Mixed content warningsChange http:// to https:// in all assets
Build failuresCheck Actions tab for error logs

File References

TopicReference File
DNS Configurationreferences/DnsConfiguration.md
Jekyll Configurationreferences/JekyllConfiguration.md
Actions Workflowsreferences/ActionsWorkflows.md
Troubleshooting Guidereferences/Troubleshooting.md
Best Practicesreferences/BestPractices.md

Scripts

ScriptPurpose
scripts/verify-dns.shVerify DNS configuration for custom domains
scripts/check-site-status.shCheck if GitHub Pages site is live

External Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

27.65%
按下载量换算131

OpenCode

23.67%
按下载量换算112

Gemini CLI

17.67%
按下载量换算84

Antigravity

12.11%
按下载量换算58

Codex

8.21%
按下载量换算39

Cursor

3.37%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills