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
- Najeebullah3124/awesome-claude-universeword for word, first seen Apr 24, 2026
Other versions1 project uses a version of this.
Word for word · 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
- Distinctive: line 5
Use project Makefile targets (preferred methods):
- Very specific: line 8
Run both checkdoc and compile: make all
- Distinctive: line 16
Follow standard Emacs Lisp naming conventions (kebab-case)
- Very specific: line 17
Use lexical binding (include lexical-binding: t in header)
- Distinctive: line 21
Add a blank line after the first line of docstrings for multi-line descriptions
- Very specific: line 26
Use if-let for conditional execution with potential null values
- Distinctive: line 28
Check for running Claude instance before sending commands
≈ “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.
Files
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
- Byte compile:
- 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
- Byte compile:
Code Style Guidelines
- Prefix all functions/variables with
claude-code-(public) orclaude-code--(private) - Follow standard Emacs Lisp naming conventions (kebab-case)
- Use lexical binding (include
lexical-binding: tin 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-letfor conditional execution with potential null values - Provide clear error messages with
errorfunction - Check for running Claude instance before sending commands
Project Structure
- Single file package with clear module organization
- Licensed under Apache License 2.0
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
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.

