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 release-qa

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

Python API

from spec_dev import copy, create_memory, complete_cycle

root = copy("/path/to/project", overwrite=True)
memory = create_memory("T-123", root)
archive = complete_cycle(root, label="release-qa")

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/.
  • Task memories live under .spec-dev/active-memories/; use spec-dev memory T-XXX to scaffold an entry and capture why/what/how plus validation evidence.
  • 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.

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.9.tar.gz (16.3 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.9-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spec_dev-0.1.9.tar.gz
  • Upload date:
  • Size: 16.3 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.9.tar.gz
Algorithm Hash digest
SHA256 e1eedf674b1f425be96798e89fb50d665c35fbea9ccf1436230235cbe6432bdf
MD5 8a3ead53db98d192857e99a5e1183dfe
BLAKE2b-256 ade7bde015cb597938a575dcf08551fe7cebde275b6cd133f9919d5a0ff0b815

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spec_dev-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 22.0 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e493101d11c0b433fcccdaffd09495fd5090d6e09baf9c20c0c1fa1ea9dbbe4b
MD5 079bf7cfbe6c8f35f50cbe08294a9031
BLAKE2b-256 272f1053615b96ecb6a3cee9bf05a251096fe3e5810f13bcab4816b08c111671

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