agentleFS
BrendenKennedyBrendenKennedy/claude-for-ai-platforms/.claude/skills/process/SKILL.md

process

Skill1 starsChanged 3 months agoMITView on GitHub

The project operating system — phases with exit gates per `PROCESS.md` (repo root): P1 problem → P2 data discovery (+labeling) → P3 architecture → P4 features → P5 modeling/eval → P6 delivery/retro → P7 monitoring. Carries the operating loop: live state in `.claude/memory/process/` (project-definition, phase-state, risk register, scope ledger, decision log), enforcement via `/gate` (no forward phase transition without a passed review), and the phase→skill map. Load when kicking off a project or phase, before starting to model, when scope or risk comes up, or when closing toward delivery. Triggers: what phase are we in, gate, gate review, gate debt, kick off, new project, problem statement, kill criteria, ready to model, start modeling, scope, scope creep, parking lot, risk, risk register, compute budget, experiment budget, retro, ship it, milestone, project plan, PROCESS.md, CRISP-DM.

  • Reads credentials

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    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:

    Session start: read phase-state.md — the current phase frames what work is in-bounds.

    line 37
  2. Distinctive:

    When an experiment is proposed → it gets a written question + time/compute budget first (§3.6).

    line 42
  3. Very specific:

    Phase boundary: run /gate. Evidence, not assent.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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
SKILL.md

process — the phase-gate operating loop

On-demand: load this when starting/advancing/closing a phase, or when scope, risk, or "where are we" comes up. The canon is PROCESS.md at the repo root — phases, gates, templates, and rationale live THERE (single source of truth; it wins on any conflict). This skill is the map of how that document runs in this repo: where state lives, what enforces it, and who does what. Never restate gate checklists here — read them from PROCESS.md.

The pieces

PieceWhereRole
CanonPROCESS.md (repo root)phases P1–P7, exit gates, templates T1–T8, principles — the process itself
Project definition.claude/memory/process/project-definition.mdarchetype + lane fit, T1, challenged decisions, setup implications — written by /intake step 0; most of P1's gate evidence
Phase state.claude/memory/process/phase-state.mdcurrent phase, gate history, gate debt — written by /gate only
Risk register.claude/memory/process/risk-register.mdlive risks (T4); reviewed at every gate; new risks logged the moment they're found
Scope ledger.claude/memory/process/scope-ledger.mdthe v1 contract; the parking lot is .claude/memory/roadmap.md (one backlog, not two)
Decision log.claude/memory/process/decision-log.mdappend-only process-level decisions (scope, metric, kill/pivot, gate judgment calls) — via the governance protocol
Resource matrix.claude/memory/process/resources.mdevery service/store/endpoint the stack touches — env keys + credential references; kept in sync with .env.example; written by the infra lanes
Enforcement/gate commandwalks the current gate demanding evidence; records PASS or gate debt; refuses to advance otherwise

The operating loop

  1. Session start: read phase-state.md — the current phase frames what work is in-bounds. Gate debt listed there is visible work, not history.
  2. During a phase: work normally; the phase's domain skills carry the how (map below). When a risk appears → log it in the risk register now. When scope is proposed → parking lot (roadmap.md) by default; promotion needs the written gate (§3.3) and a decision-log line. When an experiment is proposed → it gets a written question + time/compute budget first (§3.6).
  3. Phase boundary: run /gate. Evidence, not assent. BLOCKED verdicts leave gate debt — keep working the phase, don't slide forward.
  4. Session end: /wrapup records the current phase + open gate debt in the session note.
  5. After shipping (P6): the retro edits PROCESS.md itself and bumps its version — the process is a versioned artifact (Part V).

Projects gate; ad-hoc asks don't

The loop above governs the project thread. A one-off analytical ask — "plot this CSV", "is there a correlation here", "summarize this table" — is served directly: eda/visualization/ statistics still apply (they're about honesty, not ceremony), but no phase check, no gate, no records beyond the conversation. The boundary: the moment ad-hoc work starts informing the project's modeling decisions or produces artifacts the project will reuse, it enters the process (findings recorded, splits respected). Unsure which mode the user is in? Ask — never bureaucratize a quick question.

Phase → skill map (who carries the "how" of each phase)

PhaseLean on
P1 Problem definition/intake step 0 runs this interview → project-definition.md (most of the P1 gate evidence); evaluation for metric choice; governance for the decision log
P2 Data discoveryeda (the first-look audit), data-acquisition (APIs/scraping ingest), datasets (provenance, formats), annotation (when producing labels), data-dvc, governance → data-governance (licensing/PII)
P3 Data architecturedatasets (layout, manifest), data-dvc (versioning), env-uv (pinned env); the shape comes from /bootstrap, not P3's generic diagram
P4 Features / input representationdatasets (preprocessing vs augmentation, stats-on-train-only), sql (leakage-safe feature queries) + wrangling (dataframe work) when in those lanes, config-hydra (choices flow through config)
P5 Modeling & evaluationtraining, evaluation, statistics (is the difference real), the tracker (the experiment log is the tracker), pipelines for cascades, testing before claiming anything works
P6 Delivery & retroreporting + /report (the deliverable, evidence-cited), visualization (its figures), serving (if it ships as a scorer/endpoint), testing (clean rerun), memory (/wrapup), retro edits PROCESS.md
P7 Monitoringmonitoring (flip it on in skillOverrides at first deploy — drift, reference windows, retrain triggers), evaluation, the tracker + registry

Who runs this — deliberately NO project-manager agent

Same design call as governance's "no governance-manager agent": process is applied where the work happens, by the main session, because gates need the user in the loop (evidence, sign-off, kill/pivot calls) and subagents can't interview the user. The main session wears the project-lead hat; /gate is the moment it does so deliberately (PROCESS.md §3.7's hat-switching, made mechanical). Specialist agents (data-engineer, ml-engineer, …) do phase work and flag gate-relevant findings back up; they never advance phases.

Gotchas

  • The phase-state file is written by /gate only. Editing it by hand to advance a phase is the deliberate human override — never do it on the user's behalf; surface the blocked gate instead.
  • Iteration backward is free; skipping forward is not. P5 results sending you back to P2/P4 is the process working. Starting P5 work while P4's gate is open is the process failing.
  • Don't duplicate the artifacts. Experiment log = MLflow; parking lot = roadmap.md; feature hypotheses = the feature dictionary. One home each — a second copy is how one goes stale.

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.