team-topology-design
Team topology via Team Topologies (stream-aligned / platform / enabling / complicated-subsystem) + interaction modes (collaboration / X-as-a-service / facilitating). Cognitive load, team boundaries, team API, reverse-Conway.
What this skill does
# Team Topology Design
You design team structure using Team Topologies — four team types and three interaction modes — to reduce cognitive load, align teams with flow of change, and limit handoffs.
## Core rules
- **Four team types only** — stream-aligned / platform / enabling / complicated-subsystem
- **Three interaction modes only** — collaboration / X-as-a-Service / facilitating
- **Cognitive load matters** — a team that can't hold its domain in its head will fail
- **Conway's law is real** — architecture mirrors team boundaries; plan for it
- **Reverse-Conway** when needed — change team structure to get desired architecture
- **Team-first thinking over resource-optimization** — long-lived teams beat project gangs
- **No fabricated teams** — work from supplied org + domain context
## Input handling
| Dimension | Required | Default |
|---|---|---|
| **Organization** (size, product) | Yes | — |
| **Domains / products / services** | Yes | — |
| **Current teams** (if any) | Yes | — |
| **Current pain** (bottlenecks, cognitive load, handoff friction) | No | Asked |
| **Constraints** (budget, hiring, geography) | No | Asked |
## Phase 1 — Setup
```
**Organization**: [size + product + delivery model]
**Domains**: [DDD contexts or product areas]
**Current teams**: [list with roles, responsibilities, sizes]
**Pain points**: [e.g. too many dependencies, release coordination burden, knowledge silos]
**Constraints**: [budget / hiring / geography / regulatory]
```
Ask render mode per `diagram-rendering` mixin and output path (default: `/documentation/[case]/team-topology-design/`).
## Phase 2 — Four team types
| Type | Purpose | Size (Dunbar-informed) |
|---|---|---|
| **Stream-aligned** | deliver end-to-end value for a product area / domain / customer journey | 5–9 engineers typical |
| **Platform** | provide self-service capabilities (internal developer platform / shared infra) to other teams | 5–9, often split into sub-teams |
| **Enabling** | help stream-aligned teams acquire missing capability (testing, security, SRE practices) for a time | 3–6, time-boxed engagements |
| **Complicated-subsystem** | own a subsystem requiring deep specialist knowledge (compiler, ML pipeline) so stream-aligned teams don't bear that cognitive load | 3–6 specialists |
**Default**: stream-aligned + platform. Add enabling when a capability gap exists. Add complicated-subsystem only when deep specialist work is genuinely carved out.
## Phase 3 — Three interaction modes
| Mode | When |
|---|---|
| **Collaboration** | short, intense, discovery-heavy; friction high — use sparingly |
| **X-as-a-Service** | consumer + provider with a contract; low friction; default for platform |
| **Facilitating** | enabling team helps another team learn + adopt a practice; temporary |
Teams move between modes over time — a stream + platform pair might collaborate at first, then move to X-as-a-Service once the platform is ready.
## Phase 4 — Cognitive load assessment
For each stream-aligned team:
| Type | Example |
|---|---|
| **Intrinsic** | unavoidable complexity of the domain (regulations, math, real-time) |
| **Extraneous** | accidental complexity (tooling, environments, deploy pipeline) |
| **Germane** | complexity being learned to build skill |
If extraneous load is high → extract to platform / complicated-subsystem / enabling.
Signals a team is over-loaded:
- Frequent firefighting
- Release coordination eats days
- Knowledge concentrated in 1–2 heads
- Can't explain the full system in one whiteboard session
- New joiners take > 3 months to contribute confidently
Decompose the team's ownership or extract supporting capability.
## Phase 5 — Team boundaries + domain alignment
- Align team ownership with **bounded contexts** (DDD) where possible (hand off to `ddd-strategic-modeling` if needed)
- Team boundaries match **change boundaries** — what changes together belongs together
- Avoid feature teams that span multiple contexts without a clear product line
- Avoid functional teams that split a single context across many teams (UI team / API team / DB team)
## Phase 6 — Team API
Every team publishes a Team API — how others work with them:
```
**Team**: Checkout
**Purpose**: Own the checkout experience end-to-end
**Services owned**: checkout-api, checkout-web, pricing-service
**APIs owned**: REST /orders/*, event orders.*
**On-call**: 24/7 for P0 flows; business-hours otherwise
**Contact**: #checkout Slack, checkout@ mail alias
**Office hours**: Tue 14:00 CET for integrations
**SLO**: 99.9% for checkout endpoints
**How to request work**: intake form + triage Mondays
**Interaction mode with others**:
- Platform: X-as-a-Service via IDP
- Payments: collaboration (weekly sync) during migration
- Fulfilment: X-as-a-Service via events
```
Keep it short + updated.
## Phase 7 — Reverse-Conway
If desired architecture can't emerge within current team structure:
1. Identify desired architecture (e.g., bounded contexts)
2. Identify team boundaries that would produce it
3. Restructure (splits / merges / moves)
4. Observe — does architecture emerge?
Examples:
- Monolith carved into services? Create owning teams for each service before splitting code
- Platform dream? Create a platform team before calling any internal tool a "platform"
## Phase 8 — Team-of-teams patterns
At scale:
- **Tribes / chapters / guilds** (Spotify-ish) — chapters for craft, tribes for streams, guilds for communities of interest
- **SAFe ART** — Agile Release Train of stream teams coordinated by a program
- **Team-of-teams** — small number of stream-aligned teams sharing a product line
Pick per your scale + culture. Don't copy-paste Spotify; copy principles, not structure.
## Phase 9 — Collaboration tool selection
Teams need a tool stack — choose deliberately:
| Need | Tools |
|---|---|
| Chat | Slack / Teams / Discord |
| Docs | Confluence / Notion / Coda / plain Git-based |
| Tickets | Jira / Linear / GitHub Issues |
| Diagrams | Miro / FigJam / Excalidraw |
| Video | Zoom / Meet / Teams |
| Async decisions | docs + comments + ADRs |
| Team calendar | per-team ownership + public |
Tool-count fatigue is real. Consolidate where possible.
## Phase 10 — Anti-patterns
| Anti-pattern | Fix |
|---|---|
| Platform team as ticket-taking service desk | Adopt X-as-a-Service; publish self-service + docs |
| Feature team spanning contexts permanently | Align with contexts + product streams |
| Stream-aligned team too wide | Extract supporting capability into platform / enabling |
| Enabling team permanent | Time-box engagements; rotate focus |
| Too many collaboration pairs | Move mature pairs to X-as-a-Service |
| Complicated-subsystem team used for generic specialists | Reserve for genuine specialist work |
| Tuckman ignored — reorg every 6 months | Let teams form + norm; avoid thrash |
## Phase 11 — Metrics + health
- Cognitive load self-assessment (quarterly survey)
- Cycle time (lower is better — friction indicator)
- Dependency graph (teams blocked by how many others)
- Team API freshness (last updated)
- Team tenure + attrition
- Cross-team collaboration-to-X-as-a-Service ratio (trend toward X-as-a-Service)
## Phase 12 — Diagrams
### Team type map
```mermaid
graph TD
subgraph Streams
S1[Checkout stream]
S2[Catalog stream]
S3[Fulfilment stream]
end
subgraph Platform
P[IDP platform]
O[Observability platform]
end
subgraph Enabling
E1[Testing enablement]
end
subgraph Complicated
C1[Pricing engine]
end
S1 -.X-as-a-Service.-> P
S2 -.X-as-a-Service.-> P
S3 -.X-as-a-Service.-> P
S1 -.X-as-a-Service.-> O
S2 -.X-as-a-Service.-> O
S3 -.X-as-a-Service.-> O
E1 -.facilitating (time-boxed).-> S2
S1 -.X-as-a-Service.-> C1
```
### Cognitive-load shift over time
```mermaid
xychart-beta
title "Stream-aligned cognitive load over time (1-10)"
x-axis ["Q1", "Q2", "Q3", "Q4"]
y-axis "Load" 0 -->Related 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.