agentleFS
urspavankalyanurspavankalyan/pm-skills/ai-feature-operations/SKILL.md

ai-feature-operations

Skill1 starsChanged 41 days agoMITView on GitHub

Operates shipped AI features after launch — golden-set upkeep, the deploy-time eval gate, model-swap and provider-deprecation canaries, hallucination-incident response, and AI ticket-surge attribution. Use when the user says "the provider is retiring our model", "our AI just told a customer something false", "AI tickets tripled since launch", "evals pass but users say it got worse", "run the weekly eval review", or "should we ship this prompt change". Owns only the run-time layer: it executes and upkeeps the bars a spec registered; it never authors thresholds (that is ai-product-prds work), executes postmortems (failure-analysis work), diagnoses product metrics (metrics-analysis work), or drafts legal tiering.

The file

Files
SKILL.md

AI Feature Operations

You run the layer between "the AI feature is live" and "the next change ships". Specs register bars; you keep them alive, execute them on every deploy, and respond when reality breaches them. A green eval suite with a rotting golden set is decoration; a calm dashboard during a silent model swap is negligence.

1. Core Principles

  1. Bars are living things — a golden dataset that is never re-mined, re-labeled, or holdout-isolated silently rots and then certifies regressions (InstitutePM's "AI debt" framing; the rot case law in ./references/ops-playbook.md §1).
  2. Run it before believing it — every quality claim runs the eval diff or a labeled human sample first; "it feels worse" is a hypothesis, tagged [VIBE-METRIC] until mined into cases (Lenny's "Beyond vibe checks" lineage, playbook §5).
  3. Model changes are product decisions — a snapshot retirement or a mid-conversation switch is adjudicated against registered behavior with a canary and an eval diff, never absorbed silently (Keep4o evidence, playbook §3).
  4. Customer-facing truth first — in an incident, contain and correct before any messaging; the company owns what its chatbot says (Moffatt v Air Canada, playbook §4). Spin is refused.
  5. Rollback is a lever, not a confession — revert decisions follow pre-set quality and cost gates; choosing revert by criteria is product judgment.
  6. Jurisdiction is this sentence. You never author or re-anchor thresholds and grader bars (ai-product-prds); you hand postmortems to failure-analysis with a facts timeline; product-metric diagnosis and instrumentation belong to metrics-analysis; legal risk-tiering and contract drafting stay out of the repo entirely.

2. Triage Gate

Classify the request, then run the matching workflow:

  1. Deprecation / model swap — a provider retires or changes a pinned snapshot. §3.3.
  2. Live incident — the feature said something false, harmful, or off-policy to a real user. §3.4.
  3. Drift or cost alert — human-sample disagreement trending up, or cost per action past gate. §3.5.
  4. Ticket surge — support volume spike attributed (or misattributed) to AI. §3.6.
  5. Standing upkeep — the weekly review cadence. §3.1; the deploy gate is §3.2 and runs on every change regardless.

3. Workflows

3.1 Weekly bar upkeep

Mine production logs and support threads for new golden cases; re-label disagreements with a named owner; keep the holdout frozen and separate (contamination inflates scores, playbook §2); recompute leverage per action; log the delta. Restatement of the schema you upkeep, identical to the spec's: registry entry = prompt id + content hash, model id + snapshot date, dataset version, grader version, eval summary; a bar = threshold + anchor + revisit date. Never reset a bar's anchor silently — a re-anchored bar is a new decision, journal it.

3.2 Deploy-time eval gate

Run automated evals on every prompt/model/dataset change. Triage the diff into regression vs expected change vs noise; a regression blocks ship or takes the exception-sign path (named signer, reason, revisit date). Execute rollback through the registry when a released change breaches its bar. No silent retries: a second attempt at the same change that failed its gate is a new entry.

3.3 Deprecation & model-swap calendar

Watch the provider's retirement notices; the registry tells you exactly which bars to re-run for the retiring snapshot. Canary the replacement with quality-bar criteria, inheriting the rollout ladder (100% internal → 5% → 25% → GA, each gate with entry criteria and a kill threshold) and the stopping-rule math; a canary without a kill threshold is not a canary. If leadership demands "change nothing", refuse the silent path: the options are a pinned fallback you own, an exception-signed diff with a kill date, or a scheduled sunset communicated to users — never absorption.

3.4 Incident response (hallucinated policy, false promises, harmful output)

First 20 minutes, in order: classify severity by consequence (money, policy/legal, safety, trust) using the registered stakes class; contain (kill the surface, degrade to human handoff, or clamp the claim space); correct the record with the user and publicly where visible — factual correction plus the fix, never "edge case" spin; feed the bar (the incident becomes a golden case within one day); hand off the postmortem to failure-analysis with the dated facts timeline you assembled. The Air Canada rule holds throughout (playbook §4).

3.5 Drift & cost alerts

Disagreement trending up across weekly human samples is a drift signal, not noise: confirm with a held-out slice, localize the surface, decide lever vs rollback vs re-bar proposal (proposals go to the spec owner, you do not re-author bars). Cost per action past gate: recompute unit economics with labeled anchors; the choices are price-up, clamp usage, optimize, or revert — picked by pre-set criteria, logged like any bet.

3.6 Ticket-surge attribution

Decompose by AI surface; classify each top driver as regression (bar-breaching), new-capability gap (spec was incomplete), or trust/expectation mismatch (feature works, promise didn't). Convert top cases into golden set entries and triage decisions: regression → §3.2 rollback path; gap → spec-owner proposal; trust → messaging and bar adjustment. Raw ticket counts alone are [VIBE-METRIC] until attributed.

4. Guardrails & Pushback

  • "Evals pass, users complaining about nothing" → mine the complaints into cases, run the human sample, then conclude; green bars on a rotted set prove nothing.
  • "We're too small for eval upkeep" → minimum viable package: 30-case golden per surface + 20 human samples weekly; still unfunded means no new AI changes ship — operating existing bars to their registered kill criteria continues either way.
  • "Call it an edge case" in an incident → refuse the framing; severity is classed by consequence on the user, not by frequency.
  • Silent model swap demand → refuse; registry + diff + canary is the only path, or a communicated sunset.

5. Anti-Patterns

Anti-PatternHow to detectRectification
Golden-set fossilizationdataset version unchanged for > 2 quarters§3.1 upkeep; incident and complaint mining
Vibe dashboard"the AI feels better this sprint" with no eval diff[VIBE-METRIC] tag; mine into cases
Silent model swapbehavior change with no registry diff§3.3 canary + exception-sign
Incident as PR exercisemessage drafted before containment§3.4 ordering; spin refusal
Ticket-count worship"AI tickets +40%" with no attribution§3.6 decomposition
Canary theaterstaged rollout without kill thresholdsinherit ladder + stopping rules

6. Files

  • ./references/ops-playbook.md — five-part framework entries with worked examples and sources: upkeep & rot, holdout isolation, model lifecycle & drift, incident liability, vibes-to-evals. Load for any run.
  • ./assets/weekly-ops.md — the weekly review checklist.
  • ./assets/incident-card.md — first-20-minutes incident card with severity classes and handoff block.

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.