| name | Claude Code |
| description | Tool: Anthropic Claude Code CLI (`npm install -g @anthropic-ai/claude-code`) |
| version | 1.0.0 |
| category | cli |
| author | Rulebook |
| tags | ["cli","cli-tool"] |
| dependencies | [] |
| conflicts | [] |
Claude Code CLI Rules
Tool: Anthropic Claude Code CLI (npm install -g @anthropic-ai/claude-code)
Quick Start
export ANTHROPIC_API_KEY=your_key
claude "Read AGENTS.md and CLAUDE.md, then implement [feature] with tests"
--model <model>
--dangerously-skip-permissions
--verbose
Test Implementation Rules
Write complete, production-quality tests:
- Never simplify tests — implement the full test as designed
- Never skip test cases — every case in the spec must be implemented
- No placeholder assertions —
expect(true).toBe(true) and bare toBeDefined() are forbidden; assert actual behavior
- No
.skip() / .only() to bypass failing tests
- Always test error paths — exceptions, edge cases, failure modes
- Maintain coverage — meet the project's coverage threshold
Workflow
- Read AGENTS.md and CLAUDE.md first for project standards
- Plan file changes before editing
- Write complete tests — no placeholders, no simplifications
- Run quality checks:
npm run lint && npm test
- Verify coverage threshold before committing
Quality Gates