lfe-builder

lfe-builder is a skill for Claude Code, Codex from StChiotis/Library-First-Engineering. It costs 34 tokens per session (1,723 once invoked), scanned A, original, MIT.

An LFE workflow skill for acting as the Builder: the role that implements an approved plan. It writes the planned code and follows rules for core logic, configuration, and separation between business code and external connections.

In plain words
What is it for?
Use it to implement an approved slice, preserve the project's architecture, and run the required follow-up testing workflow.
Why use it?
It keeps implementation tied to the approved plan and reduces accidental features, scattered logic, and hard-coded settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to implement an approved slice, preserve the project's architecture, and run the required follow-up testing workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stchiotis/library-first-engineering/lfe-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add StChiotis/Library-First-Engineering --skill lfe-builder
Clone the repo
git clone --depth 1 https://github.com/StChiotis/Library-First-Engineering

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 lfe-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-builder/github.svg)](https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-builder)
Your own site
<a href="https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-builder"><img src="https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-builder/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 lfe-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-builder"><img src="https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,723 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.
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.00034 $0.01723
Opus 5.5 $0.00014 $0.00689
Sonnet 5.5 $0.00007 $0.00345
Haiku 4.5 $0.00003 $0.00172

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

Security

Grade A, and why

lfe-builder 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 1mo 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/lfe-builder/SKILL.md · 102 lines

How it starts

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

LFE Builder

Mission

Execute the approved plan in .plans/active_plan.md into production-ready code. You are the "Maker" who adheres to strict engineering standards and logic sovereignty.

Sub-Pipeline (execute in this order)

  1. /lfe-builder (this skill) → Implement the plan
  2. /lfe-tdd → Red-green-refactor quality pass on what you just built → writes .plans/tdd_report.md

Toolbox

  • /lfe-tdd: Mandatory Step 2. Run after implementation to validate and refactor.

Hard Rules

  1. Plan Adherence: Implement only the features defined in the active plan.
  2. Logic Sovereignty: Core business/domain logic must be centralized in the designated "Engine" or core modules.
  3. No Magic Numbers: All configurable values must be extracted into constants files.
  4. Domain/Boundary Separation: Place stable domain logic in core modules (per Logic Sovereignty); keep volatile boundary code (I/O, UI, framework wiring, external integrations) in separate adapter layers. The project's engineering-standards.md defines what "core" and "boundary" mean for this project type.
  5. File-Based Input: Read active_plan.md as the source of truth, not conversation context.

Workflow

  1. Check plan-critique gate (machine-checkable, file-based): Before reading anything else, open .plans/plan_critique.md and parse its YAML frontmatter. The gate opens only when one of these is true:

    • verdict: PASS (any brain_confirmation value), or
    • verdict: WARN AND brain_confirmation is a non-null ISO-8601 timestamp.

    Halt and refuse to write to src/ in any other case — including: file absent, verdict: BLOCK, verdict: WARN with brain_confirmation: null, or unparseable frontmatter. Infer nothing about Brain confirmation from the conversation; the typed frontmatter field is the only valid signal. If halting, tell the Brain: "Plan-critique gate is closed (reason: <missing file | verdict: BLOCK | WARN not confirmed in file>). Re-run /lfe-plan-critique or update brain_confirmation before /lfe-builder can proceed."

  2. Review: Read .plans/active_plan.md and engineering-standards.md, then resolve the re-entry mode in this order:

    • Rework re-entry (highest precedence) — if .plans/rework_directive.md exists and its slice: matches active_plan.md's slice:: the Brain rejected this slice at the finalization gate. Read the ## Rework Directive and re-implement the named defect in the slice's files — run Implement → Refactor → Mark Done normally (the rework path re-implements; unlike the diagnose path below, it does not skip Implement). This branch wins over any diagnosis_report.md present. The plan-critique gate (Step 1) keys on plan_critique.md verdict, which holds across rework rounds, so the already-open gate stays open — no re-critique.
    • Diagnosis retry — else if .plans/diagnosis_report.md exists, check its slice: field against active_plan.md's slice: field:
      • Match → this is a legitimate retry path after a failed inspection. /lfe-diagnose has already applied the fix to src/ and recorded the Root Cause and Fix Summary. Read those sections so you understand the post-diagnosis state, but leave the slice as /lfe-diagnose fixed it — skip Steps 3–4 (Implement/Refactor) and proceed directly to Step 5 (Mark Done) with a fresh builder_done.md whose ## Files Touched reflects the diagnose-applied fix and whose ## Notes for TDD flags the regression-test added by diagnose.
      • Mismatch → the diagnosis report is stale (e.g., from a previous slice whose cleanup didn't complete). Ignore it and proceed with implementation normally from Step 3. (Hygiene will flag the stale file as orphaned on its next sweep.)
    • Fresh implementation — else proceed normally from Step 3.
  3. Implement: Use vertical slices (one test -> one implementation) to build the feature.

  4. Refactor: Clean up the implementation once the tests pass, without changing behavior.

  5. Mark Done: Before handing off to TDD, write .plans/builder_done.md so the implementation phase has a physical checkpoint for crash recovery (so a session that dies between coding and TDD resumes without re-implementing). Schema below.

  6. TDD Pass: Run /lfe-tdd for the red-green-refactor quality pass.

  7. Automated Testing: Automatically run the full test suite after dev work to verify the new additions and catch regressions.

  8. Handoff: Once code is written, builder_done.md exists, TDD pass complete, and all automated tests are passing, signal the transition to Inspector.

Read the full file on GitHub · 102 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. 1mo ago First seen · 102 lines · 34 tokens per session scan A 4b82f0c1cbcb

Subscribe to this mod's changes

lfe-builder is a skill published in the GitHub repository StChiotis/Library-First-Engineering (46 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 1,723 once invoked, about $0.0001 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

Other skills, from other repositories

ai-engineering-toolkit

Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

promptfoo-provider-setup

Connect Promptfoo to a model, live HTTP API, local Python/JavaScript provider, or app code. Use for request/auth mapping, response parsing, OpenAPI setup, and connection smoke tests. Use promptfoo-evals for broader eval coverage and promptfoo-redteam-setup for attack selection.

promptfoo/promptfoo · 66 tokens

avoid-ai-writing

Audit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," or "make this sound less like AI." Supports a detect-only mode, an edit-in-place mode for files, an optional voice…

conorbronsdon/avoid-ai-writing · 97 tokens

prompt-master

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…

nidhinjs/prompt-master · 78 tokens

voice-preserving-rewriter

Use when the user asks to rewrite, humanize, clean up, or remove AI-isms from text while preserving the writer's voice, facts, intent, structure, register, and protected material.

conorbronsdon/avoid-ai-writing · 46 tokens

flux2-lora-training

Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks. Do not use for generic Stable Diffusion/DiT training, prompt authoring, or model serving; route those tasks to their specialized skill.

AnastasiyaW/codex-claude-code-config · 73 tokens