Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A constitution generator for autonomous, agent-run projects: an interview-driven meta system prompt (and installable skill) that scaffolds a CEO-orchestrated sub-agent + skill + CLI architecture. Presented by MacroAlpha.io and Leowang.net
Fetched from the repository for this visit.
A constitution + document-system generator for autonomous, agent-run projects.
workflow-design-bible is a reusable meta system prompt (and an installable
agent skill). Point it at a brand-new project idea — a content channel, an ebook
press, an SEO tool-site, a web product, a casual game, anything meant to run
itself — and it interviews you, then scaffolds a complete, opinionated workflow:
CLAUDE.md boot router that stays resident every turn but holds almost
nothing;documentation/ — a fixed set of named single-source
docs (CONSTITUTION.md, WORKFLOW.md, ROLES.md, ARCHITECTURE.md, IDENTITY.md,
SOUL.md, MEMORY.md, NEXT_SESSION.md, …) loaded once per session, not every
turn (and some, like the architecture baseline, only when a task reaches for them);/start-session → work → /finalize-session — so each
session boots from where the last one left off and ends by improving itself, plus a
periodic /slim-docs diet so the document system gets lighter over time, not heavier;It encodes one architecture that has proven itself on real autonomous projects:
The main agent is a CEO, not a worker. It orchestrates; sub-agents do the work; skills document capabilities; a deterministic CLI executes them. Every session ends by reflecting on itself and freezing "decided on the fly" into "frozen into a function."
— distilled into thirteen design philosophies every generated project inherits.
LLM agents are great at doing a task and bad at running a project. Without a durable structure they re-decide the same things every session, bloat their own context, lose track of what's already built, forget who they are, and never improve their own process.
This Bible bakes in the structure. The biggest win in v2 is the reload economics: only the thin router rides in context every turn; the heavy knowledge sits in named docs read once per session. Same knowledge, a fraction of the token cost — and a context window that fills up far more slowly. On top of that: a CEO/sub-agent split, five clean capability layers, a session lifecycle that carries state forward, a built-in self-consistency check, and an identity/soul that compounds. You answer a short interview; you get a project that knows how to run, remember, and improve itself.
CLAUDE.md router + named single-source docs loaded once per session, not every turn./start-session and /finalize-session (soft boot, soft shutdown, two loops) plus the periodic /self-reflection, /self-reflection-cli, and /slim-docs.doctor command keeps STRUCTURE.json's claims equal to filesystem reality, and a general ratchet forbids new violations while old debt is paid down on a schedule. Every doc also carries an OKF-subset provenance header, so a rule the owner personally signed off is never mistaken for one the agent wrote last Tuesday.documentation/ system from birth.IDENTITY.md + SOUL.md; it becomes more itself each cycle.validate, no ship (CEO); and at least one oracle from outside our own loop, because a spec, code, and tests all written by the same agent can only confirm themselves.ARCHITECTURE.md): invariants, who owns which state, CURRENT vs TARGET vs the evidenced GAP between them, and ADRs. Read before designing, written back before "done" — so bad structure fails this task instead of a future one.stage_premature outcome that blocks work belonging to a later rung. A rebuttal precedes every crossing; the chairman decides it; rejections record what evidence would reopen them; and the absence test asks what stalls when the owner is away a week.Full detail lives in SKILL.md.
Option A — read the doc. Open SKILL.md (and the
templates/) and paste it into any capable LLM. Follow the
interview protocol; fill in the templates by hand. No runtime required.
Option B — install the skill. Copy this folder into your agent runtime's skills directory so it triggers automatically when you start a new project. For Claude Code, for example:
# global install (available in every working directory)
git clone https://github.com/preangelleo/workflow-design-bible.git \
~/.claude/skills/workflow-design-bible
# then reload skills in your session
Then just say "start a new autonomous project" (or describe the project) and the
skill runs the interview and generates the constitution + document system. Once
generated, run /start-session in the new project to boot it.
Filenames like
CLAUDE.mdare conventions — substitute whatever your runtime reads as top-level agent instructions (e.g.AGENTS.md). The ideas are runtime-agnostic.
| Path | What it is |
|---|---|
SKILL.md | The meta system prompt: thirteen philosophies + interview protocol + generation rules. The main artifact. |
templates/CLAUDE.md.template | The thin boot-router skeleton. |
templates/documentation/ | One skeleton per named doc (CONSTITUTION, WORKFLOW, ROLES, ARCHITECTURE, IDENTITY, SOUL, MEMORY, NEXT_SESSION, CHANGELOG, INITIALIZATION, STRUCTURE.json) + reference playbooks (skill authoring, campaign maps, architecture baselines, and two optional multi-harness/multi-project protocols). |
templates/skills/ | The five mandatory lifecycle skills (start-session, finalize-session, self-reflection, self-reflection-cli, slim-docs). |
templates/configuration.json.template | The brand single-source-of-truth. |
CHANGELOG.md · VERSION | Version history + current version. |
It runs no business code, writes no application logic, and deploys nothing. It only
does interview → generate the document system + lifecycle skills + registries.
The actual CLI (incl. doctor and the optional memory store), the sub-agent system
prompts, and capability skills are grown later by the project's own CEO + maintainer
agent.
Semantic versioning. The version is mirrored in VERSION, the version: field of
SKILL.md frontmatter, and CHANGELOG.md. To upgrade an installed copy, pull the
repo (or re-clone) and reload your skills. Watch releases for new versions.
v2.0.0 is a structural evolution from v1: v1 put the whole constitution inside
CLAUDE.md; v2 makesCLAUDE.mda thin router and moves the content into a named document system loaded once per session, adds the start/finalize session lifecycle, and gives the agent a growing identity/soul. New projects should generate on v2.Later minor releases refine the org and execution model — external contract partners, per-role invocation modes, the five-layer "LLMs create and decide; code executes" stack, the production self-healing invariant, in-flight hotfix discipline,
doctor's semantic guards + drift ratchet, the tenth philosophy's deterministic QA chain (worker self-checks → CEOvalidate→ship) with internal-first economics, and (v2.5) craft distilled frommattpocock/skills: a skill-authoring discipline and a multi-session campaign map playbook in every generated project, frontier-round facts-vs-decisions interviewing with recommended answers (downshifting to one-question grilling where an answer is vague), loop-before-hypothesis debugging, a domain glossary, task-brief contracts, and an out-of-scope ledger; then (v2.6) a second invocation mode — restructuring an existing project by surveying its own docs and history instead of re-interviewing the owner. v2.7 closes the last ungoverned loop with an eleventh philosophy: the architecture baseline (ARCHITECTURE.md+ its playbook) that the agent reads before designing and writes back before "done", a typed-outcome vocabulary so a fault names the layer that owns it (baseline_incomplete,sync_required,fitness_regression, …), a generalized ratchet, and a mandatory oracle from outside the agent's own loop. v2.10 adds the twelfth: stage gates, distilled from Anthropic's Founder's Playbook (2026) — because an agent that can build anything in an afternoon has lost the one brake that used to stop bad ideas, the cost of building. Each project now declares its stage, the evidence that ends it, and the false positives it refuses; work ahead of the gate isstage_premature; crossing takes a rebuttal and a chairman. Full history →CHANGELOG.md. (This paragraph is rewritten, not appended to, each release.)
Issues and PRs welcome — especially new project archetypes, sharper interview questions, and template improvements. Keep the core principle intact: the router stays thin; detail sinks into the document system as pointers.
MIT © 2026 preangelleo
GitHub checked 40h ago - refresh overdue. Recently viewed repositories target hourly refresh.