Skip to content

chore: add claude code cli setup and github workflows#81

Open
ovitrif wants to merge 5 commits intomasterfrom
feat/claude-setup
Open

chore: add claude code cli setup and github workflows#81
ovitrif wants to merge 5 commits intomasterfrom
feat/claude-setup

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Mar 26, 2026

Summary

  • AGENTS.md + CLAUDE.md symlink -- project instructions for AI coding tools
  • Claude Code skills -- /verify (clippy + tests) and /build (platform bindings)
  • Format hook -- auto-runs rustfmt on .rs files after every edit
  • Claude GitHub App workflows -- @claude bot mentions + auto code review on PRs
  • Code review instructions -- Rust/UniFFI-specific rules for automated reviews
  • PR template -- standard Description/Preview/QA Notes format
  • rustfmt formatting -- applied across all src/ files

Test plan

  • Set CLAUDE_CODE_OAUTH_TOKEN secret after running /install-github-app
  • review against workflows generated by running /install-github-app
  • After merge, open a test PR to confirm code review workflow posts comments
  • After merge, test @claude mention in a PR comment

@ovitrif ovitrif changed the title Add Claude Code setup and GitHub App workflows chore: add claude code cli setup and github workflows Mar 26, 2026
@ovitrif ovitrif requested review from ben-kaufman and coreyphillips and removed request for coreyphillips March 26, 2026 19:16
@ovitrif ovitrif self-assigned this Mar 26, 2026
@ovitrif ovitrif added the enhancement New feature or request label Mar 26, 2026
ovitrif and others added 5 commits March 27, 2026 16:56
AGENTS.md provides build, test, lint commands, architecture overview,
and key constraints for AI coding tools. CLAUDE.md is a symlink to it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- /verify skill: runs cargo clippy + cargo test
- /build skill: wrapper for ./build.sh with platform target
- PostToolUse hook: auto-formats .rs files with rustfmt on edit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- claude.yml: @claude bot mentions in issues/PRs (org members only)
- claude-code-review.yml: auto code review on PRs with --comment fix
  and --allowedTools for gh/git/read operations, plus old-comment
  minimization step

Requires CLAUDE_CODE_OAUTH_TOKEN secret (set via GitHub App wizard).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- copilot-instructions.md: Rust/UniFFI-specific code review rules
- pull_request_template.md: standard PR template (Description, Preview, QA Notes)
- .gitignore: add .ai for Claude-generated files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ovitrif ovitrif force-pushed the feat/claude-setup branch from 12faf6f to bdada9a Compare March 27, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant