This repository contains configurations and workflows inspired by Boris Cherny's Claude Code tips.
This project serves as a template and reference implementation for optimizing AI-assisted coding workflows with Claude Code and Cursor. It contains:
- Memory files (CLAUDE.md, AGENTS.md)
- Custom skills and commands
- Cursor rules
- Subagent configurations
- Version: Python 3.10+
- Formatter: Ruff (replaces black, isort, flake8)
- Testing: pytest with 80%+ coverage
- Type hints: Required for all functions
- Docstrings: Google-style
- Naming: snake_case for functions/variables, PascalCase for classes
- Indentation: 4 spaces
- Max line length: 120 characters
- Error handling: Try-except with logging
- Use structured logging with
structlog
- Follow GitHub Flow (feature branches from main)
- Use Conventional Commits format:
feat:new featurefix:bug fixdocs:documentationrefactor:code refactoringtest:adding testschore:maintenance
- Run tests with:
pytest - Run with coverage:
pytest --cov - Always run tests before committing
- Format code:
ruff format . - Lint code:
ruff check . - Fix linting issues:
ruff check --fix .
CLAUDE.md- This file, Claude Code memoryAGENTS.md- Cursor agent instructions.cursor/skills/- Modular Cursor skillsthreads.md- Source material from Boris Cherny
Before completing any task:
- Run the test suite if tests exist
- Run linter to check for issues
- Verify changes work as expected
Update this file whenever Claude makes a mistake: "Update CLAUDE.md so you don't make that mistake again"