Sample GitHub Workflows

March 6, 2026 · View on GitHub

12 ready-to-use GitHub Actions workflows for managing your AI skills repository. Copy the ones you need into your project's .github/workflows/ directory.

Quick Start

# Copy all workflows to your project
mkdir -p .github/workflows
cp templates/workflows/*.yml .github/workflows/

# Or copy individual workflows
cp templates/workflows/ci-quality-gate.yml .github/workflows/
cp templates/workflows/skill-validation.yml .github/workflows/

Available Workflows

Quality & Validation

WorkflowTriggers OnWhat It Does
ci-quality-gate.ymlPRYAML lint, Python syntax check, security audit, markdown link checks
qa-validation.ymlPR/push with *.py changesFlake8, bandit security, CLI standards
skill-validation.ymlPR touching skillsPackage structure validation, tier classification
documentation-check.ymlPR with *.md changesYAML frontmatter validation, link checking, skill inventory

Release & Deployment

WorkflowTriggers OnWhat It Does
changelog-enforcer.ymlPR to main/devEnsures CHANGELOG.md is updated when code changes
release-drafter.ymlPush to mainAuto-generates release notes with repo stats
skill-auto-update.ymlDaily + manualDetects changed skills, generates update manifest and skills index

Code Review & Automation

WorkflowTriggers OnWhat It Does
claude-code-review.ymlPRAI-powered code review via Claude Code
claude.yml@claude mentionsInteractive Claude Code in issues/PRs
pr-issue-auto-close.ymlPR mergedAuto-close linked issues, update project board

Synchronization

WorkflowTriggers OnWhat It Does
smart-sync.ymlIssue label/state changesBidirectional issue ↔ GitHub Project board sync
sync-codex-skills.ymlSKILL.md changesSync skills to .codex/ directory via symlinks

Setup

Most workflows work out of the box. Some require secrets:

WorkflowRequired SecretPurpose
claude-code-review.ymlCLAUDE_CODE_OAUTH_TOKENClaude Code API access
claude.ymlCLAUDE_CODE_OAUTH_TOKENClaude Code API access
smart-sync.ymlPROJECTS_TOKENGitHub Project board access

See SETUP_GUIDE.md for detailed configuration instructions.

Kill Switch

All workflows check a WORKFLOW_KILLSWITCH file for emergency disable:

# Disable all workflows
echo "STATUS: DISABLED" > .github/WORKFLOW_KILLSWITCH

# Re-enable
echo "STATUS: ENABLED" > .github/WORKFLOW_KILLSWITCH

Copy the WORKFLOW_KILLSWITCH file to your .github/ directory to enable this feature.

Customization

These workflows are designed as starting points. Common customizations:

  • Change triggers — adjust on: sections for your branching strategy
  • Add/remove checks — modify job steps to match your stack
  • Update schedules — change cron expressions in skill-auto-update.yml
  • Adjust permissions — tighten permissions: blocks for your security requirements