code-rules
Skill1 starsChanged 30 days agoMITView on GitHub
Guidance for evaluating dependencies, standard-library options, flat architecture, data layout, datastore choices and verification before announcing results. Use before adding a dependency or layer. The full upstream RULES.md and any project-specific file limit are separate prerequisites; do not invent a missing ceiling.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- LNSD/lorecrafttheir own version, first seen Oct 27, 2026
- robo311/devflowtheir own version, first seen Oct 20, 2026
- FrankieeW/agent-skillstheir own version, first seen Mar 19, 2026
- claude-office-skills/claude-office-plugintheir own version, first seen Mar 9, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- claude-office-skills/claude-office-plugin★ 9same name
- robo311/devflow★ 1same name
- FrankieeW/agent-skills★ 0same name
- LNSD/lorecraft★ 0same name
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.
In this repository114 other files it gives its agents.
- agent-cacheSkill
- agent-compressionSkill
- agent-intelSkill
- agent-overlapSkill
- agent-stateSkill
- ambient-hudSkill
- app-testSkill
- audit-dagSkill
- auto-distillSkill
- auto-memorySkill
- auto-routerSkill
- benchSkill
- bootstrapSkill
- botte-learnSkill
- botte-nnSkill
- botte-proxySkill
- botte-wrapSkill
- cacheSkill
- call-chainsSkill
- capabilitiesSkill
- cardinalSkill
- checkupSkill
- clarificationSkill
- clusterSkill
- code-complexitySkill
- code-duplicationSkill
- code-fingerprintSkill
- code-stateSkill
- code-wrappersSkill
- comfyuiSkill
- completion-proofSkill
- conductorSkill
- context-budgetSkill
- context-compressorSkill
- context-profilerSkill
- context-slicerSkill
- context-windowsSkill
- control-loopSkill
- cost-estimatorSkill
- dag-optimizerSkill
- dashboardSkill
- decision-ladderSkill
- demoSkill
- diff-languageSkill
- directives-auditSkill
- docgenSkill
- docs-stewardSkill
- dynamic-workflowsSkill
- efficiencySkill
- eventsSkill
- fallow-likeSkill
- fallowSkill
- fast-contextSkill
- fixSkill
- fleetSkill
- hailo-visionSkill
- harness-deltaSkill
- harvestSkill
- hermes-bridgeSkill
- hermes-second-brainSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
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
- Distinctive: line 25
Three taxes: before any dependency: latency, security surface, cold start.
- Distinctive: line 34
Verification before announcement: never announce a result without having observed it yourself (service answers on its port, file exists and …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Rules — token-efficient coding standards
Package scope and prerequisites
This catalog ships instructions, not the executable runtime. Python modules, scripts, local services and optional tools named below must be installed separately from the upstream project. Check their availability before running commands; if they are missing, explain the prerequisite instead of claiming execution or results. The host agent may use model tokens while following these instructions.
Commands, APIs and runtime behavior described below are conditional examples for a compatible upstream installation; they are not evidence of execution in this package.
"The best optimization is subtraction."
Purpose
These are summarized upstream coding principles to consider while writing. Apply the current project's governing instructions and inspect the full compatible upstream resource before imposing any additional project-specific limit.
Key content:
- Three taxes before any dependency: latency, security surface, cold start.
- stdlib first, with the named defaults (http.server, sqlite3 in WAL mode, pathlib, dataclasses with slots, lru_cache).
- Flat architecture: route -> handler -> datastore, no abstraction circles.
- Data-oriented design: column-oriented batching for hot paths.
- Datastore choice by scale (SQLite WAL -> pgvector -> Qdrant -> Milvus).
- Module registration: each module exposes register(db_path) so the core is never edited to add a feature.
- File size limit: inspect the actual governing rule before asserting a ceiling; this summary contains no verified numeric limit.
- Verification before announcement: never announce a result without having observed it yourself (service answers on its port, file exists and was read, process running and responding).
The full RULES.md is a separate upstream workflow resource, not included in this catalog. Obtain the compatible upstream text before relying on omitted tables, commands or limits; if it is unavailable, report that limitation and use only the summary above.
When NOT to use
- You want structural smells found in existing code — use code_complexity, code_duplication, code_state or code_wrappers.
- The upstream
karpathy-guidelinesneighbour is excluded from this catalog pending provenance review; do not assume it is installed.
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.

