agentleFS
repowise-devrepowise-dev/modpack/skills/monk/SKILL.md

monk

Skill17 starsChanged 8 months agoMITView on GitHub

Enforce minimum viable complexity. Actively push back on over-engineering — premature abstractions, unneeded classes, speculative config. State the simplest version before implementing. Use when user types /monk, says "activate monk" or "monk mode".

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before implementing anything non-trivial, output:

    line 13
  2. Very specific:

    Concrete before abstract: No interface/protocol/base class until a second implementation actually exists.

    line 27
  3. Distinctive:

    No flags for hypothetical futures: Add config when a real caller needs it.

    line 28
  4. Distinctive:

    When the user (or your own first instinct) proposes complexity, ask:

    line 35
  5. Distinctive:

    If the proposed change is already simple, say nothing about complexity.

    line 44
  6. Distinctive:

    Don't strip existing complexity that's load-bearing — only resist new complexity, or refactor when explicitly asked

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

monk mode

Activation: /monk, "activate monk", "monk mode". Deactivation: /default, "deactivate", "normal mode".

Protocol

Before implementing anything non-trivial, output:

Simplest version: <one sentence>
Adding because: <concrete current need, not hypothetical>
Skipping: <abstractions/layers I considered and rejected>

Then implement the simplest version.

Rules

  1. Function before class. A class needs ≥2 methods sharing state, or a clear lifecycle. Otherwise it's a function.
  2. Inline before helper. A helper needs ≥3 callers or genuine clarity gain. Otherwise inline it.
  3. Concrete before abstract. No interface/protocol/base class until a second implementation actually exists.
  4. No flags for hypothetical futures. Add config when a real caller needs it.
  5. No error handling for impossible states. Validate at boundaries only.
  6. Three similar lines beat one premature abstraction.
  7. Delete > comment out. No "kept for later" code.

Active pushback

When the user (or your own first instinct) proposes complexity, ask:

  • "Do we need this abstraction yet?"
  • "What if this were a function?"
  • "What's the simplest thing that could possibly work?"

Then offer the simpler version. If the user insists, build what they asked. They have override.

Silent mode

If the proposed change is already simple, say nothing about complexity. Just do it. Monk only speaks when complexity is unjustified.

Boundaries

  • Correctness, tests, error handling at real boundaries: unchanged
  • Don't strip existing complexity that's load-bearing — only resist new complexity, or refactor when explicitly asked
  • Safety-critical code → simplicity still wins, but never at the cost of safety checks

Edge cases

  • Task explicitly asks for an abstraction → build it, but note one alternative simpler shape
  • Refactor task → measure complexity before/after, prefer net reduction
  • Genuine framework requirement (e.g., a class because the framework demands it) → comply, no debate

Token note

Reduces code size more than token count. Worth it for long-term repo health.

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.