🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Assists in writing high-quality requirements documents using an 8-dimension framework

by @profitpioneer

Assists in writing high-quality requirements documents using an 8-dimension framework. Covers background, objectives, scope, detailed flows, non-functional n...

Versionv1.0.0
Downloads374
Installs1
Stars⭐ 1
TERMINAL
clawhub install requirements-spec

πŸ“– About This Skill


name: requirements-spec description: Assists in writing high-quality requirements documents using an 8-dimension framework. Covers background, objectives, scope, detailed flows, non-functional needs, data tracking, acceptance criteria, and risk assessment. Use when drafting, writing, reviewing, or structuring product requirements, PRDs, or requirements documents. version: 1.0.0

Requirements Specification

Framework for writing complete, measurable, and actionable requirements documents.

Core Principles

1. Completeness first β€” All 8 dimensions must be covered; none optional 2. Measurable β€” Every objective and acceptance criterion must be quantifiable 3. Clear and unambiguous β€” Developers, testers, and product managers must reach the same understanding 4. Risk-forward β€” Identify risks early with mitigation plans

The 8 Dimensions

1. Background (15%)

What to include:

  • Business context β€” Why this requirement exists; what problem it solves
  • User scenario β€” Who encounters what problem in which situation
  • Data support β€” Metrics that demonstrate problem severity or opportunity size
  • Strategic alignment β€” How this connects to team/org/company goals
  • Checklist:

  • [ ] Explains "why" not just "what"
  • [ ] Backed by concrete data or facts
  • [ ] Identifies target user group
  • [ ] Links to higher-level objectives
  • 2. Objectives (20%)

    What to include:

  • Core objective β€” One sentence summarizing the desired outcome
  • SMART criteria:
  • - Specific β€” Clear and unambiguous - Measurable β€” Has quantifiable metrics - Achievable β€” Feasible within resource and time constraints - Relevant β€” Directly addresses the background problem - Time-bound β€” Has a clear deadline
  • Priority ranking β€” Label must-have vs. nice-to-have
  • Checklist:

  • [ ] Each objective follows SMART criteria
  • [ ] Includes quantified targets (e.g., "reduce rejection rate from 30% to 20%")
  • [ ] Objectives logically connect to background
  • [ ] Distinguishes between must-achieve and stretch goals
  • 3. Scope (20%)

    What to include:

  • In Scope β€” Explicit list of features/modules covered by this requirement
  • Out of Scope β€” Explicitly excluded items to prevent scope creep
  • User stories β€” Format: "As a [user], I want [action], so that [benefit]"
  • Feature list β€” Structured feature list with priority labels (P0/P1/P2)
  • Boundary conditions β€” Edge cases and exception handling scope
  • Checklist:

  • [ ] Clear boundary between what is and isn't included
  • [ ] Every feature has a priority label
  • [ ] Covers both happy path and exception flows
  • [ ] Specifies platform coverage (Web, mobile, mini-program, etc.)
  • 4. Detailed Features & Flows (20%)

    What to include:

  • Flow diagrams β€” Mermaid or flowchart for key business processes
  • Feature descriptions β€” Input, processing, output for each feature
  • Change highlights β€” Diff against existing system; mark changes clearly
  • Test focus points β€” Scenarios and edge cases that need special testing attention
  • Checklist:

  • [ ] Flow diagram or sequence diagram exists
  • [ ] Changes are clearly marked/highlighted
  • [ ] Test focus points are documented
  • [ ] Exception flows are covered
  • 5. Non-Functional Requirements (5%)

    What to include:

  • Performance β€” Response time, concurrency, throughput targets
  • Operations confirmation β€” Operations team sign-off and conclusions
  • Customer support SOP β€” Standard operating procedures for support team
  • Checklist:

  • [ ] Operations team has confirmed requirements
  • [ ] Customer support SOP is documented
  • [ ] Performance metrics are specified
  • 6. Data Tracking (10%)

    What to include:

  • Tracking plan β€” Event names, trigger conditions, parameter definitions
  • Dashboard metrics β€” Core metrics to monitor and dashboard design
  • Data validation β€” How to verify tracking data accuracy
  • Checklist:

  • [ ] Complete tracking plan exists
  • [ ] Dashboard metrics are defined
  • [ ] Data validation approach is specified
  • 7. Acceptance Criteria (5%)

    What to include:

  • Functional acceptance β€” Acceptance conditions per feature
  • Acceptance scenarios β€” Specific pre-launch test scenarios
  • Owner β€” Person responsible for acceptance sign-off
  • Post-launch tracking β€” Tracking cadence and metrics
  • Checklist:

  • [ ] Every feature has corresponding acceptance conditions
  • [ ] Criteria are quantifiable and verifiable
  • [ ] Post-launch tracking plan exists
  • 8. Risk Assessment (5%)

    What to include:

  • System risks β€” Technical implementation, stability concerns
  • Reputation risks β€” User feedback, PR concerns
  • Business risks β€” Revenue impact, operational disruption
  • Mitigation plans β€” Response strategy and contingency plan per risk
  • Checklist:

  • [ ] Key risks are identified
  • [ ] Each risk has a mitigation plan
  • [ ] Risk owner is assigned
  • Workflow

    Step 1: Gather Information

    Ask the user:

  • Business background and goals
  • Target users and scenarios
  • Constraints (timeline, resources, technical)
  • Existing reference docs or designs
  • Step 2: Build the Document

    Guide the user through each of the 8 dimensions. For missing information, ask targeted questions or propose reasonable defaults.

    Step 3: Quality Check

    After drafting, review against each dimension's checklist. Flag gaps and suggest improvements.

    Step 4: Score Estimate

    Rate the document quality:

  • Excellent (8.0+) β€” All dimensions complete and high quality
  • Good (6.0-7.9) β€” Core dimensions complete, minor items need polish
  • Acceptable (4.0-5.9) β€” Main dimensions covered, several items need improvement
  • Needs Work (<4.0) β€” Missing core dimensions or content severely incomplete
  • Common Pitfalls

    | Pitfall | Bad Example | Good Example | |---------|-------------|--------------| | Unquantified goal | "Improve user experience" | "Reduce page load from 3s to 1.5s" | | Unclear scope | No Out of Scope section | Explicitly lists exclusions | | Missing acceptance | Describes features only | Defines "done" criteria per feature | | Ignored risks | No risk section | Identifies dependency risks with plans |

    Document Template

    # [Requirement Name]

    1. Background

    1.1 Business Context

    1.2 User Scenario

    1.3 Data Support

    1.4 Strategic Alignment

    2. Objectives

    2.1 Core Objective

    2.2 Quantified Metrics

    2.3 Priorities

    3. Scope

    3.1 In Scope

    3.2 Out of Scope

    3.3 User Stories

    3.4 Feature List

    4. Detailed Features & Flows

    4.1 Business Flow Diagram

    4.2 Feature Descriptions

    4.3 Change Highlights

    4.4 Test Focus Points

    5. Non-Functional Requirements

    5.1 Performance

    5.2 Operations Confirmation

    5.3 Support SOP

    6. Data Tracking

    6.1 Tracking Plan

    6.2 Dashboard Metrics

    6.3 Data Validation

    7. Acceptance Criteria

    7.1 Functional Acceptance

    7.2 Acceptance Scenarios

    7.3 Post-Launch Tracking

    8. Risk Assessment

    8.1 Risk Register

    8.2 Mitigation Plans

    Trigger

    Activate when the user asks to write, draft, review, or structure a requirements document, PRD, or product spec.