codeflash-agent/.claude/rules/github.md
Kevin Turcios c0a72e978d Add rules from session audit: error handling, testing, debugging
- sessions.md: hard compaction limits, no-polling, file read budget
- debugging.md: root cause first, isolated testing, subprocess logging
- github.md: strengthen MCP-first enforcement
- error-handling.md (packages): no silent swallowing, protect ast.parse
- test-coverage.md (packages): every module needs tests, known gaps
2026-04-21 21:06:15 -05:00

300 B

GitHub Interactions

ALWAYS use MCP GitHub tools (mcp__github__*) for GitHub operations. Check for a matching MCP tool first -- only fall back to gh via Bash when no MCP tool exists for the operation.

This also applies to other MCP-connected services (Linear, Granola). MCP first, CLI second.