agentleFS
stevemolitorstevemolitor/claude-code.el/CLAUDE.md

claude-code.el

CLAUDE.md744 starsChanged 20 months agoApache-2.0View on GitHub

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. Najeebullah3124/awesome-claude-universe★ 2100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Use project Makefile targets (preferred methods):

    line 5
  2. Very specific:

    Run both checkdoc and compile: make all

    line 8
  3. Distinctive:

    Follow standard Emacs Lisp naming conventions (kebab-case)

    line 16
  4. Very specific:

    Use lexical binding (include lexical-binding: t in header)

    line 17
  5. Distinctive:

    Add a blank line after the first line of docstrings for multi-line descriptions

    line 21
  6. Very specific:

    Use if-let for conditional execution with potential null values

    line 26
  7. Distinctive:

    Check for running Claude instance before sending commands

    line 28

≈ “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 Code Development Guide

Build and Test Commands

  • Install package: M-x package-install-file RET /path/to/claude-code.el
  • Use project Makefile targets (preferred methods):
    • Byte compile: make compile
    • Lint with checkdoc: make checkdoc
    • Run both checkdoc and compile: make all
  • Alternative direct commands:
    • Byte compile: emacs -Q --batch -f batch-byte-compile claude-code.el
    • Check package: emacs -Q --batch -l package-lint.el -f package-lint-batch-and-exit claude-code.el
    • Lint with checkdoc: emacs -Q --batch -l checkdoc -f checkdoc-file claude-code.el

Code Style Guidelines

  • Prefix all functions/variables with claude-code- (public) or claude-code-- (private)
  • Follow standard Emacs Lisp naming conventions (kebab-case)
  • Use lexical binding (include lexical-binding: t in header)
  • Organize with section headers: ;;;; Section Name
  • Maintain proper package headers and autoload declarations
  • Docstring for all functions and variables
    • Add a blank line after the first line of docstrings for multi-line descriptions
    • First line should be a complete sentence ending with a period
  • Maintain dependency requirements: Emacs 30.1+, transient 0.4.0+, eat 0.8+

Error Handling

  • Use if-let for conditional execution with potential null values
  • Provide clear error messages with error function
  • Check for running Claude instance before sending commands

Project Structure

  • Single file package with clear module organization
  • Licensed under Apache License 2.0

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.