agentleFS
kuhumcstkuhumcst/DanNet/CLAUDE.md

DanNet

CLAUDE.md29 starsChanged 4 months agoMITView on GitHub

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
  1. Distinctive:

    Don't go on a longer tangent trying to analyze an unexpected error yourself (unless it is trivial to do so).

    line 7
  2. Very specific:

    After editing CLJ or CLJC files, reload the affected namespaces using (require '[namespace] :reload) so the changes take effect in the …

    line 10
  3. Very specific:

    When writing, editing, or reviewing Clojure code, follow the clojure-style skill (it loads on demand).

    line 16
  4. Very specific:

    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 — …

    line 19

≈ “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
  • 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.
  • 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-debug skill (it loads on demand).
  • REPL access: use the clj-nrepl-eval command 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 :nrepl alias; shadow-cljs runs its own auto-discoverable nREPL port).
    • REPL sessions persist per port: namespaces and state are maintained between evaluations.
  • When writing, editing, or reviewing Clojure code, follow the clojure-style skill (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 — ->dannet only checks that the directory exists and will otherwise silently reuse the incomplete database ("Skipping build").

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.