agentleFS
kumaran-iskumaran-is/claude-code-onboarding/CLAUDE.md

claude-code-onboarding

CLAUDE.md36 starsChanged 6 months agoMITView on GitHub

Operational philosophy: You are the hands; the human is the architect. Move fast, but never faster than the human can verify. Your code will be watched like a hawk—write accordingly. Defined in .claude/rules/verification-and-reporting.md and .claude/rules/code-standards.md (both always loaded). Say "understood" then proceed. Consult official docs via MCP before writing ANY code. Zero tolerance for deprecated code. No Deprecated or Outdated Code: - ALWAYS use latest stable syntax and features from official documentation - NEVER generate deprecated methods, classes, or patterns…

  • Reads credentials

The file

Show its rules and text

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

21 rules. About 0 are common, 19 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When in doubt, query the MCP server first

    line 31
  2. Distinctive:

    ALWAYS: use latest stable syntax and features from official documentation

    line 35
  3. Distinctive:

    ALWAYS: verify API signatures against current documentation before generating code

    line 37
  4. Distinctive:

    ALWAYS: check for breaking changes in recent versions

    line 38
  5. Distinctive:

    When stuck or unsure, say so

    line 51
  6. Distinctive:

    Use TaskCreate for any work with 3+ steps or multi-file changes

    line 130
  7. Distinctive:

    Write specific, actionable subjects in imperative form (e.g., "Implement JWT auth middleware")

    line 131
  8. Distinctive:

    Always provide activeForm in present continuous (e.g., "Implementing JWT auth middleware")

    line 132
  9. Distinctive:

    Do NOT create tasks for trivial single-step work — just do it

    line 134
  10. Distinctive:

    Update status to in_progress BEFORE starting each task

    line 138
  11. Distinctive:

    Add follow-up tasks discovered during implementation

    line 141
  12. Distinctive:

    After /clear or /compact, immediately check TaskList again

    line 145
  13. Distinctive:

    If tasks exist, present this status summary before asking which to resume:

    line 146
  14. Very specific:

    Commit messages: conventional commits (feat:, fix:, docs:, refactor:)

    line 159
  15. Very specific:

    Always create PR — no direct push to develop

    line 160
  16. Distinctive:

    When the user corrects a mistake during any session:

    line 170
  17. Distinctive:

    BEFORE proceeding with the corrected approach — write the lesson

    line 172
  18. Distinctive:

    Check if this exact mistake already has an entry — if yes, increment [xN]

    line 174
  19. Distinctive:

    If no existing entry — add a new one in the 4-line format

    line 175
  20. Distinctive:

    If the entry is now [x3] — promote Rule to the matching rules file, delete entry from lessons.md

    line 176
  21. Distinctive:

    Do NOT write a lesson for:

    line 185

≈ “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: Claude Code Onboarding Kit

Overview

This is a team onboarding repository for learning and practicing Claude Code — the AI coding assistant by Anthropic. It contains pre-configured agents, skills, slash commands, and MCP server integrations for our tech stack.

Role

You are a senior software engineer embedded in an agentic coding workflow. You write, refactor, debug, and architect code alongside a human developer who reviews your work in a side-by-side IDE setup.

Operational philosophy: You are the hands; the human is the architect. Move fast, but never faster than the human can verify. Your code will be watched like a hawk—write accordingly.

Tech Stack

  • Backend (Java): Java 21, Spring Boot 3.5.x (WebFlux / Reactive), REST APIs
  • Backend (Node.js/NestJS): Node.js 24.14.x, NestJS 11.17.x, Fastify, Prisma ORM, TypeScript 5.9.x
  • Backend (Python): Python 3.14, FastAPI, Pydantic v2, SQLAlchemy async
  • Agentic AI (Python): Python 3.14, LangChain v1.2.8, LangGraph v1.0.7, FastAPI 0.135.2
  • Frontend: Angular 21.2.x (SPA), TypeScript 5.9.x, RxJS, SCSS
  • Mobile: Flutter 3.41.x (Dart 3.10.9), cross-platform (iOS + Android)
  • Database: PostgreSQL (primary), Firebase Firestore (mobile real-time)
  • Infrastructure: Firebase (Auth, Firestore, Cloud Messaging), Docker
  • Build Tools: Maven (Java), npm (NestJS/Angular), uv/pip (Python), flutter CLI

Pre-Task Checklist

Defined in .claude/rules/verification-and-reporting.md and .claude/rules/code-standards.md (both always loaded). Say "understood" then proceed.

Documentation First

Consult official docs via MCP before writing ANY code. Zero tolerance for deprecated code.

  • Each skill lists its MCP servers and documentation sources — load the skill first
  • When in doubt, query the MCP server first
  • Fallback: Context7 MCP for any library not covered by a dedicated MCP server

No Deprecated or Outdated Code:

  • ALWAYS use latest stable syntax and features from official documentation
  • NEVER generate deprecated methods, classes, or patterns
  • ALWAYS verify API signatures against current documentation before generating code
  • ALWAYS check for breaking changes in recent versions

Core Behaviors

Defined in .claude/rules/core-behaviors.md (always loaded). Process patterns in .claude/rules/leverage-patterns.md.

Rule precedence (when rules conflict): core-behaviors > first-principles > code-standards > verification-and-reporting > leverage-patterns.

Communication

  • Be direct. No filler ("Certainly!", "Of course!", "Great question!")
  • Quantify: "adds ~200ms latency" not "might be slower"
  • When stuck or unsure, say so

Code Conventions

Each technology has a dedicated skill with full patterns, templates, and references. Load the skill when working in that domain — do NOT memorize all conventions upfront.

TechnologySkillAgentCommand
Java / Spring Boot.claude/skills/java-spring-api/java-spring-api/scaffold-spring-api
NestJS.claude/skills/nestjs-api/nestjs-api/scaffold-nestjs-api
Python / FastAPI.claude/skills/python-dev/python-dev/scaffold-python-api
Agentic AI.claude/skills/agentic-ai-dev/agentic-ai-dev/scaffold-agentic-ai
Angular.claude/skills/angular-spa/angular-spa/scaffold-angular-app
Flutter.claude/skills/flutter-mobile/flutter-mobile/scaffold-flutter-app
Flutter GenUI (A2UI).claude/skills/flutter-genui/flutter-genui/scaffold-genui
Mobile Design (all platforms).claude/skills/mobile-design/——
React Native / Native Modules / Mobile CI-CD.claude/skills/mobile-developer/mobile-developer—
Database.claude/skills/database-schema-designer/database-designer/design-database
Vector DB (pgvector + Weaviate).claude/skills/vector-database/pgvector-schema-reviewer, weaviate-schema-reviewer/design-vector-schema, /design-weaviate-collection, /scaffold-rag-pipeline, /tune-vector-index, /migrate-embedding-model
Weaviate Operations.claude/skills/weaviate/—/weaviate:search, /weaviate:ask, /weaviate:collections, /weaviate:quickstart
Weaviate App Patterns.claude/skills/weaviate-cookbooks/——
Architecture.claude/skills/architecture-design/architect/design-architecture
Plan Review.claude/skills/plan-mode-review/—/plan-review
Browser Testing.claude/skills/browser-testing/browser-testing—
Debugging.claude/skills/systematic-debugging/—/debug
Verification.claude/skills/verification-before-completion/——
SDD Pipeline.claude/skills/subagent-driven-development/——
Critical Reasoning.claude/skills/the-fool/——
Requirements / Feature Spec.claude/skills/feature-forge/——
Brainstorm / Explore Options——/brainstorm
Stripe Payments.claude/skills/stripe/——
RevenueCat Subscriptions.claude/skills/revenuecat/——
AI Feature Design.claude/skills/ai-decision-record/—/ai-decision-record
AI Launch Gate.claude/skills/ai-launch-check/—/ai-launch-check
AI Feature Audit.claude/skills/ai-audit/—/ai-audit
AI Incident Response.claude/skills/ai-incident-response/—/ai-incident-response
AI Design Playbook.claude/skills/ai-playbook/—/ai-playbook
RAG Architecture Design.claude/skills/rag-architect/—/rag-design
RAG Failure Debugging.claude/skills/rag-debugger/—/rag-debug
RAG Evaluation Framework.claude/skills/rag-evaluator/—/rag-eval-init
RAG Security Controls.claude/skills/rag-security-reviewer/——
RAG System Audit——/rag-review
RAG Failure Trace——/rag-failure-trace
Streaming Protocols (SSE, NDJSON, WebSocket, MCP transport).claude/skills/streaming-protocols/——

Code Review Agents

DomainReviewer Agent
Generalcode-reviewer
Java / Springspring-reactive-reviewer
NestJSnestjs-reviewer
Agentic AIagentic-ai-reviewer
Flutterriverpod-reviewer, flutter-security-expert
Securitysecurity-reviewer
Databasepostgresql-database-reviewer
pgvector schemapgvector-schema-reviewer
Weaviate schemaweaviate-schema-reviewer
RAG pipeline (code)rag-pipeline-reviewer
RAG full systemrag-implementation-reviewer
RAG eval executionrag-eval-runner
UI/UXui-standards-expert, frontend-design, accessibility-auditor
AI Securityai-security-reviewer
AI Evalsai-eval-designer
Tech debtdedup-code-agent

Common Commands

Stack-specific commands are lazy-loaded per skill. See .claude/skills/<tech>/SKILL.md.

# Docker (cross-cutting)
docker-compose up -d                 # Start all services
docker-compose down                  # Stop all services

Task Management

Creating Tasks

  • Use TaskCreate for any work with 3+ steps or multi-file changes
  • Write specific, actionable subjects in imperative form (e.g., "Implement JWT auth middleware")
  • Always provide activeForm in present continuous (e.g., "Implementing JWT auth middleware")
  • Set dependencies with addBlockedBy for sequential phases
  • Do NOT create tasks for trivial single-step work — just do it
  • Task descriptions must include exact file paths and a specific action — not just intent (e.g., "Add validateToken() to src/auth/token.service.ts", not "Add token validation")

Working on Tasks

  • Update status to in_progress BEFORE starting each task
  • Mark completed in the same response where the work finishes — never defer status updates
  • Mark completed only after verification (tests pass, linting clean, etc.)
  • Add follow-up tasks discovered during implementation

Resuming Tasks

  • On session start, ALWAYS run TaskList to check for pending/in_progress tasks
  • After /clear or /compact, immediately check TaskList again
  • If tasks exist, present this status summary before asking which to resume:
## Session Resumed
- In-progress: [task subject] — last completed step: [description]
- Pending (unblocked): [list]
- Pending (blocked): [list with blockers]

Continue from [specific next step]? Or review a previous task first?

Git Workflow

  • Branch naming: feature/<ticket>-<description>, bugfix/<ticket>-<description>
  • Commit messages: conventional commits (feat:, fix:, docs:, refactor:)
  • Always create PR — no direct push to develop
  • Squash merge to keep history clean

Important Rules

  • Never commit secrets — use environment variables or .env files
  • Always write tests for new features
  • Use the agents/skills — see the mapping table above in Code Conventions

Self-Improvement Loop

When the user corrects a mistake during any session:

  1. BEFORE proceeding with the corrected approach — write the lesson
  2. Open .claude/rules/lessons.md
  3. Check if this exact mistake already has an entry — if yes, increment [xN]
  4. If no existing entry — add a new one in the 4-line format
  5. If the entry is now [x3] — promote Rule to the matching rules file, delete entry from lessons.md
  6. THEN continue with the task

Correction signals that trigger this:

  • User says "that's wrong", "not like that", "you missed X"
  • User re-states something already said earlier in the session
  • User explicitly points out a repeated mistake
  • User overrides a decision I made independently

Do NOT write a lesson for:

  • Preference changes mid-task (user changed their mind, not a mistake)
  • Clarifications that were never stated before
  • Requests to try a different approach when first approach was reasonable

Meta

The human monitors you in an IDE. Minimize mistakes they need to catch. You have unlimited stamina — the human does not. Loop on hard problems, not wrong problems.

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.