logic-driven-development
- Use it when:
- An agent writes your code and you want to follow its business logic without reading the code.
- It does:
- Writes and updates a LOGIC.md beside each source file and directory that holds business logic: what the code does, why, and which user stories it serves.
- You get:
- A some-file.LOGIC.md next to each file and a LOGIC.md in each directory, from the whole product's story down to each part.
- Reviewing:
- You read a change's LOGIC.md diff instead of its code.
- Runs:
- By itself whenever the agent writes or updates a LOGIC.md, as after changing code; ask it to install LDD to generate them all.
Setting it up writes a LOGIC.md for every source file and directory of the codebase, in one go.
TL;DR
Logic-driven development, LDD for short, keeps a plain-language description of the business logic, what the code does for the product, next to the code. Every source file gets a some-file.LOGIC.md and every directory a LOGIC.md. Each is written for a technical product manager who knows the project and programming but never reads the code: a short description, then each piece of business logic with its context, such as the user stories it serves and why it exists. A glossary explains any coined term, and each concept keeps one name across all the files. Code that isn't business logic, such as examples, gets none, and tests only get a list of what they cover. The root LOGIC.md tells the whole product's story, and deeper ones tell each subsystem's. After a change, the agent updates every LOGIC.md it affects, not only those beside the changed code. Asking it to install LDD generates them for the entire codebase at once; asking it to reset LDD deletes them all and writes them again from scratch.
Summarizes the skill at 5f3a481.
npx skills add https://github.com/brillout/skills --skill logic-driven-development skills.sh pageSource on GitHubAll skills from brillout/skills
- Total Downloads
- 2 on skills.sh, Nov 9, 2026
- First seen
- Sep 9, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 0 |
| Sep 28 | 0 |
| Oct 5 | 1 |
| Oct 12 | 0 |
| Oct 19 | 0 |
| Oct 26 | 0 |
| Nov 2 | 0 |
| Nov 9 | 0 |
| Category |
Test-first work, implementation from specs, git hygiene and scope control. Articles, docs, internal comms, research write-ups and prose that doesn't read as generated. Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills. |
|---|---|
| Type |
A multi-step process the agent follows: interview, debug, run a TDD loop, review. |
| Effect |
Its own steps create or change files, git state or local tools. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
Everyone else. Unverified vendor claims default to community. |
| Topics |
SKILL.md
From brillout/skills at 5f3a481. Checked daily, last changed Nov 9, 2026.
Frontmatter
name: logic-driven-development
description: "Before modifying/creating LOGIC.md files, you must always read this skill."
user-invocable: falseLogic-Driven Development
For each file and directory containing software source code, a LOGIC.md file describes what the code does.
some-file.ext=>some-file.LOGIC.mdsome-dir/=>some-dir/LOGIC.md
Goal
AI writes the code; the engineer stays in control of the business logic. LOGIC.md files are where that control happens: reviewing a change means reading LOGIC.md diff, and understanding any part of the system means reading LOGIC.md — never the code.
A LOGIC.md is the answer to "how does this work?" — the business logic, nothing else.
Write for exactly one reader: the technical product manager — knows the project and its user stories, proficient in programming and software engineering, never reads the code.
- Assume zero knowledge about the code. Technical writing is fine; presupposing what the code looks is not.
Content:
- 100% coverage of high-level business logic from a bird's view
- Only explains what the code does — the only additional context is in the
Contextsections - Skip source code that don't represent business logic, e.g.
examples/- Except tests: create a
LOGIC.mdonly describing what the tests cover (don't explain how the test file work)
- Except tests: create a
Clear writing:
- Zero ambiguity: the reader must never second-guess what a sentence means
- Minimal prior reading: each sentence understandable on its own
- Established concepts => use their established name, whatever the domain
- No new jargon. Coin a term only when the concept has no established name, and explain every coinage in
## Glossary. - One concept => one name, used verbatim across all
LOGIC.mdfiles. Never rotate synonyms: the reader assumes different words mean different things.
File content
Short description of the business logic this file/directory implements.
## Context [optional]
Context that two or more business logic below relate to.
## Glossary [optional]
[1] some jargon: explanation
[2] some other jargon: explanation
## Business logic — TL;DR [required if `## Business logic` exists]
- **Some business logic** - short description
- **Some other business logic** - short description
## Business logic [optional]
### Some business logic
#### Context [required]
Context the business logic relates to (can be a reference to `## Context`)
#### Business logic [required]
The business logic that the code implements.
### Some other business logic
...
Note:
- The
[required]/[optional]are labels to denote whether you can omit a section- For example, for a small file, just a single-line description might be enough
- Every time you use jargon, refer to
## Glossary:some jargon [x] - The
Contextsections:- Two goals — make it clear to the technical product manager:
- How the business logic fits into the global context
- Why the business logic exists
- Consider using these subsections:
User story- List of user stories the business logic relates to
- The "user" refers to the end user — connect the business logic to what happens from the end user's perspective, which is the perspective the technical product manager is most familiar with
- Since the reader is familiar with user stories, this is a great opportunity to bring the reader into the context
Business logic story- List of business logic stories the business logic relates to
Problem- List of problems the business logic relates to
- Two goals — make it clear to the technical product manager:
Hierarchy
The file structure often represents levels of abstraction => mirror it:
- Root
LOGIC.md:- The highest-level answer to "what does this software do?" — the high-level product's story
- How the top-level subsystems relate
- Deeper
LOGIC.mdfiles => each subsystem's story
After a change
Always consider whether other LOGIC.md files must be updated as well, not only the ones next to the changed code. For example, when a change renames or removes something, search every LOGIC.md for its name and update each one that mentions it.
Install
When the user asks to install or set up LDD: generate a LOGIC.md for each file and directory containing software source code — the entire code base, in one go.
Reset
When the user asks to reset LDD, remove all LOGIC.md files and recreate them as described in Install. Don't read the previous files; resetting starts with a brand-new suite of LOGIC.md files.