agentleFS
paulingrampaulingram/claude-skills/CLAUDE.md

claude-skills

CLAUDE.md1 starsChanged 7 months agoMITView on GitHub

Internal plugin slug: architect-team (preserved for backward compatibility with existing installations + the 26 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

1 rule. About 0 are common, 0 are distinctive, and 1 is 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.

  • 1

    Very specific

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

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

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

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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 26 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 (v3.67.0): 56 skills, 39 named agents, 26 slash commands, 7 hook enforcement scripts, 24 Layer-3 verification tools (counts disk-anchored; check_separation 26). Suite 8345 passing + 6 skipped, 0 failed across 263 top-level test files (win32; the win32/darwin skip-profile difference is real — a darwin host without PyYAML reports 16 skips) — RECORDED, not asserted: docs/measurements/ carries the frozen-tree bracket, and a release run cannot end its turn with an unbacked count (the v3.61.0 _audit_release_backing arm). Python is 3.10+ stdlib-only throughout; green under both Windows cp1252 and PYTHONUTF8=1.

The capability stack in one breath: the git-commit-identity discipline (v3.67.0 — a run commits as the PERSON driving it: the front door resolves a per-checkout .architect-team/git-identity.json once, confirming a git-config candidate or asking, never a hardcoded author, never the user's git config rewritten; every commit-authoring command carries it and pretool_skill_gate.py Arm 4 refuses one that lacks or contradicts it), the executed-diagnosis gate + verification planning + the no-self-imposed-limits rule (v3.66.0 — a root cause is a hypothesis until it survives an EXECUTED falsification: the 24th Layer-3 tool verify-diagnosis-falsified + the _audit_diagnosis_falsified Stop arm hold a diagnostic-research SR's run open until the leading hypothesis has run its test and a competitor was refuted; verification-planning makes "where to verify" an enumerate-and-choose decision with a recorded plan, and a cannot-verify-without-deploy verdict without one is a measured gap; ETHOS principle 8 Understand before acting is compiled into all 39 agents — no self-imposed turn count, budget, cycle cap, or time box, the ONLY limits are the ones the user explicitly states), 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; armed per-project by a recursive marker detector, silently on a deterministic trait and after exactly one confirmation on stated intent; Bauplan is its first consumer), 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, 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), the agent-immutable deploy opt-in (v3.44.0), the instruction-surface layer with ETHOS compiled into every agent (v3.42.0), 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: uniform / --split secondary / --split delivery, 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 7 enforcement scripts: 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). 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 (24 Layer-3 verification tools behind the hooks/vao_tools.py facade; v3.66.0 adds diagnosis.py — verify-diagnosis-falsified).
  • 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/ — 56 dirs (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; commands/ — 26 files.
  • hooks/ — wiring + 7 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.

  • v3.67.0 - git-commit-identity (MINOR: a run commits as the PERSON driving it; the tool never decides who). A shipped skill body carried one maintainer's hardcoded author override and the main pipeline fell back to ambient git config. NEW substrate hooks/git_identity.py (resolve → recorded / local-config candidate / global-config candidate / missing; set with refusals; status; args; the git -- wrapper that injects -c user.name= -c user.email= and REFUSES when unrecorded) over a per-checkout, gitignored <main-worktree>/.architect-team/git-identity.json (git config is read only to propose, never written). The six lane commands resolve it at the front door — a candidate is CONFIRMED via AskUserQuestion, a missing identity is ASKED: a domain gate regardless of --proposal-first, once per checkout, never a hardcoded name. Phase 8 / B8 / M7 / D8 / U9 / P9 and merge_branch_to_main_and_prune carry the record; pretool_skill_gate.py Arm 4 refuses a commit-authoring git command in an active run that lacks or contradicts it (CT6_GIT_IDENTITY_GATE_DISABLED; payload-only, marker-scoped). Canonical ## Git commit identity discipline (v3.67.0) + references/git-commit-identity.md; tests/test_git_identity.py (real-git fixtures, the gate matrix, a maintainer-identity sweep over every shipped surface). HONEST BOUNDARY: the arm proves the record exists and is carried, not that the user was asked — source + the visible question are the trail. Counts UNCHANGED (56 / 39 / 26 / 7 / 24). Suite 8275 -> 8345 passing + 6 skipped, 0 failed.
  • v3.66.0 - executed-diagnosis-and-no-limits (MINOR: a cause is a hypothesis until it survives an EXECUTED falsification; "where to verify" is an enumerate-and-choose decision with a recorded plan; no agent rations its own investigation). Two field symptoms — "I need to wait before deploying to prod" offered as the plan while cheaper faithful venues existed, and "I researched it and nobody concluded" / "I was wrong, it was never X" — traced to three structural causes and closed SOLO (the pipeline was the surface under repair). Diagnosis executes: researchers were read-only, the architect could not pick a cause, the review loop capped itself at 3 rounds, B3 emailed the rank-1 guess as the root cause — now every falsification test is RUN (falsification_executed / observed_output / status: survived | refuted | not-executable), ranking is by executed evidence, the architect loop has no cycle cap, and B3 condition 8 labels an unfalsified cause a hypothesis; enforced by the 24th Layer-3 tool verify-diagnosis-falsified (hooks/vao/diagnosis.py, six severities) over the diagnostic-plan-<ts>.json sidecar + the Stop arm _audit_diagnosis_falsified (CT6_DIAGNOSIS_GATE_DISABLED; resolved SRs never retro-gated). Verification plans: NEW skill verification-planning (venue menu, recorded verification_plan, the cheaper-faithful-method-found counterpart, providing the venue is the run's job); verify-target-element-measured gains stuck-without-verification-plan. No self-imposed limits: ETHOS principle 8 Understand before acting compiled into all 39 agents — no self-imposed turn count, budget, cycle cap, or time box, none imposed on a dispatched agent; the ONLY limits are the user's explicit ones; 13 rationing sites inverted, 6 pins inverted with them, tests/test_no_self_imposed_limits.py sweeps the corpus. Conventions gain a ranked Read this first. HONEST BOUNDARY: a structural diagnosis with file:line evidence, no A/B experiment; the gate, the gap and the sweep are enforced, the ranking is prose. Counts: skills 55 → 56, Layer-3 23 → 24, principles 7 → 8. Suite 8205 -> 8275 passing + 6 skipped, 0 failed.
  • v3.65.0 - playwright-suite-intuition-lifecycle (MINOR: the intuition map becomes a guaranteed, growing, debugging-fed asset; the Playwright suite becomes a durable, persona-grouped, dev/prod-split artifact). Three verified gaps drove it: the map existed only when Phase −1D produced it and playwright-user-flows never read it; nothing grew it from user flows or debugging discoveries; no durable suite registry existed. NEW skill intuition-map-lifecycle — three lane-callable verbs: ensure (absent → produce; PRESENCE does not satisfy — a zero-element scaffold reports populate, never none), grow (user-specified flows upsert as user_verdict: confirmed / source: user-flow — the user specifying the flow IS the confirmation, deliberately bypassing bulk-verify; a contradiction with a confirmed entry leaves it byte-identical and emits a question QUOTING both readings; a CALLER-marked ambiguous: true element is never upserted), bug-path-upsert (source: bug-path + regression_refs[], the same shared contradiction guard). Additive schema; stdlib engine scripts/intuition_lifecycle/ (CRLF-preserving byte-fidelity rewrites, casefold + whitespace-collapsed matching per the v3.62.0 lesson). NEW skill playwright-suite-builder + command /architect-team:playwright-suite — the P0–P9 orchestrator (inventory vs the committed <e2e-dir>/suite-manifest.json, existing-test review DISPATCHES test-completeness-verifier + interaction-completeness, gap analysis per playwright-user-flows Phase C with unknown personas escalated, debug-flow registration, persona-grouped Playwright dev/prod projects, test-prod-safety-classifier verdicts); registered EVERYWHERE a run-driving lane must be (_PIPELINE_SKILLS / _PIPELINE_COMMAND_SKILLS + frozen fallback / RUN_DRIVING_SKILLS, all now 7 == ENGAGEMENT_SKILLS) with the P9 --mark-complete landed BEFORE registration (the v3.61.2 wedge, prevented by sequencing); carries the compiled principles block — the 7th pipeline-driving skill. NEW engine scripts/playwright_suite/manifest.py: two-direction disk reconciliation over the published 12-suffix family; prod DEFAULT-DENY (authorization + it- tag + teardown each a non-blank STRING — nine adversary bypass manifests refused through the real CLI); debug-flow origin_ref liveness; the prod smoke suite runs via test-run-monitor as a COMMAND test source (LocalAdapter — the ProductionQAAdapter observes and executes nothing, a spec-level error caught by adversarial review). 8 thin pin-tested hooks: Phase 5 + dev-api-integration-testing enumerate the manifest and run the ENTIRE dev suite; mini-review-sweep gains the full-suite gate while mini stays narrow; ux-test grows + registers; bug-fix upserts + registers; absent manifest ⇒ unchanged, the named migration boundary. 3 teammates, 6 reviewers, 14 adversarial/independent rounds; witness batteries 15/15 + 22/22 + 65/65; per-file counts by --collect-only (lesson L5). Counts: skills 53 → 55, commands 25 → 26 (agents 39 / hooks 7 / Layer-3 23 unchanged). Suite 7829 + 16 (darwin, v3.64.0 bracket) -> 8205 passing + 6 skipped, 0 failed (win32).

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).
  • 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>-<slug>/. 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.