.claude/skills/pair-process-map-subdomains/SKILL.md
Defines DDD subdomains from PRD and initiatives. Classifies as core/supporting/generic, produces subdomain files in adoption/product/subdomain/ using subdomain-template.md. Idempotent: detects existing files, creates only missing ones.
npx skillsauth add foomakers/pair pair-process-map-subdomainsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform PRD and strategic initiatives into Domain-Driven Design subdomains through business capability analysis, DDD classification, and structured specification. Produces adoption files directly (not PM tool issues).
| Argument | Required | Description |
| -------- | -------- | ----------------------------------------------------------------------------------------------- |
| $scope | No | all (default) — define all subdomains. single — define one subdomain at a time. |
Check: Prerequisites present?
.pair/adoption/product/PRD.md.pair/adoption/tech/way-of-working.mdSkip: If all present, proceed to Step 1.
Act: If any missing → HALT:
Prerequisites incomplete: [list missing]. PRD and initiatives required for domain analysis.
Verify: PRD loaded, initiatives available.
Check: Scan adoption/product/subdomain/ for existing .md files (excluding README.md).
Act: Build a registry of existing subdomains:
EXISTING SUBDOMAINS:
├── [filename.md]: [Title] (Classification: [Core/Supporting/Generic])
└── ...
Verify: Registry built. Existing subdomains will be skipped during creation.
Act: Classify each capability using the DDD framework:
Act: Map relationships and data flow between subdomains.
Act: Present the subdomain catalog to developer:
Proposed subdomains: Core: [list with business purpose] Supporting: [list with business purpose] Generic: [list with business purpose]
Relationships: [key dependencies] [N] already exist (will be skipped). Approve or adjust?
Verify: Developer approves the catalog.
For each approved subdomain not already in the registry:
Check: Does this subdomain already exist as a file?
Skip: If exists → skip, report:
Subdomain
[Name]already exists ([filename.md]). Skipping. Request update explicitly if needed.
Act: Create the subdomain file following subdomain-template.md:
adoption/product/subdomain/[kebab-case-name].mdVerify: File created and parseable.
adoption/product/subdomain/README.md:
SUBDOMAINS COMPLETE:
├── Total: [N subdomains]
├── Created: [X new files]
├── Skipped: [Y existing]
├── Core: [A subdomains]
├── Supporting: [B subdomains]
├── Generic: [C subdomains]
├── Location: adoption/product/subdomain/
└── Next: /pair-process-map-contexts
/pair-process-map-contexts for bounded context definition.development
Creates or updates a Product Requirements Document through structured template analysis, hypothesis-driven information gathering, and iterative review. Idempotent — detects existing PRD and offers selective section update.
development
Reviews a pull request through a structured 6-phase process: validation, technical review, adoption compliance, completeness check, decision, and optional merge with parent cascade. Composes /verify-quality, /verify-done, /record-decision, /assess-debt (required) and /verify-adoption, /assess-stack (optional with graceful degradation). Output follows the code review template. Idempotent — re-invocation resumes from incomplete phases.
tools
Refines a user story from Todo to Refined state through structured phases: selection, requirements analysis (Given-When-Then), technical analysis, sprint readiness, and documentation. Section-level idempotency — detects partial refinement and resumes. Composes /write-issue for PM tool updates.
testing
Breaks a refined user story into implementation tasks. Task-level idempotency: detects existing tasks and creates only missing ones. Appends condensed Technical Analysis + Task Breakdown (checklist, Dependency Graph, AC Coverage table, detailed tasks) to the story body. Composes /write-issue to update the story issue body. Tasks are documented inline in the story — no separate task issues are created.