agentleFS
dirkkok101dirkkok101/skills/templates/CLAUDE.md

skills / templates

CLAUDE.md2 starsChanged 8 months agoMITView on GitHub

This project uses br (beads-rust) for local issue tracking. The database lives at .beads/beads.db (SQLite-only, not synced to git). NEVER write implementation code until the user explicitly says "approved" or "implement". When asked to build a feature: 1. STOP - Do not write code 2. Ask - "Should we start with brainstorming, or is there an existing plan?" 3. Use the workflow skills - Each requires explicit user approval to proceed PRD, Design, and Plan are separate skills with explicit…

  • Commits and pushes

The file

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

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When asked to build a feature:

    line 46
  2. Distinctive:

    STOP: - Do not write code

    line 47
  3. Distinctive:

    Explicit approval: - Never proceed without user saying the magic words

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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

@AGENTS.md

Issue Tracking with Beads

This project uses br (beads-rust) for local issue tracking. The database lives at .beads/beads.db (SQLite-only, not synced to git).

When to Use Beads vs TodoWrite

Use Beads (br)Use TodoWrite
Multi-session work that persistsSingle-session task breakdown
Work with dependencies/blockersSimple sequential steps
Features, bugs, epicsImmediate execution checklist
Discovered work to capture for laterProgress visibility for current task

Session Start

br ready                  # See available work

During Work

br update <id> --status in_progress   # Claim task
br create "Discovered issue" -p 2     # Capture discovered work

Session End

br close <id>             # Complete finished work
git add . && git commit && git push   # Push code (MANDATORY)

Feature Development Workflow

CRITICAL: No Implementation Without Explicit Approval

NEVER write implementation code until the user explicitly says "approved" or "implement".

When asked to build a feature:

  1. STOP - Do not write code
  2. Ask - "Should we start with brainstorming, or is there an existing plan?"
  3. Use the workflow skills - Each requires explicit user approval to proceed

Pipeline Overview

PRD, Design, and Plan are separate skills with explicit stage gates. Each requires user approval before proceeding to the next.

research ─> brainstorm ─> discovery ─> prd ─> technical-design ─> plan ─> beads ─> execute ─> review ─> compound
(optional)                 (COMP only)         (STANDARD+)

Scope-Based Entry Points

Brainstorm classifies features as BRIEF, STANDARD, or COMPREHENSIVE using weighted signals:

ScopePath
BRIEFbrainstorm → plan → beads → execute → review → compound
STANDARDbrainstorm → prd → technical-design → plan → beads → execute → review → compound
COMPREHENSIVEbrainstorm → discovery → prd → technical-design → plan → beads → execute → review → compound
Bug fixdiagnose → fix / beads / brainstorm
Technical improvementbrainstorm → technical-design → plan → beads → execute → review

Approval Gates

Each phase requires explicit user approval before proceeding:

PhaseExit SignalNext Step
research"research complete"brainstorm or prd
brainstorm"start discovery" / "start prd" / "start plan"discovery, prd, technical-design, or plan
discovery"start prd"prd
prd"prd approved"technical-design
technical-design"design approved"plan
plan"plan approved"beads
beads"beads approved"execute
execute"done"review
review"changes approved"compound

Quick Reference

CommandWhen to Use
/workflow:research [topic]New problem space, need competitive/technical analysis
/workflow:brainstorm [idea]Starting a new feature, exploring approaches
/workflow:discovery [feature]After brainstorm for COMPREHENSIVE features
/workflow:prd [feature]After brainstorm/discovery, need formal requirements
/workflow:technical-design [feature]After PRD, need architecture and API specs
/workflow:diagnose [symptom]Something is broken or behaving unexpectedly
/workflow:plan [feature]After design is approved (or after brainstorm for BRIEF)
/workflow:beads [feature]After plan is approved
/workflow:execute [epic-id]After beads are approved
/workflow:reviewAfter implementation complete
/workflow:compound [topic]After review to capture learnings

Key Rules

  • Explicit approval - Never proceed without user saying the magic words
  • Push before stopping - Work is not complete until git push succeeds
  • Traceability - FRs trace to UCs, UCs trace to personas, beads tag FRs, tests tag UCs

Documentation Structure

your-project/
├── docs/
│   ├── research/       # Created by /research
│   ├── brainstorm/     # Created by /brainstorm
│   │   └── {feature}/brainstorm.md
│   ├── discovery/      # Created by /discovery (COMPREHENSIVE)
│   │   └── {feature}/discovery-brief.md
│   ├── prd/            # Created by /prd
│   │   └── {feature}/prd.md
│   ├── designs/        # Created by /technical-design
│   │   └── {feature}/design.md, architecture.md, api-spec.md, ...
│   ├── plans/          # Created by /plan
│   │   └── {feature}/overview.md, 01-data-model.md, ...
│   ├── reviews/        # Created by /review
│   │   └── review-{timestamp}.md
│   ├── learnings/      # Created by /compound
│   │   └── {category}.md
│   ├── reference/      # Project-specific reference docs (manual)
│   └── systems/        # Project-specific system docs (manual)
└── .beads/
    └── beads.db        # Created by br init

Domain References

The workflow skills use domain reference files for domain-specific checklists and patterns:

DomainReferenceUsed By
Identity/Auth_shared/references/identity-auth.mddiscovery, technical-design
Data Platform_shared/references/capstone-data.mddiscovery, technical-design
Mobile/EHS_shared/references/guardian-mobile.mddiscovery, technical-design
General SaaS_shared/references/general-saas.mddiscovery, technical-design

Domain references are updated by /compound when domain-specific learnings are captured.


Project-Specific Instructions

<!-- Add your project-specific instructions below -->

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.