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, run reviews, 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, review, 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 — 89 tools over stdio, SSE, and HTTP transports for AI assistant integration
  • Interactive TUI — Sortable table, detail panel, vim keybindings, search, follow mode, live reload, and in-terminal dependency-graph visualization (expand upstream/downstream, jump between linked specs)
  • Dependency Graph — Circular reference detection, cross-epic ordering, priority inheritance
  • Skills System — 29 slash commands for Claude Code (spec creation, review, triage, autonomous loops) plus Codex prompt templates
  • Multi-Agent Queue — Parallel spec execution with git-worktree isolation, atomic claim/release, and lease-based recovery
  • Checkout & Reservation — TTL-based spec leases prevent double-assignment across agents
  • GitHub Issue Integration — Import issues as specs and sync status back to GitHub on completion
  • Code Review — Automated review against spec criteria via configurable external agents (Codex, Gemini)
  • Engineering Metrics — Velocity, quality, DORA metrics, and activity heatmap

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: novabuilt.dev/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.3.tar.gz (610.9 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.3-py3-none-any.whl (724.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nspec-3.15.3.tar.gz
  • Upload date:
  • Size: 610.9 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.3.tar.gz
Algorithm Hash digest
SHA256 e6c4697a9e66d2fe83a764e496933691e2cea0c76f26d5659eb687f859fbcfa5
MD5 79262734008bf81a00eb73615db2ab30
BLAKE2b-256 88ae55df7c59cad4b52b7aa2d94003bb7d7fa3950156cb84f70f450d28d94396

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nspec-3.15.3-py3-none-any.whl
  • Upload date:
  • Size: 724.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e18f46e2537545ed3591231dc47277abb6a924393c3fe9f03ec3dbf79d4d41eb
MD5 14ab3ca48804364ce5ea165e1c95427e
BLAKE2b-256 acd8326ea4030e6f0f543e13fa46c84638a7caec251b86a1307d37e9b0ea5404

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