mcpField
N
ns-sdd-requirements-generator

ns-sdd-requirements-generator

github.com/nextstage-brasilDevelopment068 installsUpdated 1d ago
Repository

About ns-sdd-requirements-generator

ns-sdd-requirements-generator is a skill for creating structured version requirements documents in a product's documentation tree. It adapts the document to a confirmed technology stack and supports both new and existing projects.

Key features

  1. 01Creates versioned requirements.md
  2. 02Selects a stack profile
  3. 03Orders greenfield setup requirements
  4. 04Includes UI/UX and acceptance criteria
  5. 05Defines data models and endpoints

Use cases

  1. 01Prepare requirements for a product version
  2. 02Document requirements for a new project
  3. 03Generate stack-aware requirements for an existing codebase

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nextstage-brasil/skills --skill ns-sdd-requirements-generator

After installing, type/ns-sdd-requirements-generatorin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

evals/
evals.json
references/stacks/
generic.md
intelligent-saas.md
laravel-react.md

Details

From the project README

Requirements Generator

Produce a structured requirements.md for {product_root}/docs/versions/{version_san}/.

Harness discovery

See ../ns-harness/references/harness-discovery.md and ../ns-harness/references/artifact-layout.md. Create {product_root}/docs/versions/{version_san}/ before writing.

Inputs

  • Scope description (possibly enriched by ns-sdd-clarify-requirements)
  • {product_root}, {version_san}
  • Optional: design-brief.md, stack profile, brownfield map, web research from orchestrator

Stack profiles

Load one profile from references/stacks/ when stack is known:

ProfileWhen
generic.mdDefault — stack-agnostic structure
laravel-react.mdLaravel + React monorepo detected or confirmed
intelligent-saas.mdBackend + frontend + agent-api

Do not mention framework-specific tooling unless the profile or detected stack applies.

Document structure

Generate only the markdown document (no conversational preamble):

## Main objective of the version:

{executive summary}

## Technology stack:

{confirmed stack — reference applicable rules when harness has them}

## UI/UX guidelines:

{from design-brief when frontend in scope — omit if backend-only}

## Data model and APIs:

{tables, FK order, key endpoints — source of truth for tasks}

## Feature grouping:

### Feature 001 - TITLE

**Precedence:** None | Feature NNN
**Layers:** Backend | Frontend | Infrastructure | Tests
**Detailed description:** ...

#### Acceptance criteria:

- [ ] ...

## Non-functional requirements (NFRs):

...

New project ordering

When the project is greenfield, infrastructure/setup features come before domain features (per stack profile): infra → database → cache/queues → backend modules → frontend → tests.

Language

English unless the user explicitly requests another language for the deliverable.

Rules

  • Work only under confirmed {product_root}
  • Incorporate research into NFRs or acceptance criteria when provided
  • For frontend features: include UI/UX section from design brief; acceptance criteria for visual tokens when applicable
  • Data model section is critical — explicit table creation order and endpoints

Integration

  • After generation: Gate 1 (requirements_confirmed) — see ../ns-harness/references/gates.md
  • Next: ns-sdd-analyze-consistency after Gate 2
  • Intelligent SaaS / agent-api: parent ns-spec-driven must load ns-langgraph-agents — see ../ns-spec-driven/references/agent-runtime-integration.md

References

FileWhen
references/stacks/generic.mdDefault
references/stacks/laravel-react.mdLaravel/React stack
references/stacks/intelligent-saas.mdAgent-augmented SaaS

Comments

Markdown supported