- Home
- Skills
- Product Management
- Requirements Grouping
Requirements Grouping
by Osama Khaled
Organizes requirements and user stories into logical hierarchies with documented rationale and parent-child mapping.
$1
Works with the AI Agents you already use
Requirements Grouping
Example session with this skill installed
Group the requirements in dataset.json by business capability. Focus on identifying primary groups for the 50 new user stories in the backlog.
- Read your context and instructions
- Compiled the requirements grouping
Processed 50 requirements and organized them into 6 primary business capability groups.
Requirements Grouping Draft
| Group ID | Name | Basis | Members | Parent Group |
|---|---|---|---|---|
| G-AUTH | Identity Management | User authentication and authorization flows | 12 | - |
| G-PAY | Payment Processing | Transaction handling and gateway integration | 8 | - |
| G-NOTIF | Messaging Service | Asynchronous user alerts and system notifications | 10 | - |
| G-INV | Inventory Logic | Stock tracking and warehouse management | 12 | - |
| G-REP | Reporting & Analytics | Data aggregation and dashboard exports | 5 | - |
| G-UNGROUPED | Uncategorized | Insufficient detail to map to core capabilities | 3 | - |
Assessment Summary
- Primary Principle: Business Capability
- Coverage: 94% categorized, 6% ungrouped
- Cross-cutting Concerns: 4 entries identified with secondary roles in Security.
Next steps
- Review
WORK/grouping/out/dataset.jsonfor the full mapping of requirement IDs. - Resolve the 3 entries in
G-UNGROUPEDby providing additional context. - Run the finalization command with
--format allto generate stakeholder-ready reports.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a massive backlog of raw requirements or user stories often leads to fragmented planning and duplicate effort. This skill systematically organizes unstructured datasets of specifications, requirements, or stories into logical, hierarchical groups based on business capability or custom domains.
What it does
- Logical Clustering organizes requirements into named groups based on shared business outcomes rather than just keywords.
- Hierarchical Structuring builds multi-level parent-child relationships to manage complex system architectures.
- Primary & Secondary Mapping assigns entries to a main group while tracking cross-cutting concerns like security or logging.
- Gap Identification isolates entries that do not fit into the current structure via a dedicated ungrouped category for further analysis.
- Basis Documentation records the specific rationale for why each group exists and the boundary rules for membership.
How it works
- Import a JSON dataset or raw text files using the internal engine to create a standardized data structure.
- Prepare the grouping workspace which initializes the worklist and identifies active requirement IDs.
- Analyze entries against organizational principles like user journeys, domains, or business capabilities.
- Draft a structured JSON representation of the groups, including descriptions, member roles, and parent-child links.
- Finalize the output to generate validated datasets ready for ingestion into project management tools.
Frameworks & tools
Uses a Python-based engine (scripts/rat.py) for data processing and validation. Designed to work with standard JSON requirement datasets and integrates with the outputs of requirements-extraction and requirements-tagging skills.
Why this beats prompting it yourself
Prompting often results in "hallucinated" categories or vague "Miscellaneous" buckets. This skill enforces a strict one-principle-per-level rule and requires a documented "basis" for every cluster, ensuring the hierarchy is architecturally sound and verifiable.
Use cases
- Grouping raw user stories into epics or feature sets for sprint planning.
- Mapping technical specifications to specific business capabilities for stakeholders.
- Identifying cross-cutting requirements that affect multiple system modules.
- Structuring legacy documentation into a modern, navigable hierarchy.
Known limitations
Does not support editing source files directly. Manual fixes are required if validation fails after three automated attempts. Requires a pre-processed dataset in a specific JSON format.
Requires input as a structured dataset.json; use extraction skills first for raw text. Automated validation stops after 3 failed correction attempts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
What's inside
Frequently Asked Questions
New in Product Management
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Product Management.