gdavidpb

Systemic — Documentation skill for Claude Code

Documentation community

Claude Code skill that audits your lifecycles as systems — finds the states your code can reach but cannot represent, operators with no inverse, and the rules your README declares and your code breaks.

How to install Systemic

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gdavidpb/systemic and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Systemic does

Claude Code skill that audits your lifecycles as systems — finds the states your code can reach but cannot represent, operators with no inverse, and the rules your README declares and your code breaks.

Alternatives in Documentation

  • Create Release — Create a tagged GitHub release with structured release notes 238 ★
  • Token Goat — Token burn reducer and focus keeper for Claude Code, Codex, Copilot, Gemini CLI, and more: surgical read hints 107 ★
  • Gaia Cleanse — Cleanses memory and auto-loaded files (CLAUDE.md, rules) of duplication with the wiki, contradictions with the 26 ★

README

systemic

*[Léelo en español](README.es.md)*

**A Claude Code skill that audits the consistency of software with state — lifecycles, workflows, sagas, anything with a `status` column — the way General Systems Theory audits a system.**

It models your code or design as a system of elements, operators and state machines, checks twelve consistency properties, and writes a Markdown report on your disk. Every finding cites the line it rests on, has survived an attempt to refute it, and is checked by a validator before you read it.

/systemic analyze the order lifecycle in src/orders

It works on code, on design documents, or on both.


The idea

A system is *a set of components that relate to each other with a single objective*. Not just the pieces — the pieces **and their capacity to join**. Two categories:

  • Elements — the concrete: your models, entities, records.
  • Operators — the abstract that relates them: your use cases, endpoints, jobs, handlers.

A system is **consistent** when it is free of contradictions, and the star test is **closure**: every operation on the system's elements must produce an element of the system. The integers are not closed under division — `1/2 = 0.5`, and `0.5` does not exist there. Two legitimate elements, one legitimate operator, and a result the system has no way to represent.

That failure has an exact analogue in software, and `systemic` is built to find it:

STATUS = {"draft", "pending_payment", "paid", "shipped", "delivered", ...}

def refund(order):
    order.status = "refund_pending"   # ← not in STATUS. 1/2 = 0.5.

The order is now outside every operation the system defines. Not terminal, so nothing archives it. Not declared, so nothing reads it. A linter sees a string assignment. `systemic` sees a closure violation and tells you what it does to your orders.

Install

The folder name must match the skill name, so clone it as `systemic`:

git clone https://github.com/gdavidpb/s