agentleFS
yeisonrestrepoyeisonrestrepo/code-conductor/global/CLAUDE.md

code-conductor / global

CLAUDE.md17 starsChanged 37 days agoMITView on GitHub

Always follow this sequence. No exceptions. Never write code without an approved spec. Never start implementing without an approved plan. Before reading any file or spawning any search, classify the task and walk this chain. Stop at the first step that answers the question. Never jump to a later step if an earlier one can answer the question. The code-simplifier skill is always active. Apply its rules to every change: Auto-run /cc-stack at the start of every session. It runs…

  • Deletes or force-pushes

The file

Show its rules and text

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Always follow this sequence.

    line 8
  2. Distinctive:

    Never write code without an approved spec.

    line 14
  3. Distinctive:

    Never read a full file over 150 lines — use line offsets and limits

    line 19
  4. Distinctive:

    Before reading any file or spawning any search, classify the task and walk this chain.

    line 24
  5. Very specific:

    Memory: check .claude/memory/project.md (project) and ~/.claude/memory/personal.md (global preferences).

    line 26
  6. Distinctive:

    Never jump to a later step if an earlier one can answer the question.

    line 32
  7. Distinctive:

    Check file exists before creating — use the pre-tool-use hook

    line 36
  8. Distinctive:

    Never hardcode secrets, tokens, passwords, or API keys

    line 38
  9. Very specific:

    Never run rm -rf without explicit user confirmation

    line 39
  10. Distinctive:

    No speculative abstractions — solve today's problem only

    line 45
  11. Distinctive:

    Default: English (responses + code comments + identifiers)

    line 53
  12. Very specific:

    Run /cc-checkpoint before /compact, after feature completion, after key architectural decisions.

    line 68
  13. Distinctive:

    Use Superpowers for isolated, parallelizable sub-tasks

    line 72
  14. Distinctive:

    Use Playwright MCP for visual debugging and E2E tests

    line 73
  15. Distinctive:

    Always confirm scope before spawning sub-agents

    line 74

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

Global Claude Configuration

<!-- cc:managed:start -->

Applies to every project on this machine. Project CLAUDE.md adds project-specific overrides on top.

Workflow

Always follow this sequence. No exceptions.

  1. /cc-spec — define the problem and wait for approval
  2. /cc-plan — map the implementation and wait for approval
  3. Implement — one step at a time, confirm between steps unless told otherwise

Never write code without an approved spec. Never start implementing without an approved plan.

Token Efficiency

  • grep/find before read — never open a file without searching first
  • Never read a full file over 150 lines — use line offsets and limits
  • One tool call, one purpose — no exploratory reads during implementation

Orchestrator Protocol

Before reading any file or spawning any search, classify the task and walk this chain. Stop at the first step that answers the question.

  1. Memory: check .claude/memory/project.md (project) and ~/.claude/memory/personal.md (global preferences). If the answer is there, stop.
  2. Grep / Glob — pattern search? Use Grep or Glob inline. Stop.
  3. Explore sub-agent — need 3+ files to answer one question? Spawn an Explore sub-agent. It returns a ≤200-word summary. Main context receives only the summary. Stop.
  4. Parallel agents — 2+ independent implementation tasks? Spawn parallel agents in worktrees. Each returns a ≤200-word summary.
  5. Targeted read — last resort. Always use offset + limit. Max 150 lines per call.

Never jump to a later step if an earlier one can answer the question.

Safety

  • Check file exists before creating — use the pre-tool-use hook
  • Confirm before any write or destructive shell command
  • Never hardcode secrets, tokens, passwords, or API keys
  • Never run rm -rf without explicit user confirmation

Simplicity

The code-simplifier skill is always active. Apply its rules to every change:

  • No speculative abstractions — solve today's problem only
  • Functions do one thing, max 30 lines
  • Flat over nested — guard clauses and early returns
  • Descriptive names — no Base/Abstract/Generic/Manager/Handler
  • Comments explain why, never what

Language

  • Default: English (responses + code comments + identifiers)
  • Switch: /cc-lang [code] changes response language for the session
  • Code identifiers, file names, and commit messages are always English
  • Supported codes: en es pt fr de it zh ja ko

Stack Detection

Auto-run /cc-stack at the start of every session. It runs the dynamic detector and records the stack in the project CLAUDE.md. If a stack is already recorded, it asks whether anything changed before re-detecting.

Memory

  • project.md — at .claude/memory/project.md, in git, shared with the team. Decisions, conventions, debt, workarounds.
  • personal.md — local only, never committed. Developer preferences, personal shortcuts. Two files carry this name:
    • ~/.claude/memory/personal.md is the cross-project default. Read it at session start alongside project memory.
    • .claude/memory/personal.md is this project's copy, written by /cc-checkpoint and read by /cc-resume. It wins on any clash, because the most specific layer wins, as in settings.
  • Run /cc-checkpoint before /compact, after feature completion, after key architectural decisions.

Delegation

  • Use Superpowers for isolated, parallelizable sub-tasks
  • Use Playwright MCP for visual debugging and E2E tests
  • Always confirm scope before spawning sub-agents

Response Format

Always tag responses:

  • [CHANGES] — list of files changed and what changed
  • [BUG] — bug report with file:line reference
  • [PLAN] — ordered implementation steps
  • [REASON] — explanation of a decision or approach

Active Skills

  • code-simplifier — always active, loaded automatically
  • ui-ux-pro-max — activate via /cc-stack when frontend frameworks are detected
  • verbosity — always active; reads level from memory/verbosity.md (default: MIN)
  • memory-first — always active; enforces the orchestrator lookup chain
  • agent-delegation — always active; governs when and how to spawn sub-agents

Loaded Profiles

/cc-stack detects your stack dynamically and writes the detected commands and a generated ruleset into the project CLAUDE.md. Never apply one language's conventions to another.

<!-- cc:managed:end -->

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.