agentleFS
AWSKnown publisherawslabs/loom/CLAUDE.md

loom

CLAUDE.md190 starsChanged 5 months agoApache-2.0View on GitHub

  • Reads credentials
  • Installs packages
  • In this repository3 other files it gives its agents.

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
  1. Very specific:

    Ensure node_modules stay within the relevant directory.

    line 20
  2. Distinctive:

    Use Type Hints for all function signatures.

    line 25
  3. Very specific:

    Prefer unittest for testing within agent subdirectories.

    line 26
  4. Distinctive:

    Prefer SQLAlchemy when interacting with relational databases, instead of writing direct SQL statements.

    line 27
  5. Distinctive:

    Follow PEP 8 style guidelines.

    line 28
  6. Distinctive:

    Use ESM (ECMAScript Modules).

    line 31
  7. Very specific:

    Follow the principle of least privilege in IAM templates within iac/.

    line 35
  8. Very specific:

    Use environment-based naming conventions (e.g., resource-name-${STAGE}).

    line 36
  9. Distinctive:

    Use Python and FastAPI for backend APIs.

    line 40
  10. Distinctive:

    Use Typescript and shadcn, Tailwind CSS, and Vite for frontend user experience.

    line 44
  11. Distinctive:

    Before committing code, verify that no credentials, tokens, or secrets are stored in files tracked by git.

    line 47
  12. Very specific:

    Use tools like git-secrets to scan for accidentally committed secrets.

    line 52
  13. Very specific:

    Update parameters in etc/environment.sh.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 makefile for 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 .venv managed via uv.
  • Dependency Management (TypeScript): Use npm.
    • Ensure node_modules stay within the relevant directory.
  • Formatting JSON outputs: Prefer jq over python -m json.tool

Coding Standards

Python

  • Use Type Hints for all function signatures.
  • Prefer unittest for 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 any unless 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:
    • .env files (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-secrets to scan for accidentally committed secrets.
  • Review diffs before pushing to ensure no API keys, passwords, or tokens are included.

Deployment Workflow

  1. Update parameters in etc/environment.sh.
  2. Execute via make <target>.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.