/trogonstack-product-requirements:frd-splitfrom trogonstack-product-requirements
Splits, merges, or nests Feature Requirements Documents (FRDs) using the parent-delivers-value rule. Use when an FRD has grown too large or multiple FRDs should be combined.
Ships in trogonstack-product-requirements. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Restructure FRDs so each one passes the feature unit test: it delivers cohesive value, has a single owner, and can be planned independently.
Use requirements-operating-model before restructuring. This skill changes the feature hierarchy, so apply the source-of-truth, clarification, and downstream-impact rules before writing files.
Apply these three options strictly:
Example: "Search" finds items by keyword: complete on its own. "Search Filters" adds faceted filtering. Search works without filters; filters need search. → Nest Search Filters under Search.
If a candidate child would break the parent if removed, it is not a child. It is part of the parent (merge), or it is its own top-level feature (split).
projectid (ask if not supplied; offer choices via Glob).Glob. If multiple FRDs are being reconciled, list them all.Ask the user, given the targets, which operation applies. Use the decision rule above; do not let the user pick "nest" for something that violates the parent-delivers-value test.
For each new child or split-out feature:
user-management → child user-roles).Grep existing FRDs for REQ-{parent-prefix}-{sub}-).REQ-... in the parent must be assigned to exactly one resulting feature, or explicitly retained in the umbrella. No requirement is dropped.Reject:
Ask: "In one sentence, what does the merged feature do?" If the user cannot, the merge is wrong. Identify requirements to drop as duplicates, requirements to combine, and the new prefix (typically the dominant feature's prefix).
Before writing, read back every requirement and where it lands. Get explicit confirmation.
After a SPLIT or NEST under a parent:
.trogonai/project/{projectid}/frd/{parent-slug}/
├── index.frd.md
├── {child-1-slug}.frd.md
├── {child-2-slug}.frd.md
└── ...
If the parent was at frd/{parent-slug}.frd.md, read it, write to frd/{parent-slug}/index.frd.md, then remove the original file with rm only after every child file has been written successfully.
After a SPLIT into top-level peers: each resulting feature is its own frd/{slug}.frd.md. The original file is replaced (its requirements have moved out).
After a MERGE: write the merged file at the surviving slug; remove absorbed files with rm only after the merged file is successfully written.
# <Child Feature Name>
- **Project:** {projectid}
- **Prefix:** {PARENT-PREFIX}-{SUB}
- **Parent FRD:** ./index.frd.md
- **Status:** Draft
- **Last updated:** <YYYY-MM-DD>
## Overview
<1–2 paragraphs scoped to this child: what enhancement it adds, why it matters, the parent it builds on>
## Terminology
- **<Term>:** <definition>
## Requirements
### REQ-{PARENT-PREFIX}-{SUB}-001: <Requirement name>
**User Story:** As a <role>, I want to <action>, so that I can <outcome>.
**Acceptance Criteria:**
- AC-{PARENT-PREFIX}-{SUB}-001.1: When <condition>, the system shall <behavior>.
<requirements moved from parent, with IDs renumbered under the new prefix>
When moving requirements from parent to child, renumber under the child's prefix starting at 001. Preserve the original AC text verbatim: only the IDs change. If the source FRD has extension content, move it only when it is defined by the project's template or convert the relevant behavior into acceptance criteria owned by the resulting feature.
Rewrite parent index.frd.md so that:
## Child FRDs section enumerates the children with one-line summaries.# <Parent Feature Name>
- **Project:** {projectid}
- **Prefix:** {PARENT-PREFIX}
- **Parent FRD:** <unchanged>
- **Status:** Draft
- **Last updated:** <YYYY-MM-DD>
## Overview
<umbrella narrative; mentions that children exist and what they add>
## Terminology
- <only umbrella-level terms>
## Requirements
<requirements that prove the parent delivers value on its own>
## Child FRDs
- [{child-1-slug}](./{child-1-slug}.frd.md): <summary; parent-delivers-value rule satisfied>
- [{child-2-slug}](./{child-2-slug}.frd.md): <summary>
The restructure is complete when:
Parent: User Management: admins can create, view, edit, deactivate users and reset passwords. Delivers value alone.
Children (correctly nested: parent works without them, they are meaningless without it):
If, instead, "Login" had been proposed as a child of User Management, reject it: User Management cannot function without authentication, so Login is not a child.
frd-write: author a new child or top-level FRDfrd-review: audit the parent + children after splittingprd-product-description: re-check the product-level boundaries after major restructuresWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub trogonstack/agentskills --plugin trogonstack-product-requirements14 skills in this plugin
/frd-getting-startedProduce the initial set of Feature Requirements Documents (FRDs) for a new project. Calibrates between an agile first pass (small set of must-have features only) and a waterfall first pass (comprehensive coverage). Asks how many features to draft, identifies them from the project's product overview, and scaffolds each via the FRD template. Use when the user is starting a project and there are no FRDs yet./frd-reviewReview Feature Requirements Documents (FRDs) (single file or full tree) against the Overview / Terminology / Requirements template, source-of-truth rules, module boundaries, downstream impact, and the parent-delivers-value rule for sub-features. Writes a review file. Use when the user asks to review, audit, or sanity-check a feature spec./frd-writeDraft a Feature Requirements Document (FRD) using the Overview / Terminology / Requirements template, Product Overview context, source-of-truth checks, and REQ-[PREFIX]-NNN / AC-[PREFIX]-NNN.N acceptance criteria. Supports nested sub-features with appended prefixes. Use when the user wants to spec a feature for engineering to build./prd-business-problemDraft the Business Problem of a PRD by framing the core problem the product addresses, the gaps in today's tools and processes, and why change is necessary now. Drives discovery through who experiences the pain, what fails today, and the cost of inaction. Writes to `.trogonai/project/{projectid}/prd/business-problem.prd.md`. Use when the user wants to write, refine, or audit the problem framing of a product or feature./prd-current-stateDraft the Current State of a PRD by documenting the status quo the product improves upon. Drives discovery through what users do today, the workarounds in use, the costs of the status quo, and the alternatives that already exist. Writes to `.trogonai/project/{projectid}/prd/current-state.prd.md`. Use when the user wants to document the baseline before proposing a change./prd-custom-overviewDraft an additional Product Overview Document beyond the six defaults when a product-specific context area is needed. Keeps custom PRDs at product-level why/what, prevents duplicate default sections, and writes to `.trogonai/project/{projectid}/prd/{slug}.prd.md`. Use when the user needs a custom overview document rather than a feature requirement.Other plugins' skills for the same job