Development toolchain for requirement-traceable software projects
Project description
anspar-wf
Development toolchain for requirement-traceable software projects. Provides CLI tools for development workflow, requirement validation, and optional Claude Code plugins.
Quick Start
# Clone and install
git clone https://github.com/Anspar-Org/anspar-wf.git ~/anspar-wf
cd ~/anspar-wf
pip install -e .
# Install external dev tools (gitleaks, squawk, elspais, markdownlint)
anspar-wf install
# Set up git hooks for your project
anspar-wf hooks --project-dir ~/your-project
# (Optional) Register Claude Code plugins
anspar-wf plugins register --project-dir ~/your-project
Or use the all-in-one installer:
~/anspar-wf/install.sh --project-dir ~/your-project --with-claude
What's Included
CLI Tools (anspar-wf)
| Command | Description |
|---|---|
anspar-wf install |
Install/update external tools at pinned versions |
anspar-wf check |
Verify tool versions match versions.lock |
anspar-wf hooks |
Configure git hooks for a project |
anspar-wf validate |
Validate requirement format and references |
anspar-wf trace |
Generate requirement traceability views |
anspar-wf serve |
Serve trace_view HTML reports |
anspar-wf plugins register |
Register Claude Code plugin marketplace |
anspar-wf mcp traceability |
Start requirement-traceability MCP server |
anspar-wf mcp compliance |
Start compliance-verification MCP server |
External Tool Management
The versions.lock file pins versions of external tools used in CI and local development:
- gitleaks - Secret detection (pre-commit, CI)
- squawk - PostgreSQL migration linter (CI)
- elspais - Requirement validation and traceability (pre-commit, CI)
- markdownlint-cli - Documentation linting (pre-commit, CI)
Run anspar-wf install to install them. Run anspar-wf check --versions-env .github/versions.env to verify your project's CI pins are in sync.
Claude Code Plugins (Optional)
Three plugins for developers using Claude Code:
- workflow - Ticket lifecycle management, branch protection, task-switch detection
- spec-compliance - AI-powered content validation for spec/ files
- plugin-wizard - Scaffold new Claude Code plugins
MCP Servers (Optional)
For Claude Code / MCP client integration:
- traceability - Requirement-to-ticket mapping and coverage analysis
- compliance - FDA 21 CFR Part 11 verification workflows
Configure in your project's .mcp.json:
{
"mcpServers": {
"traceability": {
"command": "anspar-wf",
"args": ["mcp", "traceability"]
},
"compliance": {
"command": "anspar-wf",
"args": ["mcp", "compliance"]
}
}
}
For Non-Claude Users
Claude Code plugins are entirely optional. If you don't use Claude Code:
pip install -e ~/anspar-wf
anspar-wf install # Install CI tools
anspar-wf hooks --project-dir ~/your-project # Set up git hooks
This gives you all CI-enforced tools and git hooks without any Claude dependencies.
CI Integration
Add to your GitHub Actions workflow:
- name: Setup anspar-wf
run: |
pip install git+https://github.com/Anspar-Org/anspar-wf.git
anspar-wf install
Or validate version alignment:
- name: Check tool versions
run: anspar-wf check --versions-env .github/versions.env
Development
pip install -e ".[dev]"
pytest
ruff check src/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anspar_wf-0.1.0.tar.gz.
File metadata
- Download URL: anspar_wf-0.1.0.tar.gz
- Upload date:
- Size: 160.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa3a2fd42ed04b0ece2a1d56e5c277bd0a880dfac7b621fa4b8510dc67514d5f
|
|
| MD5 |
a81a05145ce549bc187ccfc752921bcc
|
|
| BLAKE2b-256 |
cb8c8a2b4bb78075362363dc448774074ea92235974509b1524e1b1485a5cf09
|
File details
Details for the file anspar_wf-0.1.0-py3-none-any.whl.
File metadata
- Download URL: anspar_wf-0.1.0-py3-none-any.whl
- Upload date:
- Size: 189.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bb9008be72d168df087422045fb9da88304e6fa1114e2125907c6c0443d55bd
|
|
| MD5 |
2d558346ee37eb00e2b74e19224c9317
|
|
| BLAKE2b-256 |
1f97dd2bd35a3371ac612de88d34bfe32b948f9294dad67ceb9b89817bb416ca
|