chore: add Claude Code automations and fix CodeRabbit issues#35
chore: add Claude Code automations and fix CodeRabbit issues#35chitcommit wants to merge 3 commits intomainfrom
Conversation
… CLAUDE.md Wire in project-level Claude Code configuration: - CLAUDE.md with architecture, commands, conventions, and dependency docs - chittyagent-billy subagent proxying to billy.chitty.cc review/roast/chat API - /billy skill for user-invoked BS-scored code reviews - /new-command skill for scaffolding CLI commands with tests - /security-scan skill for running full security scan suite - project-conventions skill (Claude-only) with coding patterns - PreToolUse hooks blocking lock file and dist/ edits, destructive bash - PostToolUse hook running tsc --noEmit after .ts edits - Stop hook warning about uncommitted changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace hardcoded absolute paths in hooks with git rev-parse --show-toplevel - Remove license reference from CLAUDE.md (MIT/AGPL discrepancy is pre-existing) - Add text language identifier to architecture fenced block Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- scan-secrets.sh: use mktemp instead of fixed /tmp path, quote $revset - SECURITY.md: list all fallback token names in rotation guidance - direct-route.ts: use hasOwnProperty instead of in operator for CLI validation - hook-handlers.ts: use || with trim() instead of ?? for token fallback - parity_node.js: fix false-positive error handling test - parity_py.py: fix false-positive error handling test Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Run ID: 📒 Files selected for processing (11)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Adds Claude Code project guidance/automation assets and updates hook handler + parity tests to address prior review findings (notably around credential handling and error handling assertions).
Changes:
- Added Claude Code documentation and configuration (
CLAUDE.md,.claude/settings.json) plus several Claude “skills” and an agent definition. - Updated context-auth hook handler to avoid hardcoded credential fallbacks and to optionally resolve a local identity.
- Simplified parity error-handling tests (Node/Python).
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
src/commands/hook-handlers.ts |
Updates ChittyCanon DB credential resolution and adds local identity scanning for context authentication. |
tests/parity_py.py |
Simplifies the Python parity error-handling test assertion. |
tests/parity_node.js |
Simplifies the Node parity error-handling test assertion. |
SECURITY.md |
Adds a “Secret Exposure Response Checklist”. |
CLAUDE.md |
Adds Claude Code project overview, architecture notes, and commands/conventions. |
.claude/settings.json |
Adds Claude Code hook automation for file edits, destructive bash, and post-edit typechecking. |
.claude/skills/security-scan/SKILL.md |
Adds a skill doc for running security scans/audit/workflow checks. |
.claude/skills/project-conventions/SKILL.md |
Adds a skill doc describing repo conventions for code generation. |
.claude/skills/new-command/SKILL.md |
Adds a skill doc for scaffolding a new CLI command + test. |
.claude/skills/billy/SKILL.md |
Adds a skill doc for sending code to an external review service and a “roast” mode. |
.claude/agents/chittyagent-billy.md |
Adds an agent definition for the external review service. |
Comments suppressed due to low confidence (1)
.claude/skills/project-conventions/SKILL.md:44
- This file-organization note says MCP lives at
src/mcp/server.ts, butnpm run mcpexecutesdist/mcp-server.js(built fromsrc/mcp-server.ts). Update this pointer so contributors/agents edit the file that is actually used by the CLI.
- Plugins: `src/plugins/` (integrations by service: ai, chittyos, cloudflare, linear, neon)
- Types: `src/types/index.ts`
- MCP: `src/mcp/server.ts`
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
/billycode review skill/new-command,/security-scanskills and project-conventions auto-skillTest plan
npx tsc --noEmitpassesnpm testpasses.claude/settings.jsonhooks work in Claude Code sessions🤖 Generated with Claude Code