Skip to main content

Bundle of the .spec-dev workspace template.

Project description

spec-dev

A small helper package that bundles the .spec-dev workspace template so it can be installed with pip and copied into new projects.

Installation

pip install spec-dev

If you are working from the repository source, you can install it locally instead:

pip install .

CLI Usage

# Initialise a project (default destination is the current directory)
spec-dev init
spec-dev init path/to/app
spec-dev init --force                  # overwrite an existing .spec-dev folder

# Create a task memory scaffold from the bundled template
spec-dev memory T-123

# Archive the current cycle and reset active templates
spec-dev cycle --label fal-ai-image-gen

# Regenerate and validate the file coverage manifest for the current tasks
spec-dev tasks-manifest --rewrite --check

# Move task cards between sections without editing Markdown manually
spec-dev tasks-move T-123 --to done

Run spec-dev --help for the full command list and examples.

Python API

from spec_dev import copy, create_memory, complete_cycle
from spec_dev.tasks_manifest import cmd_build_manifest

root = copy("/path/to/project", overwrite=True)
memory = create_memory("T-123", root)
archive = complete_cycle(root, label="fal-ai-image-gen")
manifest = cmd_build_manifest(root)  # also available via CLI: spec-dev tasks-manifest

Each helper returns the Path it creates (the .spec-dev directory, the new memory file, or the archived history folder).

Workflow Primer

The bundled instructions under .spec-dev/*.md walk you through the Specify → Plan → Tasks → Implementation phases. Highlights:

  • .spec-dev/templates/active/ contains fresh templates for each phase, ready to copy into .spec-dev/active-dev/.
  • Run spec-dev tasks-manifest --rewrite --check after the task board is in place. It regenerates active-dev/file-coverage.json, validates that each path maps to exactly one task, and becomes the checklist before you flip the gate to READY FOR IMPLEMENTATION.
  • Move cards between Backlog/In Progress/Done with spec-dev tasks-move T-XXX --to <status> so history stays intact until you archive the cycle.
  • Task memories live under .spec-dev/active-memories/; use spec-dev memory T-XXX the moment a task ships to capture why it mattered, what changed, how it shipped, and the validation evidence. The implementation log template links directly to these files.
  • After delivering a cycle, run spec-dev cycle [--label <name>] to move the finished spec/plan/tasks/implementation log into .spec-dev/history/ and reset active-dev/ with clean templates for the next iteration.

Key Files

  • .spec-dev/Specify.md, .spec-dev/Plan.md, .spec-dev/Tasks.md, .spec-dev/Implementation.md — phase instructions that govern the agent.
  • .spec-dev/active-dev/ — working copies for the current cycle.
  • .spec-dev/active-dev/file-coverage.json — auto-generated manifest of task changes (maintained via spec-dev tasks-manifest).
  • .spec-dev/active-memories/ — detailed task histories (one per T-XXX).
  • .spec-dev/history/ — archived cycles produced by spec-dev cycle.

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

spec_dev-0.1.13.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

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

spec_dev-0.1.13-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file spec_dev-0.1.13.tar.gz.

File metadata

  • Download URL: spec_dev-0.1.13.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for spec_dev-0.1.13.tar.gz
Algorithm Hash digest
SHA256 5380b8f7bc04f954e6828820a29521336534c6119f9c1c8143eede4c18c05a09
MD5 b6d36cc9e48ecd658113bfcb88accbae
BLAKE2b-256 ade525b3a4bfdc7ddd2fe691c5704b3f6e11139447659cabb16a8667ab41d695

See more details on using hashes here.

File details

Details for the file spec_dev-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: spec_dev-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for spec_dev-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 62636b176c75bd8dd45cf65854afe66972d9fd38b5e7b6323006ec1199ac5b78
MD5 27c242653004f741b89c6111e501ff9e
BLAKE2b-256 5a604f85ee6fef0e2fff22259b7bfff8429dd8436169756f15796cc0b6bf811c

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