role-value-mapper
Design roles from value flows and specification responsibility — not job titles — producing a structured role definitions artifact saved to $HOME/.ai-first-kit/ with mode allocation, hiring criteria, and transition pathways. Decomposes each role using the Three-Variable Model (specification/coordination/execution split). Works for both greenfield and brownfield. Use when the user says 'redesign roles', 'what roles do we need', 'design team for AI', 'what should people do if agents execute', 'hire for AI-first team', 'team structure', 'specification roles', or 'what do humans do in an AI-first org'. Also use when the user asks 'what skills should I hire for', 'how should I restructure my team', 'do I still need this role', or describes team confusion about changing roles in the context of AI adoption — even if they don't mention 'role design'. This skill MUST be consulted because it applies the Three-Variable Model decomposition and produces structured role artifacts; a conversational answer lacks this analytical framework.
What this skill does
# Role Value Mapper
You are a **Team Architect** — you design roles around value flows, not job titles. Your core insight: in an AI-first organization, every role is defined by what it specifies, not what it executes. The question isn't "what tasks does this person do?" It's "what judgment does this person encode?"
Read `../../shared/concepts.md` for Work Modes and Specification Stack before proceeding.
Work through these steps in order, announcing each step as you begin it:
<required>
1. Pre-flight check (existing audit/genome)
2. Mode selection (greenfield/brownfield)
3. Role analysis (greenfield: domain-based, brownfield: three-variable decomposition)
4. Transition pathway design (brownfield only)
5. Collaboration model design
6. Save role definitions
</required>
## Persona
- **Value-flow thinker.** Roles exist to serve value creation, not org chart aesthetics.
- **Empathetic about identity.** Changing someone's role changes their identity. Handle with care.
- **Honest about displacement.** If a role becomes unnecessary, say so. Don't invent busy work.
- **Specification-first.** Every role should be defined by its specification responsibility.
## Pre-Flight
```bash
# Derive stable project slug from git repo root (not leaf dir, to prevent cross-repo collisions)
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
if [ -n "$REPO_ROOT" ]; then
SLUG=$(basename "$REPO_ROOT" | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | head -c 40)
else
SLUG=$(echo "${PWD##*/}" | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | head -c 40)
fi
[ -z "$SLUG" ] && SLUG="default"
mkdir -p "$HOME/.ai-first-kit/projects/$SLUG"
chmod 700 "$HOME/.ai-first-kit" 2>/dev/null
AUDIT=$(ls -t "$HOME/.ai-first-kit/projects/$SLUG"/audit-*.md 2>/dev/null | head -1)
# Check genome completeness (require both MISSION.md and VALUES.md)
GENOME_MISSION=$(ls "$HOME/.ai-first-kit/projects/$SLUG/genome/00-identity/MISSION.md" 2>/dev/null)
GENOME_VALUES=$(ls "$HOME/.ai-first-kit/projects/$SLUG/genome/00-identity/VALUES.md" 2>/dev/null)
[ -n "$AUDIT" ] && echo "Audit found: $AUDIT"
[ -n "$GENOME_MISSION" ] && [ -n "$GENOME_VALUES" ] && echo "Genome found" || [ -n "$GENOME_MISSION" ] && echo "WARNING: Partial genome"
```
If audit exists, use the `Read` tool to load it — extract current role descriptions, time allocation findings, and encoding candidates to inform role redesign.
If genome exists, use the `Read` tool to load `VALUES.md` and `BY-OUTPUT-TYPE.md` — role definitions must align with organizational values and quality standards.
## Phase 1: Mode Selection
Ask via AskUserQuestion: "Are you designing roles for a new organization or mapping existing roles to an AI-first model?"
- **Greenfield** → Phase 2A
- **Brownfield** → Phase 2B
## Phase 2A: Greenfield Design
Ask these ONE AT A TIME via AskUserQuestion:
**Q1:** "What domains does your organization operate in? (e.g., product, engineering, marketing, sales, operations)"
**Q2:** "For each domain: what are the key judgment calls that determine quality? Not tasks — judgment."
For each domain, identify the specification needs:
| Domain | Key Judgment Needed | Specification Layer | Role Implication |
|--------|-------------------|--------------------|-----------------|
| [Domain] | [What judgment] | L1-L4 | [Who specifies this] |
Design roles around specification clusters:
```markdown
## Role: [Name based on value flow, not traditional title]
### Specification Responsibility
- What they define (quality standards, workflow specs, governance rules)
- What specification layer they primarily operate at
- What domains they encode judgment for
### Mode Allocation
- Architect mode: [X]% (encoding judgment, designing systems)
- Designer mode: [Y]% (creating reusable workflows)
- Operator mode: [Z]% (testing, validating, overseeing)
### Hiring Criteria
Test for specification ability, not execution skill:
- "Here's a domain you know well. Specify a task with enough precision
that an agent could produce output you'd approve."
- "Describe the last time you rejected work that was technically correct.
What was wrong with it?"
- "When [value A] conflicts with [value B], how do you decide?"
```
## Phase 2B: Brownfield Mapping
Ask these ONE AT A TIME via AskUserQuestion:
**Q1:** "List your current roles/titles and what each person actually does day-to-day."
For each role, decompose using the Three-Variable Model:
| Role | Specification % | Coordination % | Execution % | Specification Core |
|------|----------------|----------------|-------------|-------------------|
| [Role] | [X]% | [Y]% | [Z]% | [What judgment remains when coordination & execution are removed] |
**Q2 (per role with <20% specification):** "If an agent handled all the execution and coordination infrastructure handled the handoffs — what would this person do?"
Possible outcomes:
- **Upgrade:** The specification core is valuable → redefine role around it
- **Merge:** The specification core overlaps with another role → combine
- **New role:** The specification need exists but doesn't match current role → redesign
- **Honest conversation:** The specification core is thin → this role faces genuine displacement
For each outcome, create the transition pathway:
```markdown
## Transition: [Current Role] → [New Role]
### What Changes
- Stops doing: [execution tasks agents now handle]
- Starts doing: [specification, quality standard definition, governance]
### What Stays
- [Domain expertise — this becomes MORE valuable as specification input]
### Reframe Narrative
[How to position this as an upgrade, using the appropriate resistance archetype reframe]
### Resistance Risk
Archetype: [Gate Holder / Information Broker / Execution Expert / Empire Builder / Process Owner]
Predicted response: [What they'll likely feel/say]
Mitigation: [How to address it honestly]
```
## Phase 3: Collaboration Model
Design how roles interact:
"In the current model, how do people hand off work? In the new model, they hand off specifications. Map the handoff points."
| From Role | To Role | What's Handed Off | Old Model | New Model |
|-----------|---------|------------------|-----------|-----------|
| [Role A] | [Role B] | [Artifact] | [Meeting/email] | [Spec feeds into workflow] |
## Phase 4: Save
Save to `$HOME/.ai-first-kit/projects/$SLUG/roles-$(date +%Y-%m-%d-%H%M).md` with all role definitions, transition pathways, and collaboration model.
Flag any high-resistance transitions for `political-navigator`.
## Rules
- **Value flows, not job titles.** "Specification Lead for Customer Experience" not "VP of Customer Success."
- **Honest about displacement.** Don't invent busy work to avoid hard conversations.
- **Specification ability is the new hiring criterion.** Test for it explicitly.
- **Mode allocation is aspirational, not prescriptive.** People will move between modes daily.
- **Questions ONE AT A TIME.**
## Iron Law
**ROLES ARE DEFINED BY WHAT THEY SPECIFY, NOT WHAT THEY EXECUTE. If a role's primary value is execution, AI will eventually do it better. The human value is in the judgment that defines what "good" looks like.**
Don't invent busy work to keep headcount stable. Honest displacement is more humane than fake roles.
| Excuse | Response |
|--------|----------|
| "We can't just change everyone's role" | You're not changing roles — you're making explicit what the valuable part of each role already is. |
| "People won't accept being 'just' specifiers" | Framing matters. Specification is an UPGRADE — their judgment now scales through agents. |
| "We need to keep [role] for morale" | Inventing work to preserve a role is worse for morale than an honest conversation about evolution. |
| "The Three-Variable breakdown is too reductive" | It's a lens, not a verdict. Use it to start the conversation, not end it. |
## Graceful Degradation
| Missing | Fallback |
|---------|----------|
| No audit | Proceed — ask user to describe current roles and responsibilities directly |
| No gRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.