Lfe Complexity Check
Inspector sub-skill. Analyses changed code for cyclomatic complexity, excessive nesting, oversized functions, and cognitive load indicators. Pure LLM reasoning — no external tooling. Writes .plans/checks/complexity_findings.md. Called by lfe-inspector when enabled in inspector-config.md.
Install
npx skills add StChiotis/Library-First-Engineering --skill lfe-complexity-checkgit clone --depth 1 https://github.com/StChiotis/Library-First-Engineering.git /tmp/Library-First-Engineering
mkdir -p ~/.claude/skills
cp -r /tmp/Library-First-Engineering/.agents/skills/lfe-complexity-check ~/.claude/skills/lfe-complexity-checkPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# LFE Complexity Check — Prompt-Based Complexity Analysis ## Position in Pipeline - **Phase**: 3 (Inspector sub-skill) - **Persona**: Inspector (read-only; no src/ writes) - **Trigger**: Invoked by `/lfe-inspector` Sub-Skill Dispatch when `lfe-complexity-check: true` in `.docs/quality/inspector-config.md` - **Output**: `.plans/checks/complexity_findings.md` — aggregated by Inspector into `critique.md` ## Mission Reason over changed code to identify complexity indicators that reduce maintainability. The goal is not to enforce arbitrary metrics but to surface patterns that will make future AI sessions harder to navigate and extend correctly. ## Hard Rules 0. **Dispatch Context Required (refuse direct invocation)**: This skill is dispatched by `/lfe-inspector` Step 6 — it is not a Brain-typeable skill (per `LLM_AGENT_GUIDE.md` §8.8 Skill Invocation Authority). If invoked without `.plans/builder_done.md` for the current slice, halt immediately and reply: *"`/lfe-complexity-check` is an Inspector sub-skill dispatched by `/lfe-inspector`. It cannot be run standalone. Run `/lfe-inspector` — the dispatcher will invoke this sub-skill if it is enabled in `.docs/quality/inspector-config.md` (or via an `## Inspector Overrides` section in `active_plan.md`)."* Direct invocation produces orphaned findings files and breaks the Inspector's aggregation logic. 1. **Prompt-Only**: Reason over the diff only — no linters or complexity calculators.
Details
- Skill name
lfe-complexity-check- Repository
- StChiotis/Library-First-Engineering
- Path
.agents/skills/lfe-complexity-check/SKILL.md- License
- MIT
- Repo updated
- 14 July 2026
FAQ
What does the Lfe Complexity Check skill do?
Inspector sub-skill. Analyses changed code for cyclomatic complexity, excessive nesting, oversized functions, and cognitive load indicators. Pure LLM reasoning — no external tooling. Writes .plans/checks/complexity_findings.md. Called by lfe-inspector when enabled in inspector-config.md.
How do I install the Lfe Complexity Check skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add StChiotis/Library-First-Engineering --skill lfe-complexity-check. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Lfe Complexity Check popular?
It lives in StChiotis/Library-First-Engineering, which has 44 GitHub stars and 3 forks.
Related skills
Lfe Architect
44StChiotis/Library-First-Engineering
Act as the Architect for an LFE-compliant project. Design solutions and draft high-fidelity plans.
Lfe Archivist
44StChiotis/Library-First-Engineering
Act as the Archivist for an LFE-compliant project. Use when a change is approved and needs documentation sync, changelog updates, or pipeline status cleanup.
Lfe Boot
44StChiotis/Library-First-Engineering
Bootstrap an LFE-compliant session. Reads orientation docs, checks for interrupted sessions, and activates the project persona. Use at the start of any session.
Lfe Dep Audit
44StChiotis/Library-First-Engineering
Inspector sub-skill. Reviews dependency manifest files (package.json, requirements.txt, go.mod, Cargo.toml, pom.xml) changed in the current diff for risky version patterns and stale majors. Emits a human-run audit instruction rather than executing tools. Writes .plans/checks/dep_findings.md. Called by lfe-inspector when enabled in inspector-config.md.
Lfe Grill with Docs
44StChiotis/Library-First-Engineering
Deep alignment interview that challenges intent against the domain model, sharpens terminology, and writes back to CONTEXT.md and ADRs inline. Use at the start of any Major Change in the Architect sub-pipeline.
Humanizer
46zocomputer/skills
Detect and fix AI writing patterns. Use when writing outbound content like emails, proposals, blog posts, client deliverables, or any external-facing writing. Also use when asked to humanize, polish, or de-AI text.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.