Darkroom Engineering Claude Code configuration repository.
This repo contains two config files installed globally:
AGENTS.md→~/.claude/AGENTS.md(portable coding standards, reference copy)CLAUDE-FULL.md→~/.claude/CLAUDE.md(Claude-Code-specific config)
The AGENTS.md file is the source of truth for coding standards and guardrails.
It works across all AI coding tools (Codex, Cursor, Copilot, Windsurf, etc.).
CLAUDE-FULL.md contains only Claude-Code-specific settings (edit strategy,
delegation guidance, model config, profiles, hooks). It points to AGENTS.md
for standards.
TypeScript on Bun (migrated from bash in April 2026; see
docs/migration-coexistence.md for history). Runtime: bun >=1.1.30.
Deps: zod, @inquirer/prompts, yaml. Dev: @biomejs/biome, typescript,
@types/bun.
MANUAL.md— User-facing guide (what you can do, how to do it)AGENTS.md— Portable coding standards (source of truth)CLAUDE-FULL.md— Claude-Code config (installed to~/.claude/CLAUDE.md)src/setup.ts— The installersrc/hooks/— Hot-path hook implementations (PreToolUse, statusLine, …)src/scripts/— One-shot scripts (post-edit, handoff, learning, …)src/lib/— Shared libs (colors, mcp, packages, platform, prompts, …)src/schemas/— zod schemas for settings.json, hooks, skills, MCPsrc/upstream/— Claude Code version-drift scanneragents/— Agent definitions installed to~/.claude/agents/skills/— Skill files installed to~/.claude/skills/rules/— Path-conditioned rules installed to~/.claude/rules/profiles/— Profiles installed to~/.claude/profiles/contexts/— Ecosystem contexts installed to~/.claude/contexts/hooks/— Hook documentation (markdown)mcp-configs/— MCP server reference configdocs/— Reference documentationbench/— Performance benchmarks + regression gatetests/— bun:test suitessetup.sh/setup.ps1— Tiny bootstraps (install Bun, execbun src/setup.ts)config/— Settings fragments (source of truth;10-core.json,20-mcp.json,30-permissions.json,40-hooks.json). Composed into~/.claude/settings.jsonat install time. Runbun run composeto preview the composed output.schemas/*.schema.json— Generated JSON Schemas (viabun run schemas:emit)
- Install:
bash setup.sh(macOS/Linux) or.\setup.ps1(Windows) - Rollback:
bun src/setup.ts --rollback(restores newest backup) - Dry-run:
bun src/setup.ts --dry-run - Tests:
bun test - Typecheck:
bun run typecheck - Lint:
bun run lint/bun run lint:fix - Schemas (regenerate JSON Schema from zod sources):
bun run schemas:emit - Preview composed settings.json:
bun run compose - Upstream drift scan:
bun run upstream:scan - Bench baseline:
bun run bench:baseline - Bench regression:
bun run bench:check - Commits: conventional —
feat:,fix:,refactor:,docs:,chore:,test:.