Claude Code: Best Practices for Effective Collaboration
This document outlines best practices for working with Claude Code to ensure efficient and successful software development tasks.
## Task Management
For complex
No other project uses it yet
2.8k17mo agoReviewMountCreate a free account to mount
release after the replacement ships, warn with the replacement, then delete. Only surfaces documented `experimental` may break without that window.
- **Internal code:** Go packages, `web/`, `@compozy/ui`, specs, RFCs, and `.compozy/tasks
No other project uses it yet
2.8k2mo agoReviewMountCreate a free account to mount
capital, exchange-aligned
auto square-off) and support Telegram alerts.
Repository: https://github.com/marketcalls/openalgo
Documentation: https://docs.openalgo.in
## Documentation Map
All project documentation lives under `docs/` as markdown (the single source
No other project uses it yet
2.8k59d agoReviewMountCreate a free account to mount
spreadsheets
- Web scraping or API development (unless specifically for spreadsheet data import)
- Non-spreadsheet document processing (use appropriate specialized agents)
- General system administration tasks
- Tasks that don't involve spreadsheet
2.8k15mo agoReviewMountCreate a free account to mount
context keys so asymmetric models (Cohere, Voyage, nomic-embed) can use different kwargs for document vs. query embedding.
Two install flavors: `[full]` bundles `sentence-transformers` (local inference); slim uses only
No other project uses it yet
2.7k8mo agoReviewMountCreate a free account to mount
through. ⚠ Two full runs contend on the same `~/.code-index` process-lock scopes, the documented cause of .261's 47m outlier, so the 3.13 reproduce runs AFTER the local suite, never
No other project uses it yet
2.7k3mo agoReviewMountCreate a free account to mount
Model, Provider, Account, or Billing Source.
## Implementation Principles
- Inspect related implementations, tests, contracts, and documentation before making changes. Prefer established repository patterns and public APIs over parallel implementations.
- Reuse code
No other project uses it yet
2.7k59d agoReviewMountCreate a free account to mount
cannot be executed from Windows.
When uncertain, make the smallest isolated change and explicitly document what still requires physical verification.
---
## Filesystem and paths
Never hardcode operating-system-specific paths
No other project uses it yet
2.7k9mo agoReviewMountCreate a free account to mount
/memory` to inspect loaded files. Root CLAUDE.md survives `/compact`.
## Claude Code Official Documentation
When working on Claude Code features (hooks, skills, subagents, MCP servers), use the `claude-code-guide` subagent
No other project uses it yet
2.7k6mo agoReviewMountCreate a free account to mount
allowed:
- Quick exploration and prototyping
- Small fixes that don't need TDD workflow
- Documentation updates
### TDD Mode (Opt-In)
TDD is activated by `/work-on-issue`, which writes a `.tdd-session.json` marker.
When
No other project uses it yet
2.6k8mo agoReviewMountCreate a free account to mount
test section of @.github/workflows/ci.yml)
### Comments
- Comments MUST only be used to:
1. Document a function
2. Explain the WHY of a piece of code
3. Explain a particularly complicated piece
No other project uses it yet
2.6k9mo agoReviewMountCreate a free account to mount
before** making any edits.
4. Wait for the user to explicitly accept before proceeding.
### Documentation Maintenance
Before working on code in `ace/`, read `docs/design/ACE_ARCHITECTURE.md` to understand the current architecture.
Before
No other project uses it yet
2.6k8mo agoReviewMountCreate a free account to mount
boundary conditions and error states
5. **User experience** - Accessibility, performance, and usability considerations
6. **Documentation** - Add comments for complex logic, but prefer self-documenting code
---
Most formatting and common issues
2.5k10mo agoReviewMountCreate a free account to mount
Create high-quality academic papers, literature reviews, grant proposals, clinical reports, and other scientific documents backed by comprehensive research and real, verifiable citations.
**Default Format:** LaTeX with BibTeX citations unless
2.4k2mo agoReviewMountCreate a free account to mount
contributors, maintainers, and skill developers.
## What This Is
A **Claude Code skill** - executable documentation that Claude loads to provide Terraform/OpenTofu expertise. It encodes terraform-best-practices.com patterns into Claude's context
2.4k6mo agoReviewMountCreate a free account to mount
binary's own flag table and is always current. When
`--help` and a document disagree, `--help` wins and the document is a bug.
## Build
```bash
cmake -S . -B build && cmake
2.4k3mo agoReviewMountCreate a free account to mount
clients
└── index.ts # Package entry point
test/ # Main test suite (hooks, integration, utils)
docs/ # Documentation (ADRs, configuration, etc.)
```
### Architecture
TDD Guard is organized as a TypeScript project with integrated language-specific
2.4k5mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.