Skip to content

Add Claude Code GitHub Workflow - #3

Merged
structbinary merged 2 commits into
mainfrom
add-claude-github-actions-1795393885830
Nov 23, 2026
Merged

structbinary merged 2 commits into
mainfrom
add-claude-github-actions-1795393885830

Conversation

@structbinary

Copy link
Copy Markdown
Contributor

🤖 Installing Claude Code GitHub App

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.

What is Claude Code?

Claude Code is an AI coding agent that can help with:

  • Bug fixes and improvements
  • Documentation updates
  • Implementing new features
  • Code reviews and suggestions
  • Writing tests
  • And more!

How it works

Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.

Important Notes

  • This workflow won't take effect until this PR is merged
  • @claude mentions won't work until after the merge is complete
  • The workflow runs automatically whenever Claude is mentioned in PR or issue comments
  • Claude gets access to the entire PR or issue context including files, diffs, and previous comments

Security

  • Our Anthropic API key is securely stored as a GitHub Actions secret
  • Only users with write access to the repository can trigger the workflow
  • All Claude runs are stored in the GitHub Actions run history
  • Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
  • We can add more allowed tools by adding them to the workflow file like:
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)

There's more information in the Claude Code action repo.

After merging this PR, let's try mentioning @claude in a comment on any PR to get started!

@structbinary
structbinary merged commit 67106a7 into main Nov 23, 2026
1 check passed
@structbinary

Copy link
Copy Markdown
Contributor Author

@claude Quick smoke test after merging the workflow: please verify you can read the repository and list the validation command from README.md.

@claude

claude Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Claude finished @structbinary's task in 13s —— View job


Smoke test ✅

  • Read the repository checkout
  • Find the validation command in README.md

Repo access works. The checkout has .claude-plugin/, plugins/, scripts/, evals/, docs/ and the usual top-level docs. I didn't find a CLAUDE.md.

Validation command (from README.md:199, in the Validation & Skill Evaluations section):

python3 scripts/validate_plugins.py

This runs the manifest, binding, hook, portable and Codex checks.

The same section lists these related commands:

python3 scripts/validate_plugins.py --claude                             # also run `claude plugin validate`
python3 scripts/eval_skills.py static                                    # static skill, link, script, drift & hygiene audit
python3 scripts/eval_skills.py trigger --skill <name> --harness claude   # 4-quadrant trigger precision/recall eval
python3 scripts/eval_skills.py run --skill <name> --harness claude       # isolated end-to-end skill, MCP & safety-hook eval

I only read the files and didn't run any of these commands. I made no changes, so there's no new branch or PR. To have me run validation in future jobs, add something like Bash(python3 scripts/validate_plugins.py) to the workflow's allowed tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant