agentleFS
paulingrampaulingram/claude-skills/CLAUDE.md

claude-skills

CLAUDE.md2 starsChanged 7 months agoMITView on GitHub

Internal plugin slug: architect-team (preserved for backward compatibility with existing installations + the 30 slash commands). CLAUDE TEAM SIX is the user-facing display name introduced in v2.2.0. This repo IS the source of the CLAUDE TEAM SIX Claude Code plugin (internal slug architect-team) — a spec-to-production multi-agent coding pipeline. It orchestrates MemPalace wake-up → Phase −2 (Triage) → Phase −1 → 8 against a requirements folder or a plain-language requirement, with sibling pipelines for bug-fix (/architect-team:bug-fix), UX testing (/architect-team:ux-test), mini…

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the selected tests while building (python scripts/test_index/cli.py select --workspace .

    line 60
  2. Very specific:

    Run the test suite via python -m pytest -v from repo root (green under both Windows cp1252 and PYTHONUTF8=1.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE TEAM SIX (CT6)

Internal plugin slug: architect-team (preserved for backward compatibility with existing installations + the 30 slash commands). CLAUDE TEAM SIX is the user-facing display name introduced in v2.2.0.

What this repo is

This repo IS the source of the CLAUDE TEAM SIX Claude Code plugin (internal slug architect-team) — a spec-to-production multi-agent coding pipeline. It orchestrates MemPalace wake-up → Phase −2 (Triage) → Phase −1 → 8 against a requirements folder or a plain-language requirement, with sibling pipelines for bug-fix (/architect-team:bug-fix), UX testing (/architect-team:ux-test), mini (/architect-team:mini), data-engineering (/architect-team:data-eng), and Playwright-suite building (/architect-team:playwright-suite, v3.65.0).

Current shape (v4.1.7): 60 skills, 39 named agents, 30 slash commands, 9 hook enforcement scripts (10 wired events), 26 Layer-3 verification tools (counts disk-anchored; check_separation 26). The suite count for the current release is the CHANGELOG's top entry, RECORDED, not asserted: docs/measurements/ carries the frozen-tree bracket, and a release run cannot end its turn with an unbacked count. Python is 3.10+ stdlib-only throughout; green under both Windows cp1252 and PYTHONUTF8=1.

v4.0.0 (the Claude 5 modernization) changed where the rules live, not what they are. The constitution is skills/common-pipeline-conventions/SKILL.md (ranked rules + stubs); every discipline's full text is a chapter under references/ and references/INDEX.md says what to Read before each phase (the lane skills carry their own references/INDEX.md). Agents preload skills/ct6-agent-core instead of carrying compiled blocks; models follow roles (set_default_model.py --split role); reviewer counts follow team-spawning-and-review-gates/references/review-tiers.md; workflows/ct6-converge.js runs every reviewer-convergence loop; superpowers / cartographer are conditional with references/native-methodology.md as the fallback; CLAUDE_CODE_ENABLE_TODO_TOOLS=1 is written by setup because Claude 5 ships without the task tools the gates read. New in v4.0.0: the deletion guard (hooks/deletion_guard.py), project principles (scripts/principles/, /architect-team:principles), the test index + selector (scripts/test_index/), sample-first data iteration (scripts/data_dictionary/sampling.py), page publishing (scripts/publish/, /architect-team:publish), the project homepage + timing log + decisions ledger (scripts/homepage/, hooks/timings_log.py, hooks/decisions_ledger.py, /architect-team:home), and the instruction-budget measurement (scripts/measure/instruction_budget.py). Tests read the SURFACE an agent receives (tests/helpers/surfaces.py), never the raw file.

The capability stack before v4.0.0, in one breath: the git-commit-identity discipline (v3.67.0 — digest below), the executed-diagnosis gate + verification planning + the no-self-imposed-limits rule (v3.66.0 — digest below; verify-diagnosis-falsified is one of the 26 Layer-3 tools, ETHOS principle 8 reaches every agent through the preloaded ct6-agent-core), the intuition-map lifecycle + the durable Playwright-suite registry (v3.65.0 — intuition-map-lifecycle's ensure/grow/bug-path-upsert verbs make INTERACTION_INTUITION_MAP.md a guaranteed, growing, debugging-fed asset every lane consults, and playwright-suite-builder + /architect-team:playwright-suite build a persona-grouped suite with a committed suite-manifest.json, whole-suite enumeration at full integration, and default-deny dev/prod safety — the 7th pipeline-driving skill), the conditional-dependency tier + project-trait arming (v3.63.0 — CONDITIONAL_PLUGINS beside REQUIRED_PLUGINS and provably disjoint from it, so an optional plugin is reported and remediated but can never gate setup; Bauplan was its first member, superpowers + cartographer joined in v4.0.0 and REQUIRED_PLUGINS is now empty; armed per-project by a recursive marker detector, silently on a deterministic trait and after exactly one confirmation on stated intent), the turn-boundary completion lock (v3.56.0 — a Stop-hook arm in EVERY session whose stopping condition is READ FROM DISK: the harness task list, the transcript-derived ask-ledger, the turn-output rule; only HUMAN kill-switches release it, since v3.61.0 TaskUpdate(status="deleted") no longer does during an ACTIVE run (outside a run it still can — the README states that honest boundary), and since v3.64.0 it knows abandonment — open tasks untouched past the staleness window surface as non-blocking inherited debt, the operator open_work.py retire verb closes a dead list, and the marker heartbeat is scoped to engaged sessions so dead runs can actually age out), the unregistered-run arm + bracketed suite-measurement engine (v3.60.0), the frontend-E2E loop-exit gate (v3.55.0), the data-engineering lane + knowledge server + data-dictionary/annotations/SQL-mining/JSON-LD engines (v3.49.0–v3.54.0), contract-first parallelism (v3.48.0), evidence-integrity enforcement + the declared-gates registry (v3.47.0), the external-LLM gateway with selectable secondary provider + credit-failover-to-login (v3.58.0), the delivery-adversarial Opus model split (v3.43.0; superseded as the shipped state by --split role in v4.0.0, still applied by --split delivery), the agent-immutable deploy opt-in (v3.44.0), the instruction-surface layer with ETHOS compiled into every agent (v3.42.0; since v4.0.0 via the preloaded ct6-agent-core, not a block in the agent body), and the services/ tier (Librarian installable; triage/session-review/seeded-MemPalace designed, REPO-1…4 separation manifest machine-checked).

Where the depth lives (read on demand, not from here):

  • docs/CODEBASE_MAP.md — full architecture, every file's purpose, conventions, gotchas, navigation; its note ledger carries per-release capability detail.
  • docs/CAPABILITY_INDEX.md — the generated one-line catalog of every skill / command / agent (regenerated by scripts/docs_tooling/capability_index.py).
  • CHANGELOG.md + docs/RELEASE_HISTORY.md — the complete per-release narrative (the v3.47.1 append-and-swap convention; the README carries only the current spotlight).
  • docs/ETHOS.md — the eight operating principles compiled into every agent + the 7 pipeline-driving skills.
  • docs/INTEGRATION_MAP.md — service boundaries; docs/INSTRUCTION_COMPLIANCE_RUBRIC.md — the instruction-surface standard this file is held to.

The default dispatch mode is Claude Code's experimental Agent Teams primitive (long-lived named teammates, shared task list, SendMessage, a Lead that owns coordination); requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 and Claude Code ≥ 2.1.32, silently falling back to subagents mode otherwise. --no-teams forces subagents mode.

Stack

Markdown (skills/agents/commands), JSON (plugin/marketplace/hooks metadata), Python 3.10+ stdlib-only. One line per surface — each names its contract; the full per-module detail is in docs/CODEBASE_MAP.md:

  • scripts/setup/ — setup.py (one-call setup), set_default_model.py (the agent-model lever — --split role is the shipped state: 15 fable / 9 opus / 14 sonnet / 1 haiku; uniform / --split secondary / --split delivery remain; the SECONDARY_PROVIDERS registry), install_gateway.py + install_librarian.py + install_mempalace.py (installers; ask-then-apply key prompting, never gate setup), worktree_lifecycle.py / worktree_paths.py (run worktrees + state resolution), agent_resume.py, sync_agent_boilerplate.py + compile_skills.py (the ETHOS/boilerplate compilers), guidance_blocks.py, teams_mode.py.
  • hooks/ — JSON wiring + the 9 enforcement scripts (v4.0.0 adds deletion_guard.py on PreToolUse[Bash] and timings_log.py on SubagentStart/Stop, TaskCreated/Completed, Stop): pipeline-completion-audit.py (Stop — the completion lock, the continuation guard, and the run-level audit arms incl. _audit_frontend_e2e + v3.61.0 _audit_release_backing + v3.66.0 _audit_diagnosis_falsified), pretool_skill_gate.py (PreToolUse[*] — the skill-invocation hard-gate, the sticky-run arm, the v3.61.0 task-deletion arm, and the v3.67.0 commit-identity arm), pretool_unilateral_override_guard.py (Edit/Write/NotebookEdit — ground-truth + settings + deploy-config + docs/measurements/ immutability), review-gate-task.py (evidence schema v7 + the active-run task gate), teammate-idle-check.py, precompact-closeout.py, sessionstart-run-continuity.py (resume directive + model-split self-heal + credit-failover hook path + the v4.1.1 hold-channel harness pin over hold_channel.py). Shared substrates: open_work.py (the completion lock), git_identity.py (the v3.67.0 per-checkout commit identity: resolve / set / status / args / the git -- wrapper), run_continuity.py, locks.py, review_evidence_schema.py, spec_fingerprint.py, frontend_impact.py, deploy_config.py, closeout_check.py, skill_invocation_audit.py, and the hooks/vao/ package (26 Layer-3 verification tools behind the hooks/vao_tools.py facade; v4.0.0 adds principles.py — verify-principles-respected — and required_reads.py — verify-required-reads).
  • scripts/measure/suite_measurement.py — the bracketed suite-measurement engine (v3.60.0): quiescence check, before/after diff hash, durable artifact under docs/measurements/; refuses a release label on a dirty tree / open bracket / contradicted count. scripts/docs_tooling/changelog_check.py --require-measurements is the release gate.
  • scripts/data_dictionary/ (data_dictionary.py, annotations.py, jsonld_export.py) + scripts/sql_mining/ — the data-eng engines (contracts: data-dictionary, data-annotations, warehouse-sql-mining skills).
  • scripts/intuition_lifecycle/ (engine.py, cli.py) + scripts/playwright_suite/ (manifest.py) — the v3.65.0 intuition-map lifecycle + suite-manifest engines (contracts: intuition-map-lifecycle, playwright-suite-builder skills; verify-suite-manifest is the P9 ship check).
  • scripts/compliance/instruction_compliance.py — the instruction-surface lint (contract: docs/INSTRUCTION_COMPLIANCE_RUBRIC.md; zero findings suite-gated). scripts/claude_md/claude_md_efficiency.py — the Claude.md pointer-shape/byte-budget assessor (contract: claude-md-efficiency skill; this file is written to its verdict).
  • scripts/docs_tooling/ (capability_index.py, changelog_check.py), scripts/delivery/delivery_manifest.py, scripts/contract/interface_contract.py, scripts/mcp_design/output_contract.py, scripts/helpdesk/logit.py, scripts/token_compression/caveman.py, scripts/memory/recall_hygiene.py, scripts/claude_design/claude_design_import.py, scripts/phenotypes/phenotypes.py, scripts/notify/notify.py, scripts/evals/ (opt-in, CT6_EVALS=1) — each deterministic, each named by its skill contract in docs/CAPABILITY_INDEX.md.
  • services/ — common/ (Ed25519 handshake, BG runtime, service config), librarian/ (installable), triage/, session_review/, seeded_mempalace/, knowledge_server/, plus separation.py + SEPARATION_MANIFEST.md (REPO-1…4; check_separation() asserts every module is import-clean stdlib+in-repo).

Structure

  • .claude-plugin/ — identity (plugin.json + marketplace.json).
  • skills/ — 60 dirs (each heavy skill now carries references/ chapters + references/INDEX.md; pipeline bodies, discipline skills, phenotype subsystem, data-eng skills, verified-agent-output, closeout, delivery-manifest, contract-first-parallelism, intuition-map-lifecycle, playwright-suite-builder, verification-planning, …).
  • agents/ — 39 files (each preloads ct6-agent-core); commands/ — 30 files; workflows/ — ct6-converge.js.
  • hooks/ — wiring + 9 enforcement scripts + hooks/vao/ + shared substrates (see Stack).
  • services/ — the CT6-6 service tier, written separable (REPO-3); DESIGN + stdlib core + tests, NOT live-deployed; the Librarian install is opt-in and self-managed.
  • tests/ — the pytest self-test suite (fixtures under tests/fixtures/).
  • docs/ — the maps, the rubrics, ETHOS.md, CAPABILITY_INDEX.md, RELEASE_HISTORY.md, measurements/ (recorded suite brackets), proposals/.

Recent releases

The full per-version narrative lives in CHANGELOG.md; only the three most recent releases are digested here.

  • v4.1.7 - deletion-guard-heredoc-programs (PATCH: a heredoc is a program only when an interpreter reads it from stdin). Field report: cat > $MY/tests/x.py <<'EOF' writing a test whose body carried fx["planned"].unlink() asked -- v4.1.6 parsed every heredoc as Python once any segment invoked python. hooks/deletion_guard.py now pairs each heredoc with the command feeding it (heredoc_bodies returns (opener, body)) and reads the body as code only when that command takes its program from stdin (_program_from_stdin): python3 - / bare python3 parse it as Python (hit labelled by its opener, resolved against the tracked base, no longer skipped when another segment hit); bash/sh/zsh/dash/ksh with no script or -s run it through detect_deletions (outer variables not inherited, so $W inside asks); a script path, -c, -m, cat, tee, git commit -F - make it data. A here-string (<<<) is not a heredoc; a bare <</<<-/<<< owns its next token. +30 tests. Counts unchanged. Suite: see the CHANGELOG top entry.
  • v4.1.6 - deletion-guard-python-ast (PATCH: a deletion is a call, not a word). Field report: a heredoc'd Python script that edited shutil.rmtree(root) OUT of a file asked -- the guard's Python path matched the words inside the string being replaced and took every string literal in the script for a target. hooks/deletion_guard.py now parses a Python heredoc or -c body with ast (analyze_python_deletions, heredoc_bodies) and reports a deletion only for an actual call (shutil.rmtree, os.remove|unlink|rmdir|removedirs, send2trash, a from-imported rmtree, Path(...).unlink()|.rmdir()); a literal argument is the target, a non-literal one asks, a mention in a string or comment is silent, unparsable code falls back to the pattern with strings blanked. +10 tests. Counts unchanged. Suite: see the CHANGELOG top entry.
  • v4.1.5 - deletion-guard-branches (PATCH: creating a branch restores nothing, and a variable chain is resolvable). Field report: S=/p; W=$S/lanes/x; git -C $W checkout -b followup <sha> asked as unparsable -- relative path -- the start-point sha was read as a path and the chained W never resolved. hooks/deletion_guard.py now treats git checkout -b|-B|--orphan|--detach as branch creation (no restore; the shared-state arm still asks before a branch SWITCH, with that reason) and expands assignment values through already-known names before storing them. +8 tests against a real repo. Counts unchanged. Suite: see the CHANGELOG top entry.

Conventions at a glance

  • Commit as this checkout's RECORDED identity, never ambient git config (the machine's git config carries a typo'd user.name, which is exactly the case the v3.67.0 discipline exists for): python hooks/git_identity.py git -- commit ... (the wrapper injects -c user.name= -c user.email= from .architect-team/git-identity.json), or the explicit pair from python hooks/git_identity.py status --json. The record is created once per checkout — a CT6 run asks at the front door; by hand it is python hooks/git_identity.py set --name "<name>" --email "<email>" --source user-stated. No shipped surface names a committer (tests/test_git_identity.py sweeps for it).
  • Read before you act (v4.0.0): the constitution's ## Read this first is the only always-loaded rule text; before each phase open the relevant references/INDEX.md and Read the chapters it lists. Tests pin the SURFACE (tests/helpers/surfaces.py), so moving text into a chapter never breaks a pin; a dead pointer does (scripts/compliance/instruction_compliance.py).
  • Run the selected tests while building (python scripts/test_index/cli.py select --workspace . --phase 3 --baseline <sha>); the whole suite runs once before a merge.
  • Run the test suite via python -m pytest -v from repo root (green under both Windows cp1252 and PYTHONUTF8=1; the expected pass/skip count for the current release is in the CHANGELOG entry).
  • Bump version: update .claude-plugin/plugin.json + .claude-plugin/marketplace.json + CHANGELOG.md.
  • Release order is a constraint, not a preference (v3.60.0; sharpened v3.61.0). Reconcile version + CHANGELOG first, archive the OpenSpec change second (the git mv changes the tree, so archiving after measuring stales the artifact — measured, v3.61.0), commit until the tree is clean, then python scripts/measure/suite_measurement.py --label v<version> as the LAST act, then commit the artifact (committing it is invisible to the digest by design). Measuring earlier records a provisional artifact that backs nothing. Close with python scripts/docs_tooling/changelog_check.py --require-measurements — exit 0 or the release is not backed. This repo has no CI and no pre-commit hook, so that command is the ONLY place the existence arm bites; it is checklist-strength, not gate-strength, and it is on the releaser to run it.
  • Runtime state lives under .architect-team/ (gitignored). v1.1.0 splits it into shared (in main worktree: locks/, run-history/) and per-run (in current worktree: reviews/, teammates/, handoffs/, this-run's openspec/changes/<slug>/); the MemPalace itself lives at the workspace root .mempalace/palace, NOT under .architect-team/. The scripts/setup/worktree_paths.py helper resolves both via shared_state_dir() / run_state_dir(). v1.2.0 auto-creates the run worktree (default; --no-worktree opts out) via scripts/setup/worktree_lifecycle.py::create_run_worktree(slug) — branch architect-team/<slug>, path <parent-of-repo>/.<repo-name>-worktrees/<slug>/ (the v3.6.0 hidden container layout; the old flat <repo-name>-<slug>/ is still swept). v1.3.0 auto-cleans merged worktrees on the next run via cleanup_merged_worktrees() (with exclude_current=True keeping the cwd safe); the /architect-team:cleanup-worktrees command is the on-demand variant. v3.7.0 auto-merges a clean run's branch --no-ff into main and prunes it (--no-auto-merge opts out; a conflict falls back to a PR, never --force).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.