Skip to main content

Feature request and implementation specification management tool

Project description

nspec

PyPI version Python 3.11+ License: MIT Docs

Specification-driven project management for AI-native development

nspec turns your backlog into structured markdown specs that AI coding assistants can read, execute, and update. It pairs every feature request (FR) with an implementation spec (IMPL), validates the entire graph, and exposes an MCP server so Claude Code (or any MCP-compatible agent) can autonomously pick up work, track tasks, and advance specs through their lifecycle.

Install

pip install nspec

Also available via pipx, uv, and poetry. See the Getting Started guide.

Quick Start

nspec init              # Scaffold project (auto-detects your stack)
nspec mcp-config        # Generate MCP server config
nspec spec create --title "My feature" --priority P1
nspec validate          # Run 6-layer validation
nspec tui               # Interactive terminal UI

With the MCP server configured, Claude Code can autonomously work your backlog:

/ngo S001       — Start a work session on a spec
/nbacklog       — View the prioritized backlog
/nloop          — Autonomous mode: pick, execute, complete, repeat

Features

  • FR/IMPL Pairing — Every feature request gets a matching implementation spec with hierarchical tasks and acceptance criteria
  • 6-Layer Validation — Format, pairing, dependencies, business logic, and ordering checks
  • MCP Server — stdio, SSE, and HTTP transports for AI assistant integration
  • Interactive TUI — Sortable table, detail panel, vim keybindings, search, follow mode, live reload
  • Dependency Graph — Circular reference detection, cross-epic ordering, priority inheritance
  • Multi-Agent Queue — Parallel spec execution with atomic claim/release and lease-based recovery
  • Engineering Metrics — Velocity, quality, DORA metrics, and activity heatmap
  • Code Review — Automated review against spec criteria via configurable external agents

Priority Model

  • Epic priorities are global and unique. Epics rank against each other in one contiguous order (P1, P2, P3, …). Changing an epic's priority cascade-inserts it — the others shift up or down to keep every slot unique.
  • Spec priorities (P0–P3) are scoped to their epic. A spec's priority only orders it against its siblings within the same epic — it is contained there and has no meaning across epics. Two specs may share a priority; ties break deterministically by spec ID. Changing a spec's priority bumps its epic siblings to make room (best-effort: because the P0–P3 range is smaller than the number of specs an epic can hold, siblings pile up at the floor priority once the range is exhausted rather than overflowing past it).

Documentation

Full documentation: novabuiltdevv.github.io/nspec

Development

poetry install
make test-quick    # Fast tests, fail-fast
make check         # Format + lint + typecheck

License

MIT License - see LICENSE for details.

Credits

Built with Poetry, Textual, Rich, and MCP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nspec-3.15.2.tar.gz (610.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nspec-3.15.2-py3-none-any.whl (724.0 kB view details)

Uploaded Python 3

File details

Details for the file nspec-3.15.2.tar.gz.

File metadata

  • Download URL: nspec-3.15.2.tar.gz
  • Upload date:
  • Size: 610.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/6.1.0-44-amd64

File hashes

Hashes for nspec-3.15.2.tar.gz
Algorithm Hash digest
SHA256 294319ebf55cff17cd0b75bde8bcf06d87da9688c839c265488cf6153e2ed15d
MD5 8b46fa471431daa297df014a62feb6db
BLAKE2b-256 f683666f37e19dceeea90fa20cc0640162bc5fc612cea843d6f4fa6627e4a92f

See more details on using hashes here.

File details

Details for the file nspec-3.15.2-py3-none-any.whl.

File metadata

  • Download URL: nspec-3.15.2-py3-none-any.whl
  • Upload date:
  • Size: 724.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/6.1.0-44-amd64

File hashes

Hashes for nspec-3.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5b0e781e9806cb05ff077468c8161e497a3ff327a2581e395da153b3d934123
MD5 c83b0faa03ef6ce52ab118855955085a
BLAKE2b-256 04c8ee45c15016a08f8cbc3208efd63dbfc75ff81b6f0f718a2ac45269a9dd47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page