MCPcopy Index your code
hub / github.com/darkroomengineering/cc-settings

github.com/darkroomengineering/cc-settings @v11.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v11.4.0 ↗ · + Follow
312 symbols 945 edges 93 files 2 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cc-settings

Claude Code configuration for the Darkroom team — installs agents, skills, hooks, and coding standards into ~/.claude/.


Install

# macOS / Linux
bash <(curl -fsSL https://raw.githubusercontent.com/darkroomengineering/cc-settings/main/setup.sh)

# Windows (PowerShell)
.\setup.ps1

Requires Bun ≥ 1.1.30 — the bootstrap installs it automatically if missing. Re-installs are non-destructive: existing permissions, custom hooks, and local overrides survive.

Restart Claude Code after install.


What gets installed

~/.claude/
├── AGENTS.md           # Portable coding standards (read by all AI tools)
├── CLAUDE.md           # Claude-Code-specific config
├── settings.json       # Composed from config/*.json (permissions, hooks, MCP)
├── agents/             # 10 specialized subagents
├── skills/             # 26 auto-invocable skills
├── profiles/           # Stack contexts: nextjs, react-native, tauri, webgl, maestro
├── rules/              # Path-conditioned rules (load on-demand by file type)
├── contexts/           # Ecosystem contexts
└── src/                # Hook + script implementations (TypeScript)

Repo → install mapping:

Repo dir Installs to
agents/ ~/.claude/agents/
skills/ ~/.claude/skills/
rules/ ~/.claude/rules/
profiles/ ~/.claude/profiles/
config/*.json ~/.claude/settings.json (composed)

Common commands

bash setup.sh                  # Install / update
bun src/setup.ts --rollback    # Restore the previous backup
bun src/setup.ts --dry-run     # Preview what would change
bun run compose                # Preview the composed settings.json
bun run lint:skills            # Validate skill frontmatter + cap (≤40)
bun run audit:hooks            # Classify hooks as trusted/unknown/suspicious
bun run typecheck              # TypeScript check
bun test                       # Run all tests

Docs

Doc What's in it
MANUAL.md Every skill — how to invoke it, what it does
AGENTS.md Coding standards and guardrails (source of truth)
CLAUDE.md Claude-Code config, delegation rules, effort levels
docs/profiles.md Stack-specific profiles (Next.js, RN, Tauri, WebGL)
docs/skill-authoring.md Writing new skills
CHANGELOG.md Release history

Why

Shared config means every engineer on the team runs the same agents, the same guardrails, and the same coding standards — no per-machine drift. AGENTS.md is the open standard for AI coding instructions and is also read by Codex, Cursor, Copilot, and Windsurf, so the rules follow you across tools.


darkroom.engineering · MIT

Extension points exported contracts — how you extend this code

MergeOptions (Interface)
(no doc)
src/lib/settings-merge.ts
State (Interface)
(no doc)
src/hooks/parallelmax-nudge.ts
InstallResult (Interface)
(no doc)
tests/install-e2e.test.ts
HookEntry (Interface)
(no doc)
tests/hook-fail-open.test.ts
MergeAccounting (Interface)
(no doc)
src/lib/settings-merge.ts
Counter (Interface)
(no doc)
src/hooks/parallelmax-judge.ts
HookGroup (Interface)
(no doc)
tests/hook-fail-open.test.ts
StrategyContext (Interface)
(no doc)
src/lib/settings-merge.ts

Core symbols most depended-on inside this repo

block
called by 30
src/hooks/safety-net.ts
mergeSettingsWithMcpPreservation
called by 24
src/lib/settings-merge.ts
pad
called by 24
src/scripts/tldr-stats.ts
hasCommand
called by 23
src/lib/platform.ts
detectStack
called by 23
src/lib/stack.ts
info
called by 21
src/lib/colors.ts
hashHooks
called by 19
src/lib/hooks-fingerprint.ts
lintSkillsDir
called by 18
src/lib/lint-skills.ts

Shape

Function 271
Interface 35
Class 4
Method 2

Languages

TypeScript100%

Modules by API surface

src/setup.ts20 symbols
src/hooks/safety-net.ts19 symbols
src/lib/colors.ts15 symbols
src/lib/settings-merge.ts14 symbols
src/scripts/claude-audit.ts12 symbols
src/lib/mcp.ts11 symbols
src/scripts/project-init.ts10 symbols
src/scripts/checkpoint.ts10 symbols
src/lib/packages.ts10 symbols
src/lib/audit-hooks.ts10 symbols
src/upstream/scan.ts9 symbols
src/lib/status-types.ts9 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add cc-settings \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact