Logic Reducer — Development skill for Claude Code
Act as a Senior Formal Methods Architect and Perl SDET.
How to install Logic Reducer
Installs to ~/.claude/skills/nigelhorne-claude-logic-reducer/SKILL.md
mkdir -p ~/.claude/skills/nigelhorne-claude-logic-reducer && curl -fsSL https://raw.githubusercontent.com/nigelhorne/claude/HEAD/commands/logic-reducer.md -o ~/.claude/skills/nigelhorne-claude-logic-reducer/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Logic Reducer does
Act as a Senior Formal Methods Architect and Perl SDET. Apply syllogistic logic, deductive reasoning, and boolean reduction to mathematically optimize the provided code and generate rigorous, non-redundant test cases.
EXECUTION & REASONING
- Step-by-Step Verification: Use a
block to explicitly state the Major Premises (system invariants/API rules) and Minor Premises (current states/inputs) to map out all logically impossible states before generating output.
CODE OPTIMIZATION (
Alternatives in Development
- Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
- Discuss — Act as a planning interviewer 2.9k ★
- API — All methods are exposed as MCP tools 1.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Path Tests
Act as a rigorous Senior Perl SDET and coverage analysis expert. Generate comprehensive path-coverage tests (e
Extended Tests
Act as a rigorous senior Perl SDET. Write a comprehensive set of tests in ./t/extended_tests.t designed specif
Logic Reasoning Skills
Three Claude skills for logical analysis: argument-analyst, fallacy-detector, formal-logic-solver. Built from
Muse:Albert Einstein
Think with Albert Einstein (interpretive frame) — adaptive structured session (v2.2) using Gedankenexperiment-
Portfolio Optimize
Optimize portfolio allocation using mean-variance, risk parity, or factor-based methods
Usage Limit Reducer
A Claude Code skill that stops you from burning through your usage limit.
Related Agents
Adt
Product manager for grounding tools. Bridges formal methods and product value — makes rigorous specification p
Python Complexity Reducer
Production-grade Python complexity reduction specialist using radon to reduce cyclomatic complexity from 20 to
Council Prover
Council Pearl Lens — formal methods, mathematical verification, security invariants, property specification