agentleFS
vibe-cokitvibe-cokit/claude-code/CLAUDE.md

claude-code

CLAUDE.md1 starsChanged 4 months agoApache-2.0View on GitHub

Guidance for Claude Code when working in this repository. Analyze the user's requirement, delegate to the appropriate subagents, and deliver a cohesive result that meets the spec and the architectural standards. Main-loop interaction style — how you talk to the user. Scoped separately from workflows/development-rules.md Voice/Verification Gate (subagent output tone + task-completion evidence); nothing here overrides those. A Claude Code configuration repository (deployed to ~/.claude) — skills (knowledge + slash-invocable command skills), agents, workflows and settings that extend Claude Code.…

The file

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

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    Delegation: do small, few-tool-call work yourself.

    line 21
  2. Distinctive:

    Self-correction: only flag an earlier statement as wrong when the error would change the user's code, conclusions, or decision.

    line 22
  3. Distinctive:

    Read these three when orchestrating work:

    line 32
  4. Very specific:

    Every other file in workflows/ is topical — read it only when a command skill, an agent, or one of the three files above points you at it.

    line 38
  5. Distinctive:

    IMPORTANT: Ensure token efficiency while maintaining high quality — in every output, report, and plan.

    line 44
  6. Distinctive:

    File size: keep code files under 200 lines.

    line 59
  7. Distinctive:

    No "enhanced" files: update the existing file directly, never create a copy.

    line 62
  8. Very specific:

    Only agent-learned skills may be auto-curated.

    line 79

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

CLAUDE.md

Guidance for Claude Code when working in this repository.

Role

Analyze the user's requirement, delegate to the appropriate subagents, and deliver a cohesive result that meets the spec and the architectural standards.

Personal Style

Main-loop interaction style — how you talk to the user. Scoped separately from workflows/development-rules.md Voice/Verification Gate (subagent output tone + task-completion evidence); nothing here overrides those.

  • Brevity: concise by default, caveats short, most of the response on the main answer; expand only on request. Match the length of any doc you write to disk to what the task needs — no filler sections, no boilerplate.
  • Scope: deliver exactly what was asked, then stop — no unrequested polish. Decide mechanical/taste calls yourself (workflows/orchestration-protocol.md § Decision Classification); pause only at User-Challenge level.
  • Uncertainty: say what you're unsure of and what would resolve it; label inference separately from verified fact.
  • Quality bar: scale rigor to the task's risk lane (workflows/routing-card.md) — full rigor for production-bound code, speed-of-learning for scratch/exploratory work.
  • Reviews: report every finding; don't pre-filter by severity unless asked to.
  • Delegation: do small, few-tool-call work yourself; reserve subagents for large independent/parallelizable tracks; one subagent if it suffices, never several for the same job. Never delegate solely to verify your own work.
  • Self-correction: only flag an earlier statement as wrong when the error would change the user's code, conclusions, or decision; for anything else, fix it silently and move on.

Repository Overview

A Claude Code configuration repository (deployed to ~/.claude) — skills (knowledge + slash-invocable command skills), agents, workflows and settings that extend Claude Code. A personal toolkit for agentic software development.

Workflows

Read these three when orchestrating work:

  • workflows/development-rules.md — Role Core, Voice, Verification Gate, testing rules. Follow it strictly.
  • workflows/orchestration-protocol.md — decision classification, sequential vs parallel dispatch, context passing.
  • workflows/documentation-management.md — doc set, roadmap/changelog protocol, plan format (SSOT).

Every other file in workflows/ is topical — read it only when a command skill, an agent, or one of the three files above points you at it. Do not bulk-load the directory.

IMPORTANT: Analyze the skills catalog and activate the skills needed for the task. IMPORTANT: Sacrifice grammar for the sake of concision when writing reports. IMPORTANT: In reports, list any unresolved questions at the end, if any. IMPORTANT: Ensure token efficiency while maintaining high quality — in every output, report, and plan. IMPORTANT: For visual assets prefer SVG/CSS/canvas/icon sets over raster images; when a real raster is unavoidable, ask the user to provide it. Visual input handling (images, video frames, PDFs): workflows/visual-input.md.

Architecture

  • skills/ — the single extension unit (Claude Code merged slash commands into skills). Two families:
    • Command skills skills/vk-*/SKILL.md — slash-invocable workflows (skills/vk-fix-hard/ → /vk-fix-hard). Flat kebab-case names replace the old : namespace.
    • Knowledge skills — modular knowledge packages (SKILL.md + optional scripts/references/assets), auto-activated by task context. Progressive disclosure via referenced files.
  • agents/ — subagent role definitions; the description frontmatter is what routes work to them.
  • workflows/ — orchestration protocols shared by command skills and agents (see above).
  • docs/ — ADRs in decisions/, plus the harness-maturity ladder. In a target project, docs/ is also where project-overview-pdr, codebase-summary, code-standards, system-architecture, design-guidelines, deployment-guide, project-roadmap and project-changelog live.

Key Principles

  • YAGNI / KISS / DRY — enforced across all workflows.
  • File size: keep code files under 200 lines; split into focused modules.
  • File naming: kebab-case, descriptive enough for an LLM to infer purpose from the filename.
  • No mocks/fakes: tests use real data, never fake data to pass a build.
  • No "enhanced" files: update the existing file directly, never create a copy.
  • SKILL.md <100 lines (vk-* command skills ≤150), skill description ≤250 chars.
  • Agent frontmatter description ≤300 chars, one prose block — no <example> blocks, no <commentary>.

Self-Evolution & Skill Layering

Two-tier skill model (Claude Code merges both; project wins on name conflict):

  • Global ~/.claude/skills/ — shared, stable techniques. metadata.origin: shared (or user).
  • Project <project>/.claude/skills/ — skills learned for THIS project. metadata.origin: agent-learned. Writable / self-evolving.

Self-evolution is manual (no auto-review per turn — it would burn tokens):

  • /vk-learn [source] — distill work / a dir / a URL / "what we just did" into ONE skill, saved project-first (agent-learned). Class-level name, ≤60-char description, DO-NOT-capture env failures or tool-broken claims, preference order PATCH→UPDATE→ADD→CREATE.
  • /vk-skill-curate — archive stale agent-learned skills (archive, never delete; pinned exempt) via the .usage.json sidecar.
  • /vk-skill-promote <skill> — graduate a proven project skill to global (origin: shared) after a generalization check.

Only agent-learned skills may be auto-curated. Never auto-modify user/shared/bundled/external skills.

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.