Requires Claude banner
technicallycorrectco technicallycorrectco

Requires Claude

Development community

Description

Claude Code /command for requirements-driven development.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

requires

Claude Code /command for requirements-driven development.

Overview

Requires is a CLI tool that sets up a structured requirements-driven development workflow in your projects. It creates organized directories for requirements and design documents, and provides Claude Code slash commands for generating requirements, planning implementations, and generating code.

Usage

Run the `init` command in your project directory:

npx @technicallycorrect/requires init [options]

**Options:**

  • -g, --global - Install commands globally in ~/.claude/commands/ instead of project-local .claude/commands/
  • -f, --force - Overwrite existing files without prompting

**Note:** If the `requires.md` command already exists, you'll be prompted to overwrite unless using `--force`.

This will create the following structure:

your-project/
├── requires/
│   ├── requirements/     # Structured requirement markdown files
│   └── designs/          # Implementation design plans and analysis
└── .claude/
    └── commands/
        └── requires.md   # Claude Code slash commands

Claude Code Commands

After initialization, you can use these slash commands in Claude Code:

Generate Requirements

/requires "your feature description"

Creates structured requirements from natural language descriptions. Requirements are saved as markdown files with hierarchical IDs.

Plan Implementation

/requires design REQUIREMENT-ID

Analyzes a requirement and creates an implementation plan. Design documents are saved in the `requires/designs/` directory.

Generate Code

/requires implement REQUIREMENT-ID

Generates code implementation based on the requirement and its design plan.

Update Requirements

/requires update REQUIREMENT-ID "new requirement text"

Updates an existing requirement with new text and analyzes impact on all related requirements (parent, child, sibling, and dependent). Validates that all relationships rema