skills/github-pages/SKILL.md
Complete GitHub Pages deployment and management system. Static site hosting with Jekyll, custom domains, and GitHub Actions. USE WHEN user mentions 'github pages', 'deploy static site', 'host website on github', 'jekyll site', 'custom domain for github', OR wants to publish a website from a repository.
npx skillsauth add julianobarbosa/claude-code-skills github-pagesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Complete guide for deploying, configuring, and managing GitHub Pages sites.
| Site Type | Repository Name | URL Pattern |
|-----------|----------------|-------------|
| User/Org Site | <username>.github.io | https://<username>.github.io |
| Project Site | Any repository name | https://<username>.github.io/<repo> |
Availability:
When executing a workflow, output this notification directly:
Running the **WorkflowName** workflow from the **GithubPages** skill...
| Workflow | Trigger | File |
|----------|---------|------|
| 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 |
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
Requirements:
<username>.github.ioSetup:
# Create repository named exactly: username.github.io
# Enable Pages in Settings > Pages
# Select source branch
Requirements:
Setup:
# Any repository works
# Enable Pages in Settings > Pages
# Choose: branch (root or /docs) OR GitHub Actions
Best for: Jekyll sites, simple static sites
Configuration:
/ (root) or /docsBehavior:
Best for: Custom builds, non-Jekyll generators
Configuration:
.github/workflows/Behavior:
These plugins work automatically on GitHub Pages:
| Plugin | Purpose | |--------|---------| | jekyll-coffeescript | CoffeeScript support | | jekyll-default-layout | Automatic layouts | | jekyll-gist | GitHub Gist embedding | | jekyll-github-metadata | Repository metadata | | jekyll-optional-front-matter | Optional YAML front matter | | jekyll-paginate | Pagination | | jekyll-readme-index | README as index | | jekyll-titles-from-headings | Auto-generate titles | | jekyll-relative-links | Convert relative links |
Available without additional configuration:
Usage in _config.yml:
theme: jekyll-theme-minimal
title: My Site
description: Site description
Use any Jekyll theme from GitHub:
remote_theme: owner/repo-name
| Type | Example | DNS Record |
|------|---------|------------|
| Apex | example.com | A or ALIAS |
| WWW Subdomain | www.example.com | CNAME |
| Custom Subdomain | blog.example.com | CNAME |
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
# 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
| Resource | Limit | |----------|-------| | Repository size | 1 GB (recommended) | | Published site size | 1 GB (maximum) | | Bandwidth | 100 GB/month (soft) | | Builds | 10/hour (soft, branch only) | | Deployment timeout | 10 minutes |
Restrictions:
*.example.com creates security risks| Issue | Solution |
|-------|----------|
| Site not publishing | Check branch/folder settings, verify entry file exists |
| 404 errors | Ensure index.html, index.md, or README.md at root |
| Custom domain not working | Wait 24h for DNS propagation, verify records with dig |
| HTTPS not available | Wait up to 1 hour after DNS verification |
| Mixed content warnings | Change http:// to https:// in all assets |
| Build failures | Check Actions tab for error logs |
| Topic | Reference File |
|-------|----------------|
| DNS Configuration | references/DnsConfiguration.md |
| Jekyll Configuration | references/JekyllConfiguration.md |
| Actions Workflows | references/ActionsWorkflows.md |
| Troubleshooting Guide | references/Troubleshooting.md |
| Best Practices | references/BestPractices.md |
| Script | Purpose |
|--------|---------|
| scripts/verify-dns.sh | Verify DNS configuration for custom domains |
| scripts/check-site-status.sh | Check if GitHub Pages site is live |
?nocache=$(date +%s) query param.CNAME file in the repo — missing either breaks HTTPS cert generation, often silently.Gemfile-only plugins fail build silently in some old configs.gh-pages branch vs /docs folder on main vs / on main — switching sources requires an explicit redeploy to take effect.testing
Brief description of what this skill does. Include specific triggers - when should Claude use this skill? Example triggers, file types, or keywords that indicate this skill applies.
tools
Manage and troubleshoot PATH configuration in zsh. Use when adding tools to PATH (bun, nvm, Python venv, cargo, go), diagnosing "command not found" errors, validating PATH entries, or organizing shell configuration in .zshrc and .zshrc.local files.
tools
Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper/sender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User/permission management
development
Operate YouTube Music via natural language. Search songs, artists, albums, playlists, lyrics, charts, recommendations, and control playback. Browse personal library, manage playlists, rate tracks, and inspect account info. Use this skill whenever the user asks about YouTube Music, wants to play music, manage playlists, search by song or artist name, inspect lyrics, or control playback.