agentleFS
codeoutincodeoutin/claude-code-agency/examples/CLAUDE.md

claude-code-agency / examples

CLAUDE.md42 starsChanged 15 months agoMITView on GitHub

[Your project description - replace with your actual project details] Key Design Principles: - [Your core design principles] - [Key user experience goals] - [Technical constraints or requirements] Required for development:

The file

We split this CLAUDE.md into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NEVER mark a task as complete until:

    line 15
  2. Distinctive:

    All code is written and integrated

    line 16
  3. Distinctive:

    All imports and dependencies are resolved

    line 17
  4. Distinctive:

    No broken references remain

    line 19
  5. Distinctive:

    Always pause for testing feedback on significant changes

    line 21
  6. Distinctive:

    Use great npm packages and tools if available instead of coding from scratch

    line 22
  7. Distinctive:

    Ask for architectural decisions rather than assuming

    line 23
  8. Very specific:

    PROJECT_STATUS.md: - Update completed tasks and track progress here

    line 144
  9. Very specific:

    When completing tasks, always update PROJECT_STATUS.md to reflect new completion status

    line 146
  10. Very specific:

    Add suggestions and improvements encountered during development to PROJECT_STATUS.md

    line 147

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

[Your project description - replace with your actual project details]

Key Design Principles:

  • [Your core design principles]
  • [Key user experience goals]
  • [Technical constraints or requirements]

Task Completion Standards

  • NEVER mark a task as complete until:
    • All code is written and integrated
    • All imports and dependencies are resolved
    • The feature runs without errors in dev environment
    • No broken references remain
    • Solution is production-ready, not a proof of concept
  • Always pause for testing feedback on significant changes
  • Use great npm packages and tools if available instead of coding from scratch
  • Ask for architectural decisions rather than assuming

Development Commands

# Development server
npm run dev

# Production build  
npm run build

# Start production server
npm start

# Linting
npm run lint

# Type checking
npm run type-check

# Database operations (if using Prisma)
npx prisma generate    # Generate Prisma client
npx prisma db push     # Push schema to database (development)
npx prisma migrate dev # Create and apply migration
npx prisma studio      # Database GUI

# Testing (if applicable)
npm test
npm run test:watch

Architecture Overview

Tech Stack

  • Frontend: [Your frontend stack - e.g., React 18 + TypeScript + Vite]
  • Backend: [Your backend - e.g., Express.js + TypeScript]
  • Database: [Your database - e.g., PostgreSQL with Prisma ORM]
  • Auth: [Your auth solution - e.g., NextAuth.js]
  • Styling: [Your styling - e.g., Tailwind CSS + shadcn/ui]

Core Data Model

[Describe your main entities and relationships]

User
├── Projects
├── Tasks
└── [Your core entities]

Project  
├── Tasks
├── Members
└── [Related entities]

API Structure

[Describe your API organization] Located in [your-api-directory]:

  • users.ts - User management
  • projects.ts - Project CRUD operations
  • [your-routes].ts - [Description]

File Upload System (if applicable)

[Describe file handling patterns]

  • Drag and drop support
  • File validation and processing
  • Storage integration

Authentication Context

[Describe auth patterns]

  • Session management
  • Route protection
  • User context

Development Workflows

Database Setup

  1. [Your database setup steps]
  2. [Environment configuration]
  3. [Migration commands]

Adding New Features

  • [Your feature development patterns]
  • [Code organization rules]
  • [Testing requirements]

Common Patterns

  • Error Handling: [Your error handling approach]
  • State Management: [Your state management patterns]
  • Data Fetching: [Your data fetching patterns]
  • Form Handling: [Your form patterns]

Testing

[Your testing approach and commands]

Environment Variables

Required for development:

# Database
DATABASE_URL=

# Authentication
AUTH_SECRET=
# [Your auth provider variables]

# External Services
# [Your API keys and external service configs]

File Structure Notes

  • src/ - Source code
  • components/ - Reusable components
  • pages/ or app/ - Application pages/routes
  • lib/ - Utility functions and configurations
  • [your-directories]/ - [Description]

Development Workflow & Project Management

Always Reference These Files First:

  1. PROJECT_STATUS.md - Update completed tasks and track progress here
  2. PROJECT_DESCRIPTION.md - Reference when continuing work to understand what we're building
  3. When completing tasks, always update PROJECT_STATUS.md to reflect new completion status
  4. Add suggestions and improvements encountered during development to PROJECT_STATUS.md

User-Centered Design Approach:

  • Target Users: [Your target users]
  • Core Pain Points:
    • [User problem 1]
    • [User problem 2]
    • [User problem 3]
  • Design Principle: [Your core UX principle]

UX/UI Flow Considerations:

  • [Your UX patterns and guidelines]
  • [Interaction patterns to follow]
  • [Performance considerations]

Known Architecture Decisions

  • [Decision 1] - [Reasoning]
  • [Decision 2] - [Reasoning]
  • [Decision 3] - [Reasoning]

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.