| name | prd-impact-map |
| description | Map a PRD to affected repos using the service catalog. Reads the PRD and config/service-catalog.yaml from <client>-meta, matches PRD capabilities to service descriptions, and posts an impact map as a PR comment on the meta PRD PR for tech lead confirmation. Run in <client>-meta Cursor session after PRD is validated and before engineering opens spec PRs in app repos. |
| disable-model-invocation | true |
| paths | prd/**, config/service-catalog.yaml |
| background_eligible | true |
| background_trigger | meta PRD PR opened with PRD |
PRD impact map
Identify which repos are affected by a PRD and produce an impact map for
tech lead confirmation. Do not open spec PRs in app repos — engineering
opens those after tech lead confirms the map.
NON-NEGOTIABLE
- Read
config/service-catalog.yaml before reading the PRD. Understand what
each service owns before matching.
- Match PRD capabilities to service
description and owns fields
semantically — do not rely on keyword matching alone.
- Include transitively affected repos via
depends_on chains. If repo B
depends on repo A and the PRD touches A, flag B as potentially affected.
- Explicitly list repos that are not affected and why — this is as
important as the affected list.
- Mark the impact map as requiring tech lead confirmation — do not
treat it as authoritative without LGTM.
Inputs
- PRD — (REQUIRED)
prd/INIT-{id}.md in <client>-meta
- Service catalog — (REQUIRED)
config/service-catalog.yaml in <client>-meta
- Meta PRD PR body — (OPTIONAL) PM's description of initiative scope
Process
- T0 Gather — PRD + service-catalog.yaml
- T1 Understand — list PRD capability areas (data flows, user actions,
integrations, storage, auth, notifications, etc.)
- T2 Match — for each capability, match to service
description + owns;
include transitive via depends_on
- T3 Order — derive build/merge order from
depends_on graph
- T4 Output — produce impact map comment body
- T5 Post — add as PR comment on the open meta PRD PR
Output format
Post as a PR comment on the meta PRD PR (not committed as a file).
## Impact map — {INIT-id}
_Generated by /prd-impact-map — {date}_
### Affected services
| Service | Repo | Why | Team | Spec to create |
|---------|------|-----|------|---------------|
| {name} | {org}/{repo} | {capability matched} | @{org}/{team} | INIT-{id}-{slug}.md |
### Transitively affected (via depends_on)
| Service | Depends on | Potential impact |
|---------|-----------|-----------------|
### Not affected
| Service | Reason |
|---------|--------|
### Suggested merge/build order
{repo-A} → {repo-B} → {repo-C}
### Confidence
| Match | Confidence | Notes |
|-------|-----------|-------|
| {service} | High/Medium/Low | {rationale} |
---
**@{tech-lead}** — please confirm or correct before engineering opens spec PRs.
Review deadline: 2 business days.