leanspec: Skill for Claude Code

.agents/skills/leanspec-development/SKILL.md

leanspec-development is a skill for Claude Code, Codex from codervisor/leanspec. It costs 144 tokens per session (2,657 once invoked), scanned A, original, MIT.

A development guide for LeanSpec, covering its commands, code rules, tests, publishing, continuous integration, documentation, translations, and package layout.

In plain words
What is it for?
Use it when setting up development, changing code, running tests or linting, editing translations, managing changelogs, troubleshooting CI, or publishing LeanSpec packages.
Why use it?
It puts repository-specific procedures in one place, reducing uncertainty about which tools and checks to use. It also explains how the monorepo's packages and release process are organized.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is codervisor/leanspec's own configuration. It tells Claude Code and Codex how to work on leanspec itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything leanspec configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/copy-rust-binaries.mjs --debug.

Reuse

Borrowing it

Nothing to install: this file belongs to codervisor/leanspec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/codervisor/leanspec/main/.agents/skills/leanspec-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/codervisor/leanspec

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for leanspec-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/codervisor/leanspec/leanspec-development/github.svg)](https://agentmods.dev/skills/codervisor/leanspec/leanspec-development)
Your own site
<a href="https://agentmods.dev/skills/codervisor/leanspec/leanspec-development"><img src="https://agentmods.dev/badge/skills/codervisor/leanspec/leanspec-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for leanspec-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/codervisor/leanspec/leanspec-development"><img src="https://agentmods.dev/badge/skills/codervisor/leanspec/leanspec-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.02657
Opus 5.5 $0.00058 $0.01063
Sonnet 5.5 $0.00029 $0.00531
Haiku 4.5 $0.00014 $0.00266

Measured 2mo ago against content hash d7cf85c76604, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

leanspec-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/leanspec-development/SKILL.md · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LeanSpec Development Skill

Unified guide for all LeanSpec development: coding, commands, publishing, CI/CD, and runner research.

Quick Navigation

Goal Reference
Mandatory rules & conventions RULES.md
Changelog format & workflow Changelog (below)
i18n file locations & patterns I18N.md
Monorepo structure & packages STRUCTURE.md
Full release checklist PUBLISHING.md
npm distribution architecture NPM-DISTRIBUTION.md
Dev publishing workflow DEV-PUBLISHING.md
CI workflow details CI-WORKFLOWS.md
gh CLI command reference CI-COMMANDS.md
CI troubleshooting CI-TROUBLESHOOTING.md
Runner ecosystem catalog runners-catalog.md

Core Principles

  1. Use pnpm — Never npm or yarn
  2. DRY — Extract shared logic, avoid duplication
  3. Test What Matters — Business logic and data integrity, not presentation
  4. Leverage Turborepo — Smart caching (19s → 126ms builds)
  5. i18n is MANDATORY — Every user-facing string needs both en AND zh-CN (see I18N.md)
  6. Follow Rust Quality — All code must pass cargo clippy -- -D warnings

Commands

Daily Development

pnpm install              # Install dependencies
pnpm dev                  # Start web UI + Rust HTTP server
pnpm dev:watch            # Same + auto-rebuild Rust on changes
pnpm dev:web              # Start web UI only
pnpm dev:desktop          # Start desktop app
pnpm build                # Build all TS packages
pnpm build:rust           # Build Rust (debug)
pnpm build:rust:release   # Build Rust (release)
pnpm typecheck            # ← NEVER SKIP before marking work complete
pnpm test                 # Run all tests
pnpm test:watch           # Watch mode
pnpm test:coverage        # With coverage
pnpm test:rust            # Rust tests only
pnpm format               # Format all code
pnpm cli                  # Run LeanSpec CLI

Read the full file on GitHub · 285 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 285 lines · 144 tokens per session scan A d7cf85c76604

Subscribe to this mod's changes

leanspec-development is a skill published in the GitHub repository codervisor/leanspec (300 stars, last pushed 5mo ago), licensed MIT. It adds 144 tokens to every session and 2,657 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

leanspec-development compared with skills from other repositories

leanspec-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
leanspec-developmentcodervisor/leanspecSkill3005mo agoMITA144Claude Code, Codex
add-community-extensiongithub/spec-kitSkill148kyesterdayMITA63Claude Code
code-reviewgithub/spec-kitSkill148kyesterdayMITA54Claude Code
github-workflowsopen-gsd/gsd-piSkill1.4kyesterdayMITA37Claude Code, Codex
comet-github-ci-triagerpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
shipping-and-launchloiane/specs-driven-development-spring-angularSkill62yesterdayMITA64Claude Code
aiox-devopsSynkraAI/aiox-coreSkill3.1kyesterdaynoneA51Claude Code