grok-cli

Claude Code GitHub Examples — Git skill for Claude Code

Git community

Copyable examples for claude code github: a CLAUDE.md, a PR-review skill and an illustrative Actions workflow.

How to install Claude Code GitHub Examples

This entry records only its repository, not the path inside it, so there is no exact command to give. Open grok-cli/claude-code-github-examples and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code GitHub Examples does

Copyable examples for claude code github: a CLAUDE.md, a PR-review skill and an illustrative Actions workflow.

Alternatives in Git

  • Skill Development Guide — Community Examples 81.1k ★
  • Fix PR — by metabase - Fetches and fixes unresolved PR comments by automatically retrieving feedback, addressing review 46.5k ★
  • Gh Fix CI — Debug and fix failing GitHub Actions PR checks using log inspection 14.6k ★

README

Claude Code GitHub examples

*Unofficial community examples for the Claude Code GitHub integration. Not affiliated with Anthropic. All trademarks belong to their owners.*

Small, copyable files for the Claude Code GitHub integration: a `CLAUDE.md` that tells the agent how your repository works, a custom skill for pull request review, and an illustrative GitHub Actions workflow of the kind described in the practitioner write-up this repository draws on. The intent is to show the shape of a working claude code github setup, not to replace the documentation. Check the 'Code review & CI/CD' section of the Claude Code docs for the current action name and inputs before you commit the workflow.

If the thing you need is a finished site or app rather than an agent in your repository, [try Begin.sh - prompt or URL in, static site or Expo app zip out](https://begin.sh?utm_source=github&utm_medium=ugc&utm_campaign=claude-code-github-examples&utm_content=readme-top&utm_term=tier-r).

Files

Path What it shows
examples/CLAUDE.md Project instructions the agent reads in every session: commands, conventions, boundaries.
examples/skills/pr-review/SKILL.md A custom skill that turns a vague 'review this' into a fixed checklist.
examples/claude-review.yml An illustrative read-only pull request review workflow for GitHub Actions.

Setup

The cloud path needs no secrets: open [claude.ai/code](https://claude.ai/code), connect GitHub as described in the [cloud quickstart](https://code.claude.com/docs/en/web-quickstart), and start a task. The `CLAUDE.md` and the skill are picked up from the repository.

The Actions path needs one secret:

ANTHROPIC_API_KEY   # repository secret; never commit it

Add it under the repository's Actions secrets. The workflow file reads it with `secrets.ANTHROPIC_API_KEY`. Copy `examples/claude-review.yml` to `.github/workflows/` and `examples/CLAUDE.md` to the repository root; copy the skill directory to