Agent Plugins Marketplace
All plugins

lehre

v1.0.0

Researches a code style, pattern and architecture doctrine, then enforces it at the tool-call layer: a blocking rule denies the write that would violate it, rather than describing the violation afterwards. Works from a blank page (greenfield project initialization, decomposed into units and seams whose build order is itself enforced) as well as over an existing codebase.

Claude Code9 Skills

By Anselm Hahn1 GitHub starsUpdated yesterday

Directory evidence

Runtimes
Claude Code
Parsed components
9 skill or MCP entries
Source updated
Sep 22, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install lehre for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install lehre@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/Anselmoo/werkstoff

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/lehre/.

Plugin files

plugins/lehre/
├── .claude-plugin/plugin.json
├── skills/lehre-brief/SKILL.md
├── skills/lehre-codify/SKILL.md
├── skills/lehre-conform/SKILL.md
├── skills/lehre-decompose/SKILL.md
├── skills/lehre-gauge/SKILL.md
├── skills/lehre-pin/SKILL.md
├── skills/lehre-preflight/SKILL.md
├── skills/lehre-status/SKILL.md
└── skills/lehre-validate/SKILL.md

Included Skills9

lehre-briefskills/lehre-brief/SKILL.md

Use after lehre-gauge to turn a violation set into an ordered remediation plan behind an explicit human approval gate, written to LEHRE_BRIEF.md. Trigger on 'plan the cleanup', 'what order should we fix these in', 'write the remediation brief', or 'lehre brief'. Refuses to run without a gauge result, and refuses to overwrite a brief written by another pipeline.

lehre-codifyskills/lehre-codify/SKILL.md

Use after lehre-preflight (brownfield) or lehre-decompose (greenfield) to research a code style, pattern and architecture doctrine from external authority plus real repository evidence, and write it to .lehre/ruleset.json as machine-checkable rules. Trigger on 'establish our code standards', 'what rules should this project follow', 'codify our architecture', 'research best practice for this stack', or 'lehre codify'. Every rule must cite an authority; a rule nobody can justify is refused. Not for mining the business or domain logic the code already implements — calculations, validations, state transitions — use befund-extract-rules for that. Not for a standalone, human-readable per-domain handbook (code, design, testing, documentation) recording what a project already does, one rule per dimension — use cupertino:cupertino-handbook-draft for that. This skill governs how code is written, not what the code decides.

lehre-conformskills/lehre-conform/SKILL.md

Use to build a greenfield unit, or to apply exactly one approved phase of LEHRE_BRIEF.md, with the doctrine's blocking rules enforced at the tool-call layer throughout. Trigger on 'build the next unit', 'implement phase 1', 'apply the approved fixes', 'make this conform', or 'lehre conform'. Refuses to act on an unapproved brief, and never marks its own work validated.

lehre-decomposeskills/lehre-decompose/SKILL.md

Use on a blank page, after lehre-preflight reports greenfield, to turn a stated project intent into build units, the seams between them, and an enforced build order. Trigger on 'start this project properly', 'initialize this repo', 'break this down into pieces and connect them', 'what should I build first', or 'lehre decompose'. Produces units whose order is denied at the tool-call layer, not a plan anyone can skip.

lehre-gaugeskills/lehre-gauge/SKILL.md

Use to sweep a codebase against the doctrine in .lehre/ruleset.json and report every violation with file:line, after lehre-codify has written rules. Trigger on 'check this code against our standards', 'where do we violate our own architecture', 'audit for antipatterns', 'gauge this repo', or 'lehre gauge'. Changes no source file — reports violations, never fixes them, and records each sweep under .lehre/gauge/.

lehre-pinskills/lehre-pin/SKILL.md

Use once a unit or phase is validated, to make its rules survive without the plugin: emit a CI check that runs the doctrine with no agent in the loop, and write behaviour tests around the code that was changed to conform. Covers CI pinning of the ruleset, durable enforcement once the plugin is uninstalled, and regression tests for conformance edits. Two phases — the durable rule check, then the regression net.

lehre-preflightskills/lehre-preflight/SKILL.md

Use FIRST, before any other lehre skill, to determine whether this repository is a blank page or an existing tree, report what doctrine it already declares, and say plainly what lehre can and cannot enforce here. Trigger on 'set up code standards', 'enforce our architecture', 'start a new project properly', 'lehre preflight', or as the automatic first step of any lehre pipeline. Read-only — never writes a ruleset.

lehre-statusskills/lehre-status/SKILL.md

Use to report where a lehre run currently stands — which units are validated, blocked or ready, how many rules are in force, and what is denied at write time right now. Trigger on 'lehre status', 'where are we', 'what's blocked', 'what can I build next', or when resuming work on a repository that already has a .lehre directory. Read-only.

lehre-validateskills/lehre-validate/SKILL.md

Use after lehre-conform to independently check that a unit satisfies its rules AND actually does what the project intent said it would, then close it so dependent units become buildable. Trigger on 'validate this unit', 'is this actually done', 'check the work before moving on', or 'lehre validate'. The ONLY skill that writes a unit done-marker — nothing else may certify a unit complete.

Plugin manifests1

plugins/lehre/.claude-plugin/plugin.json
{
  "name": "lehre",
  "version": "1.0.0",
  "description": "Researches a code style, pattern and architecture doctrine, then enforces it at the tool-call layer: a blocking rule denies the write that would violate it, rather than describing the violation afterwards. Works from a blank page (greenfield project initialization, decomposed into units and seams whose build order is itself enforced) as well as over an existing codebase.",
  "author": {
    "name": "Anselm Hahn",
    "email": "[email protected]"
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[lehre on Agent Plugins Marketplace](https://pluginsmp.com/plugins/lehre)