Getting Started
Java projects
-
Add the Java Annotations dependency to your project
-
Annotate implementations with
@Requirements("REQ_001")and tests with@SVCs("SVC_001") -
Add the Maven Plugin or Gradle Plugin to your build
-
The plugin assembles a ZIP artifact with requirements, annotations, and test results
-
Install the CLI:
pipx install reqstool -
Run:
reqstool status local -p docs/reqstool
See the Demo Project for a complete working example.
Python projects
-
Add
reqstool-python-decoratorsas a dependency -
Decorate implementations with
@Requirements("REQ_001")and tests with@SVCs("SVC_001") -
Add the Hatch Plugin or Poetry Plugin to your build
-
Install the CLI:
pipx install reqstool -
Run:
reqstool status local -p docs/reqstool
TypeScript projects
-
Add
@reqstool/reqstool-typescript-tagsas a dev dependency -
Tag your code with reqstool annotations
-
Run the tag processor:
reqstool-typescript-tags --inputs src,tests --output docs/reqstool/annotations.yml -
Install the CLI:
pipx install reqstool -
Run:
reqstool status local -p docs/reqstool
VS Code integration
Install the VS Code Extension from the marketplace to get hover information for requirements and SVCs directly in your editor.
AI-assisted workflow
Use reqstool-ai to integrate requirements management into AI coding assistants like Claude Code.