loom
CLAUDE.md190 starsChanged 5 months agoApache-2.0View on GitHub
- Reads credentials
- Installs packages
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 20
Ensure node_modules stay within the relevant directory.
- Distinctive: line 25
Use Type Hints for all function signatures.
- Very specific: line 26
Prefer unittest for testing within agent subdirectories.
- Distinctive: line 27
Prefer SQLAlchemy when interacting with relational databases, instead of writing direct SQL statements.
- Distinctive: line 28
Follow PEP 8 style guidelines.
- Distinctive: line 31
Use ESM (ECMAScript Modules).
- Very specific: line 35
Follow the principle of least privilege in IAM templates within iac/.
- Very specific: line 36
Use environment-based naming conventions (e.g., resource-name-${STAGE}).
- Distinctive: line 40
Use Python and FastAPI for backend APIs.
- Distinctive: line 44
Use Typescript and shadcn, Tailwind CSS, and Vite for frontend user experience.
- Distinctive: line 47
Before committing code, verify that no credentials, tokens, or secrets are stored in files tracked by git.
- Very specific: line 52
Use tools like git-secrets to scan for accidentally committed secrets.
- Very specific: line 56
Update parameters in etc/environment.sh.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Steering
Directory Structure
agents/: Individual agent logic directories.agent_name/: Logic, tests, and local dependencies.
backend/: Backend business logic exposed via API.etc/: Configuration management.environment.sh: Source of truth for all injectable parameters.
frontend/: Frontend used for interacting with the backend.iac/: Infrastructure as Code (AWS CloudFormation and AWS SAM).makefile: Root orchestration for builds, deployments, and local runs.
Build & Command Tooling
- Primary Interface: Always check the
makefilefor available commands before suggesting custom scripts. - Config Injection: Commands must source
etc/environment.sh. - Dependency Management (Python): Use
uv.- Commands:
uv pip install,uv venv. - Each agent in
agents/should have its own.venvmanaged viauv.
- Commands:
- Dependency Management (TypeScript): Use
npm.- Ensure
node_modulesstay within the relevant directory.
- Ensure
- Formatting JSON outputs: Prefer
jqoverpython -m json.tool
Coding Standards
Python
- Use Type Hints for all function signatures.
- Prefer
unittestfor testing within agent subdirectories. - Prefer SQLAlchemy when interacting with relational databases, instead of writing direct SQL statements.
- Follow PEP 8 style guidelines.
TypeScript
- Use ESM (ECMAScript Modules).
- Strict typing required (no
anyunless absolutely necessary).
AWS / IaC
- Follow the principle of least privilege in IAM templates within
iac/. - Use environment-based naming conventions (e.g.,
resource-name-${STAGE}). - Deployments use the SAM CLI.
Backends
- Use Python and FastAPI for backend APIs.
- Build unit tests for ensuring that responses match expected outcomes.
Frontends
- Use Typescript and shadcn, Tailwind CSS, and Vite for frontend user experience.
Security Scans
- Before committing code, verify that no credentials, tokens, or secrets are stored in files tracked by git.
- Sensitive data should only exist in:
.envfiles (ensure these are in.gitignore)etc/environment.sh(if used for local development only and gitignored)- AWS Secrets Manager or Parameter Store for production
- Use tools like
git-secretsto scan for accidentally committed secrets. - Review diffs before pushing to ensure no API keys, passwords, or tokens are included.
Deployment Workflow
- Update parameters in
etc/environment.sh. - Execute via
make <target>.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

