agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/role-activation/SKILL.md

role-activation

Skill5 starsChanged 8 days agoMITView on GitHub

On an app-dev-team project, use at project start (/app-init, /app-onboard, /app-run) to decide which roles this product needs and write docs/02-team-roster.md, and whenever a command is about to spawn or gate on a role that may be off.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Distinctive:

    utility: when the intake describes a single-purpose tool with one core action and no subscription, content library, or AI system.

    line 25
  2. Very specific:

    cli stays unstaffed: No IC on this team can own a CLI implementation ticket, and adding one to make the table look complete is exactly …

    line 141

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Role activation

The roster is not fixed. A three-screen utility does not need a CEO and a CPO, and a backend service does not need an ASO specialist, a store-readiness gate, or a runtime gate hunting for an .xcodeproj. Activation has two axes, and both are decided once, up front, and written down.

  • Tier — flagship | utility. How much process the work deserves (House KB §Tiers).
  • Product type — ios-app | android-app | mobile-app | backend-service | web-app | cli | library. Which specialists exist at all.

A deactivated role is recorded, never silently absent. Everything below exists to serve that one rule: an absent role and a skipped role must stay distinguishable six months later.

Determining the two axes

Greenfield — from docs/01-intake.md, which requirements-intake has already written:

  • Product type ← its ## Product type answer (intake question 3). One answer, verbatim.
  • Tier ← an explicit --utility / --flagship flag if the user passed one; otherwise derive: utility when the intake describes a single-purpose tool with one core action and no subscription, content library, or AI system; flagship otherwise. State the derived tier and its evidence in the Gate 1 brief — it is a scope decision, and Gate 1 is where scope is approved.

Brownfield — from brownfield-onboarding Step 1 detection, never from a README:

DetectedProduct type
*.xcodeproj / *.xcworkspace onlyios-app
settings.gradle* + app/ onlyandroid-app
both of the abovemobile-app
package.json with a web framework, or any public/+index.htmlweb-app
server framework or Dockerfile/Procfile, no UI surfacebackend-service
a binary entry point (bin, cmd/, main.go, [[bin]]) and no UIcli
a package manifest that publishes, with no entry pointlibrary

Tier for brownfield: derive from the app's size and shape (module count, subscription/ads SDKs present), and say which signal decided it. When detection is ambiguous, ask the user one question — do not guess. A wrong product type turns off the wrong specialists.

Why a role exists

The matrix below decides when a role activates. It does not decide whether the role should exist at all — that is a separate, cheaper question, and skipping it is how a role catalogue grows past what any product actually needs. Once a role clears this bar, docs/03-decision-rights.md is where its actual authority — propose, challenge, decide, execute, record evidence — is written down; this table only answers whether the role should exist, not what it may do once it does.

A role is justified only if it needs at least one of:

TagMeaning
authorityindependent decision authority — it decides something no other role can decide for it
contextan independent context that must not inherit another role's framing (an evidence-gatherer that reasoned from the thing it's evidence-gathering for would confirm its own hypothesis)
capabilitya materially different capability or security boundary (a different platform, a different attack surface, a different tool)
dutiesaccountability that must remain separate for governance reasons (the author cannot be the sole reviewer, the actor cannot be the sole auditor)

Everything else is a skill, an operating mode, a checklist, or a gate inside an existing role — not a new agent file. Re-run this table whenever a new role is proposed, and expect it to sometimes say no.

RoleTagWhy
ceoauthorityfinal scope/vision authority no other role holds
cpoauthorityproduct-decision authority distinct from engineering
ctoauthoritytechnical-strategy authority distinct from product
product-managercapabilityday-to-day ticket-clarification capability below CPO's strategic layer, so CPO is not the bottleneck for every clarification
product-researchercontextevidence-gathering that must not inherit the CPO's framing, or it would confirm its own hypothesis rather than test it
tech-leadauthoritytechnical-design authority distinct from CTO's strategic layer
tech-managerauthorityexecution/scheduling authority — planning, standups, escalations; the merged event is recorded in its name by the orchestrator's inline merge gate
ux-architectcapabilityinformation-architecture/flow capability distinct from screen composition
product-designercapabilityvisual/screen-composition capability, deliberately not self-approving its own fidelity
ios-developercapabilitySwift/SwiftUI platform capability
android-developercapabilityKotlin/Compose platform capability
backend-developercapabilityserver/API/infra-as-code capability
web-developercapabilitybrowser-platform capability — the IC that makes product type web-app staffed
monetization-engineercapabilitybilling/ads correctness is a distinct capability and a distinct financial-blast-radius boundary from general implementation
aso-specialistcapabilitystore-listing/keyword capability, distinct from product or engineering
data-analystcapabilityanalytics-schema and consent-gate capability
devops-engineercapabilityrepo plumbing, CI, signing — a distinct operational boundary
product-validatordutiesmust sit outside the cpo/cto/tech-manager chain by construction — it cannot validate a PRD it had a hand in writing
qa-engineerdutiesacceptance verification independent of the implementer
test-automation-engineercapabilityharness/infra-building capability distinct from qa-engineer's exploratory pass
code-reviewerdutiesthe implementer cannot be its own sole reviewer
security-reviewercapabilitya distinct attack-surface/compliance boundary from functional review — "never off, handles user data"
privacy-reviewercapabilitya distinct evidence set from security (data inventory, consent, retention, regional compliance)
reliability-engineercapabilityoffline/retry/recovery is broad enough to need its own pass — "a checklist item inside code review is where it has always been skipped"
red-team-agentcontextadversarial framing does not compose with a reviewer's frame — its own description states this explicitly
verification-engineerdutiescertifies a claim nobody executed — independent of whoever made the claim
release-auditordutiesflagship: an independent read of the gate record before the founder's irreversible upload, by a role that assembled none of it
release-managerauthorityassembles the signed candidate and owns the version, notes and submission checklist — it never uploads; the founder performs the one irreversible action
incident-commanderauthorityindependent coordination authority during a live sev1/sev2 — deliberately not release-manager (may be the cause) or tech-manager (running an unrelated sprint)

The activation matrix

on = active · ? = conditional, on its named trigger · — = off, for the named reason.

Roleios-appandroid-appmobile-appbackend-serviceweb-appclilibraryTrigger for ? / reason for —
staffed?yesyesyesyesyesnoyesno = recognised but unstaffed — activation refuses, see below
ceoononononon—onutility: absorbs the cpo charter (founder pass)
cpoononononon—onutility: off, merged into ceo
ctoononononon—onutility: off, merged into tech-lead
product-managerononononon——utility: off, merged into cpo/ceo · — a library's consumers are engineers; tech-lead fields their questions
product-researcher?????——? flagship and new-product or repositioning work, i.e. docs/01-intake.md names a market or user assumption nobody has tested · — a library's market question is API design
tech-leadononononon—onutility: absorbs the cto charter (one technical pass)
tech-managerononononon—onsomeone must run the board on every staffed product
ux-architectononon—on——— no human-facing surface; API ergonomics belong to tech-lead
product-designerononon—on——— no human-facing surface. utility: ? more than one non-trivial screen, or any custom component
ios-developeron—on———?? the library ships an Apple-platform target · — no Apple target
android-developer—onon———?? the library ships an Android target · — no Android target
backend-developer???on?—?? docs/20-architecture.md names a server, API, or hosted component. Its ai / data / integration variants are named below
web-developer————on—?? the library ships a JS/TS or browser target · — no browser surface
monetization-engineer???—?——? the product sells IAP/subscriptions or serves ads · — no store-billing or ad surface (this role's charter is StoreKit 2 / Play Billing / AdMob)
aso-specialistononon————— no app-store listing exists to prepare
data-analystononon?on——? docs/20-architecture.md names a telemetry/analytics SDK · — a library must not phone home; its consumers own analytics
devops-engineerononononon—onevery staffed product has a branch model, CI, and a release channel
product-validatorononononon—onalways on, every tier — /app-init step 0 always writes docs/00-founder-intent/. Outside the cpo/cto/tech-manager chain by construction; it reports to the founder gate
qa-engineerononononon—onnever tier-gated
test-automation-engineer?????—?? flagship and the device-and-state matrix exceeds what one exploratory pass can cover, or a suite already exists to maintain. Utility: off — qa-engineer covers it
code-reviewerononononon—onnever tier-gated
security-reviewerononononon—onnever off on a staffed type, never tier-gated. Anything handling user data or credentials gets a review; cheapness is not a reason. On utility it also runs the privacy mode — see below
privacy-reviewerononononon—?flagship only — utility folds it into security-reviewer's privacy mode. ? a library that itself collects or transmits data
reliability-engineer?????—?? flagship and the product syncs, works offline, holds user-created data, or performs an operation that costs money
red-team-agent?????—?? flagship and (the product handles money, personal data, or user-to-user content) — or the last release shipped a defect a gate should have caught
verification-engineerononononon—onnever off on a staffed type. It certifies constants and proves guard rules can fail — every product has both
release-auditorononononon—onflagship. utility: off, merged into verification-engineer's ship pass (delta 6)
release-managerononononon—onthe channel differs (store · deploy · package registry), the role does not
incident-commander?????—?? incident-ledger.mjs has an open sev1/sev2 record — never active between incidents; a role that ran all sprint for no reason is the opposite of what a conditional role is for

The — down the cli column is not a judgement about those roles. That product type is unstaffed, so nothing activates on it and no team is assembled at all.

web-app was in the same position until web-developer existed. It is now staffed, and the column is a real activation, not a courtesy: web-developer owns its implementation tickets and ux-architect / product-designer its surface.

cli stays unstaffed. No IC on this team can own a CLI implementation ticket, and adding one to make the table look complete is exactly what the "unstaffed" state exists to prevent. Activation refuses on cli, by design, until a real CLI product is on the table and someone adds the IC.

Variants and staffing

ai-engineer, data-engineer and integration-engineer are not roles — they are backend-developer with a different conventions pack and review dimension, recorded in the roster row. A product type is staffed only if one of ios-developer, android-developer, backend-developer, web-developer is on or ? for it; on an unstaffed type (cli) activation refuses and writes no roster. The variant table, the refusal text and how to add an IC: references/variants-and-staffing.md.

Tier deltas — utility only

Flagship uses the matrix as-is. Utility applies exactly these eight changes and no others:

  1. cpo → off(merged-into: ceo — utility founder pass). ceo runs one pass covering both charters and writes 00-vision.md, 10-prd.md, 11-backlog.md.
  2. cto → off(merged-into: tech-lead — utility technical pass). tech-lead runs one pass and writes 20-architecture.md, 21-engineering-principles.md, and the impl spec. The surviving role in each pair is the one with obligations after planning: tech-lead is on call for the pod all sprint, cto is not.
  3. product-manager → off(merged-into: ceo — the utility founder pass answers ticket questions directly). On a three-screen tool there is no clarification queue to absorb.
  4. product-designer → conditional(more than one non-trivial screen, or any custom component). ux-architect stays on: a flow that is wrong is wrong on every screen, however small.
  5. data-analyst → conditional(docs/20-architecture.md names a telemetry/analytics SDK). A KPI target alone is not a trigger — every vision states one.
  6. release-auditor → off(merged-into: verification-engineer — ship pass). release-manager assembles and the founder uploads, so no studio actor performs an irreversible action; release-candidate verify and orchestrator.mjs ship (/app-ship step 3b) already bind the candidate, and verification-engineer marks any claim whose only witness is release-manager unverified.
  7. privacy-reviewer → off(merged-into: security-reviewer — privacy MODE). One role, two checklists: security-reviewer runs its own list and then agents/privacy-reviewer.md's, and reports both verdict lines. Utility means one reviewer, never one checklist.
  8. test-automation-engineer, reliability-engineer, red-team-agent, product-researcher → off(flagship-only). Their triggers are flagship-gated in the matrix already; this states it in the roster so the reason is on the record rather than inferred from a blank.

Never a tier delta: security-reviewer, verification-engineer, code-reviewer, qa-engineer, product-validator. Utility means less ceremony, not less safety — and on utility the ceo writes the PRD, so product-validator is the only role left that did not write what it checks. Merging it into anything defeats it.

Writing the roster — docs/02-team-roster.md

Written once, by /app-init or /app-onboard, after both axes are fixed; every later command reads it instead of re-deriving activation. Three states only — active, conditional, off — and every role gets a row: a missing role is unaccounted for, not off. A conditional role flips to active the moment its trigger is met — amend the row, keep the reason, note the round. Never delete a row. /app-ship step 2 re-evaluates every row still conditional against the PRD and architecture and amends it to active or off(<reason>) before its fan-out, so no review is silently absent. The exact template: references/variants-and-staffing.md.

N/A is not WAIVED

Three-state gate vocabulary already exists (PASS / FAIL / CANNOT EVALUATE). Activation adds one distinction on top, and the two must never blur:

  • WAIVED: <artifact> — <who> — <reason> — a real, applicable gate that a human decided to proceed without. Requires a name and a reason, recorded in docs/60-releases.md.
  • N/A: <gate> — <role> is off(<reason>) per docs/02-team-roster.md — the gate is structurally inapplicable because the role that owns it is not on this project. No human decided anything; there was nothing to decide.

An inactive role's gate is N/A and is printed, not omitted — in the ship summary, the standup, and the release record. Recording a structural N/A as a waiver invents a decision nobody made; recording a waiver as an N/A hides one somebody did.

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.