Pre-Commit Check Gate
ZeroDeng01/sublinkPro
Blocking checklist that runs formatting, lint and test commands for changed Go and frontend files before any git add, commit or pull request.
Development rules for changes to GitHub's gh-aw: tiered validation commands, a command matrix by change type, focused test checks and a merge-main playbook.
$ npx skills add github/gh-aw --skill developer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install github/gh-aw developer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/developer .claude/skills/developer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .claude/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/github/gh-aw/tree/main/.github/skills/developerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add github/gh-aw --skill developer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install github/gh-aw developer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/developer .agents/skills/developer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .agents/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill developer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install github/gh-aw developer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/developer .cursor/skills/developer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .cursor/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/github/gh-aw.git --path .github/skills/developer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add github/gh-aw --skill developer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install github/gh-aw developer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/developer .gemini/skills/developer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .gemini/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install github/gh-aw developerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add github/gh-aw --skill developer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/developer .github/skills/developer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .github/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill developer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install github/gh-aw developer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/developer .opencode/skills/developer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "developer" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/developer into .opencode/skills/developer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
developerDevelopment rules for changes to GitHub's gh-aw: tiered validation commands, a command matrix by change type, focused test checks and a merge-main playbook.
This reference holds the day-to-day command flow for working in the gh-aw repository, moved out of AGENTS.md so first-run context stays small. Validation runs in tiers: after each significant edit run `make build` and `make fmt`, before intermediate progress reports run `make agent-report-progress-no-test`, before the final report run `make agent-report-progress`, and before handoff run `make agent-finish` when time allows. Unit tests are meant to run only before the final report.
A change-type matrix pairs Go changes with `make fmt`, workflow markdown changes with `make recompile`, and JavaScript `.cjs` changes with `make fmt-cjs` and `make lint-cjs`. Focused checks cover edits under `pkg/workflow/` and `actions/setup/js/`, a merge-main playbook applies when you ask for a merge of main, and the file also has capitalization guidelines and a pointer to sub-skills.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit eb63040. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
makegitgonpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
gh-aw Developer Rules loads about 1.1k tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 459 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from github/gh-aw at commit eb63040, republished under its MIT licence (© github). 459 words, ~1,085 tokens.
.claude/skills/developer/SKILL.md (or your agent's skills folder).Use this reference for gh-aw technical specs and development guidelines across code organization, validation, security, and implementation patterns.
Use this section for the detailed day-to-day command flow that was intentionally removed from AGENTS.md to keep first-run ambient context small.
Run validation in tiers — catch compile errors early, defer slow tests to the final pass only.
make build && make fmtreport_progress call (fast, <30s — no tests)make agent-report-progress-no-testreport_progress call (change-scoped, includes impacted Go tests)make agent-report-progressmake agent-finishKey rule: Run
test-unitonly before the finalreport_progresscall, not before intermediate saves. The pre-PR targets scope formatting, linting, tests, and workflow drift checks to the branch changes.
Timeout budget:
make agent-report-progressshould normally finish in under 30 seconds. Workflow source or compiler changes additionally run the full workflow drift check. SetTEST_UNIT_RUN_FULL=1only when the full Go suite is required.
make fmtmake recompile*.cjs) changes: make fmt-cjs && make lint-cjspkg/workflow/ edits: run go test ./pkg/workflow -count=1 during iteration; narrow with -run when only one workflow behavior is under active change.actions/setup/js/ edits: after make fmt-cjs && make lint-cjs, run the targeted actions/setup/js/*.test.cjs suites for the files you touched. Gateway changes commonly validate with npx vitest run actions/setup/js/start_mcp_gateway.test.cjs.make recompile, then rerun the affected focused Go or JavaScript checks before the final make agent-report-progress.When explicitly asked to merge main:
make merge-main..go or .cjs, resolve and stage files.make build
make recompile
git commit
make fmtThe gh-aw CLI follows context-based capitalization to distinguish between the product name and generic workflow references.
| Context | Format | Example |
|---|---|---|
| Product name | Capitalized | "GitHub Agentic Workflows CLI from GitHub Next" |
| Generic workflows | Lowercase | "Enable agentic workflows" |
| Technical terms | Capitalized | "Compile Markdown workflows to GitHub Actions YAML" |
This convention distinguishes between the product name (GitHub Agentic Workflows) and the concept (agentic workflows), following industry standards similar to "GitHub Actions" vs. "actions".
The capitalization rules are enforced through automated tests in cmd/gh-aw/capitalization_test.go that run as part of the standard test suite.
The following sub-skills cover specific areas of the codebase. Load them lazily when the task requires the specific domain:
| Sub-skill | When to use |
|---|---|
.github/skills/developer-code-organization/SKILL.md | Creating new files, refactoring, WASM stubs, file size decisions |
.github/skills/developer-security/SKILL.md | Implementing new features, reviewing for security, template injection concerns |
.github/skills/developer-internals/SKILL.md | Working on compiler internals, validation, safe outputs, MCP server, schema changes |
.github/skills/developer-release/SKILL.md | Creating a release, evaluating breaking changes, firewall log analysis |
© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/developer of github/gh-aw.
Open the folder on GitHubat commit eb63040
gh-aw Developer Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| gh-aw Developer Rules this skillgithub/gh-aw | 5.3k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Pre-Commit Check GateZeroDeng01/sublinkPro | 1.7k | — | ~2.9k | Automated safety check: Notes | MIT | |
| Handsontable Pull Request Workflowhandsontable/handsontable | 22k | — | ~3.1k | Automated safety check: Pass | Custom licence | |
| Development Workflowkid-sid/claude-spellbook | 189 | — | ~3.2k | Automated safety check: Pass | MIT | |
| Michel Packmind Engineer ReviewPackmindHub/packmind | 317 | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT |
ZeroDeng01/sublinkPro
Blocking checklist that runs formatting, lint and test commands for changed Go and frontend files before any git add, commit or pull request.
handsontable/handsontable
Walks through opening a pull request in the Handsontable monorepo: branch naming, pre-flight checks, the PR template, draft creation and the PR-first changelog flow.
kid-sid/claude-spellbook
A skill your agent uses when choosing a branching strategy, writing a commit message, opening or reviewing a pull request, setting up commit linting, or tagging a versioned release.
PackmindHub/packmind
Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
github/gh-aw
Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.
github/gh-aw
Designs and verifies a deterministic grader that measures whether a GitHub Agentic Workflow run reached its real-world or repository outcome.
github/gh-aw
Scaffolds, edits, reloads and debugs a canvas extension that the GitHub Copilot CLI can open in its side panel.
github/gh-aw
Drives an open pull request to merge-ready from inside a GitHub Copilot cloud agent, resolving review threads and local checks concurrently, without merging or retriggering CI.
github/gh-aw
Bumps gh-aw's pinned gh-aw-firewall version, rebuilds generated artifacts, and flags upstream spec or schema changes that need follow-up work.
github/gh-aw
Guide to the console struct tag system in gh-aw: headers, titles, number and cost formats, omitempty, and how structs, slices and maps render in the terminal.
Works with
Categories
Development rules for changes to GitHub's gh-aw: tiered validation commands, a command matrix by change type, focused test checks and a merge-main playbook. md so first-run context stays small. Validation runs in tiers: after each significant edit run `make build` and `make fmt`, before intermediate progress reports run `make agent-report-progress-no-test`, before the final report run `make agent-report-progress`, and before handoff run `make agent-finish` when time allows.
gh-aw Developer Rules fits situations like: changing Go code, workflow markdown or .cjs scripts in gh-aw; deciding which make target to run before a progress report; merging main into a gh-aw working branch when asked; running targeted tests after editing pkg/workflow or actions/setup/js.
Run `npx skills add github/gh-aw --skill developer -a claude-code`. Or copy the skill folder (.github/skills/developer in github/gh-aw) into .claude/skills/developer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add github/gh-aw --skill developer -a codex`. Or copy the skill folder (.github/skills/developer in github/gh-aw) into .agents/skills/developer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/gh-aw --skill developer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/developer, .gemini/skills/developer, .github/skills/developer and .opencode/skills/developer in your project.
Going by SKILL.md and its folder, gh-aw Developer Rules needs the command-line tools its instructions call (make, git, go and npx). Our summary lists: A checkout of the gh-aw repository; make.
SKILL.md contains no URLs. Its commands use git and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
gh-aw Developer Rules is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with gh-aw Developer Rules: Pre-Commit Check Gate (ZeroDeng01/sublinkPro, 1.7k stars), Handsontable Pull Request Workflow (handsontable/handsontable, 22k stars), Development Workflow (kid-sid/claude-spellbook, 189 stars) and Michel Packmind Engineer Review (PackmindHub/packmind, 317 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
github (a GitHub organization, an official publisher) maintains it in github/gh-aw, which has 5,350 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 7, 2026.
Source: github/gh-aw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.