project-requirements/SKILL.md
Guided interview to create comprehensive project requirements documentation (requirements.md, business-rules.md, user-types.md, workflows.md) for a new SaaS project. Use before bootstrapping the SaaS Seeder Template.
npx skillsauth add peterbamuhigire/skills-web-dev project-requirementsInstall 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.
project-requirements or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.Create comprehensive requirements documentation for a new SaaS project through a guided AI-assisted interview process.
Use when starting a new SaaS project from the template:
This skill helps developers create the required documentation files that must be placed in docs/project-requirements/ BEFORE bootstrapping the SaaS Seeder Template.
The skill creates four core documentation files plus optional UI mockups:
docs/project-requirements/
├── requirements.md # Feature requirements & specifications
├── business-rules.md # Business logic & validation rules
├── user-types.md # User roles and permissions
├── workflows.md # Key user workflows
└── ui-mockups/ # Optional UI designs (images/PDFs)
**Documentation Requirement (Mandatory):**
- Define the end-user manual scope for each core feature so manuals can be built immediately after implementation.
**Planning Index Rule:** When feature plans are created later, always update `docs/plans/INDEX.md` with status, urgency, last implementation date, and last modification date.
Questions to ask:
Project Basics
Core Features (iterative) For each feature:
Example prompts:
Non-Functional Requirements
Output: Generate docs/project-requirements/requirements.md
Questions to ask:
Validation Rules For each entity/form:
Calculations
State Machines
Business Constraints
Output: Generate docs/project-requirements/business-rules.md
Questions to ask:
User Type Identification
For Each User Type:
Permissions
Registration Workflows
Output: Generate docs/project-requirements/user-types.md
Questions to ask:
Key Workflows Identification
For Each Workflow:
Step-by-Step Flow For each step:
Alternative Flows & Errors
Output: Generate docs/project-requirements/workflows.md
Questions to ask:
docs/project-requirements/ui-mockups/When user gives vague answer:
User: "I need a student management system"
AI: "Great! Let's break that down:
- What information do you need to track about students?
- How do students get enrolled?
- Who can view/edit student data?
- What reports do you need?"
When explaining complex concepts:
AI: "For grade calculation, here's an example:
Subject 1: Grade A (4.0), Credits 3 → 4.0 × 3 = 12
Subject 2: Grade B (3.0), Credits 4 → 3.0 × 4 = 12
GPA = (12 + 12) ÷ (3 + 4) = 24 ÷ 7 = 3.43
Does this match your grading system?"
Show structure to guide thinking:
AI: "For each feature, let's capture:
✓ Feature name
✓ Description
✓ User stories
✓ Acceptance criteria
✓ Priority
Let's start with your first feature..."
✅ Specific: "Student email must be unique within franchise" not "email must be valid" ✅ Testable: "GPA calculated as weighted average" with formula ✅ Complete: All user types, all workflows, all validations documented ✅ Unambiguous: Clear language, examples provided ✅ Prioritized: High/Medium/Low for features
❌ Too vague: "The system should be user-friendly" ❌ Missing details: "User can edit data" (which data? which users?) ❌ Assumptions: "Obviously students can't delete grades" (document it!) ❌ No examples: Formula without sample calculation
Reference the template files:
When starting the interview, tell the user:
I'll help you create comprehensive requirements documentation.
We have template files to guide us:
- requirements.md.template
- business-rules.md.template
- user-types.md.template
- workflows.md.template
Let's start with your project overview...
Use template structure but customize content:
After completing requirements documentation:
Verify files are in docs/project-requirements/:
✓ requirements.md
✓ business-rules.md
✓ user-types.md
✓ workflows.md
Create database schema in database/schema/core-schema.sql based on requirements
Run the saas-seeder skill to bootstrap the template:
"Using the saas-seeder skill, prepare this repository for [Project Name]"
AI: "Let's create your project requirements! What's your SaaS project about?"
User: "A school management system"
AI: "Great! Let's start with the basics:
1. What's the name of your SaaS?
2. What types of schools? (Primary, Secondary, University, All)
3. Who will use it? (Teachers, Students, Parents, Admins)"
User: "EduTrack SaaS. For all school types. Teachers, students, parents, and school admins."
AI: "Perfect! Let's identify your core features.
What's the #1 most important feature?"
User: "Student enrollment"
AI: "Let's detail that. When a student enrolls:
- Who creates the enrollment? (Admin, Parent, or Self-registration)
- What information is collected?
- What happens after enrollment?
- Any approval process?"
... (continue interview)
AI: "Excellent! I've created your requirements.md.
Now let's talk about business rules.
For student enrollment, are there any restrictions?
- Age limits?
- Class capacity limits?
- Document requirements?"
... (continue for all phases)
Before completing, verify:
When complete, report to user:
✅ Project Requirements Documentation Complete!
Created Files:
- ✓ docs/project-requirements/requirements.md
- ✓ docs/project-requirements/business-rules.md
- ✓ docs/project-requirements/user-types.md
- ✓ docs/project-requirements/workflows.md
Summary:
- Features documented: [count]
- User types defined: [list]
- Key workflows: [list]
- Business rules: [count]
Next Steps:
1. Review the documentation files
2. Create database schema in database/schema/core-schema.sql
3. Run the saas-seeder skill to bootstrap your project
4. Start development!
Ready to bootstrap? Use:
"Using the saas-seeder skill, prepare this repository for [Your Project Name]"
Do:
Don't:
docs/project-requirements/*.templatesaas-seeder skill for bootstrapping after requirements../../CLAUDE.md - Project-specific documentation after bootstrap| Skill | Relationship |
|-------|-------------|
| sdlc-planning | Takes this skill's output (requirements.md, business-rules.md, user-types.md, workflows.md) as input for Feasibility Study, Vision & Scope, SRS, and other planning documents. This is the primary next step. |
| sdlc-design | Uses the SRS (produced via sdlc-planning) to generate System Design Document, Database Design, API Documentation, and Technical Specifications. |
| sdlc-testing | Uses the SRS and SDD to create test plans, test cases, and V&V documentation. |
| sdlc-user-deploy | Uses all prior SDLC outputs to create user manuals, deployment guides, training materials, and release notes. |
| feature-planning | For individual feature specs and implementation plans after project-level requirements are established. |
| android-saas-planning | For Android companion app planning (PRD, SDS, API Contract). Uses SRS as input. |
| saas-seeder | Bootstrap the SaaS template using requirements from this skill's output. |
project-requirements (THIS SKILL)
↓ requirements.md, business-rules.md, user-types.md, workflows.md
sdlc-planning
↓ SRS, Vision & Scope, SDP, Feasibility Study, QA Plan, Risk Plan, SCMP
sdlc-design
↓ SDD, Database Design, Tech Spec, API Docs, ICD, Code Standards
sdlc-testing
↓ Test Plan, Test Cases, V&V Plan, Test Report, Peer Reviews
sdlc-user-deploy
↓ User Manual, Ops Guide, Training, Release Notes, Maintenance, README
data-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...