DanNet
CLAUDE.md29 starsChanged 4 months agoMITView on GitHub
In this repository3 other files it gives its agents.
- browser-repl-debugSkill
- clojure-styleSkill
- project-summarySkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 7
Don't go on a longer tangent trying to analyze an unexpected error yourself (unless it is trivial to do so).
- Very specific: line 10
After editing CLJ or CLJC files, reload the affected namespaces using (require '[namespace] :reload) so the changes take effect in the …
- Very specific: line 16
When writing, editing, or reviewing Clojure code, follow the clojure-style skill (it loads on demand).
- Very specific: line 19
If a DB build fails partway, delete the half-built db/tdb2/<db-name> directory (the path is in the build error's :data) before restarting — …
≈ “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
- Clojure is a FUNCTIONAL programming language.
- i.e. I expect you to do to REPL-based development in a FUNCTIONAL style.
- So when testing newly developed code, please just do a few relevant function calls in the REPL.
- i.e. I expect you to do to REPL-based development in a FUNCTIONAL style.
- Be surgical in your edits.
- I generally favour clean and lean git diffs over large refactors of the namespace(s).
- IMPORTANT: if you encounter something UNUSUAL (e.g. weird output or unexpected errors), report back immediately to me!
- Don't go on a longer tangent trying to analyze an unexpected error yourself (unless it is trivial to do so).
- You may start or restart the web service via the REPL (e.g.
(service/restart)) when the task calls for it — e.g. when setting up the environment or when a change genuinely requires a restart.- For routine fixes, still prefer testing in an isolated way using the REPL rather than restarting.
- After editing CLJ or CLJC files, reload the affected namespaces using
(require '[namespace] :reload)so the changes take effect in the running REPL. - For frontend-only bugs (hydration errors, CLJS/CLJ differences, CSS/layout issues), debug in the LIVE BROWSER via the shadow-cljs nREPL rather than guessing from source — follow the
browser-repl-debugskill (it loads on demand). - REPL access: use the
clj-nrepl-evalcommand to evaluate Clojure code via nREPL.- Discover running nREPL servers with
clj-nrepl-eval --discover-ports. - Evaluate with
clj-nrepl-eval -p <port> "<clojure-code>"(JVM nREPL: port 7888 via the:nreplalias; shadow-cljs runs its own auto-discoverable nREPL port). - REPL sessions persist per port: namespaces and state are maintained between evaluations.
- Discover running nREPL servers with
- When writing, editing, or reviewing Clojure code, follow the
clojure-styleskill (it loads on demand). - Database (re)builds:
bootstrap/other/holds manually curated source files that are NOT fetched automatically; the COR files (cor*.tsv,*.cordiff,cor.sem.*.tsv) can be re-downloaded from https://ordregister.dk/files/ if missing.- If a DB build fails partway, delete the half-built
db/tdb2/<db-name>directory (the path is in the build error's:data) before restarting —->dannetonly checks that the directory exists and will otherwise silently reuse the incomplete database ("Skipping build").
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.

