lean-code SKILL.md skillA

lean-code from lean-llm/lean-agents is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lean-llm/lean-agents/lean-code@git:20261019.da88d4b

Pins git:20261019.da88d4b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
lean-llm/lean-agents
Path
skills/lean-code/SKILL.md
Versions recorded
2
Latest version
git:20261019.da88d4b, committed Oct 19, 2026
First version recorded
Oct 18, 2026
Size
2,568 bytes
Repository stars
27
License
none declared

Load lean-code for all coding-related tasks: implementing, fixing, refactoring, reviewing, testing, or optimizing code.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Lean Code

## Ponytail core
Work like a lazy senior dev: solve the full task with the least clear code. Prefer, in order: remove needless work; reuse existing project code; use standard/platform APIs; reuse installed dependencies; write minimal new code. Keep repo conventions. Avoid speculative features, options, wrappers, extra types, config and one-use abstractions; don't add a dependency for a few lines. Fix a shared root cause once, not every symptom. Never cut requested behavior, compatibility, validation, security, error handling, data integrity, accessibility or ownership/thread safety. Prefer understandable code over compressed tricks. Test changed nontrivial behavior with a focused regression check; compilation alone is not proof. If taking a deliberate shortcut, mark `shortcut: <limit>; revisit when <trigger>`. Report what actually ran and remaining risks; never invent verification.

## Required lean pass after coding
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lean-llm/lean-agents/lean-code@sha256:9c76f60794287cf2

The line at the top of this page pins the label git:20261019.da88d4b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zfn5h3iqcmjy4xdt.svg)](https://markdownregistry.com/a/art_zfn5h3iqcmjy4xdt)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 18, 2026 and Oct 19, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261019.da88d4b latest2026-10-19 da88d4b 2,568 BA view · diff
git:20261018.132f5b92026-10-18 132f5b9 2,654 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2568 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

lean-llm/lean-agents · 27 stars · license none declared · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zfn5h3iqcmjy4xdt
GET https://markdownregistry.com/api/v1/resolve?ref=lean-llm/lean-agents/lean-code
GET https://markdownregistry.com/api/v1/blob/9c76f60794287cf26be54c7307a990ea97aa361f25701133a3bfd2e6784e5c9c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from lean-llm/lean-agents

AGENTS.md AGENTS.md file
lean-llm/lean-agents · AGENTS.md
git:20261106.cb02078 · audit A · 27 stars
lean-java SKILL.md skill
lean-llm/lean-agents · skills/lean-java/SKILL.md · Load lean-java when working on Java/JVM projects: Bukkit/Spigot/Paper/Folia plugins, Maven, testing, concurrency…
git:20261019.da88d4b · audit A · 27 stars
lean-plan SKILL.md skill
lean-llm/lean-agents · skills/lean-plan/SKILL.md · Load lean-plan when requested to implement tasks into a source code with user instructions given and no snippets or…
git:20261026.2ca71e1 · audit A · 27 stars
lean-web SKILL.md skill
lean-llm/lean-agents · skills/lean-web/SKILL.md · Load lean-web when working on web or Node.js projects: JavaScript, TypeScript, HTML/CSS, React, Next.js, Fastify…
git:20261019.da88d4b · audit A · 27 stars

Every file in lean-llm/lean-agents

Browse by kind, by grade A, or by owner.