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

spec-dev init               # copy .spec-dev into the current directory
spec-dev init path/to/app   # copy into a specific directory
spec-dev init --force       # overwrite an existing .spec-dev folder
spec-dev memory T-123       # scaffold .spec-dev/active-memories/T-123-memory.md
spec-dev cycle --label release-qa  # archive active artifacts and reset templates
# template lives at .spec-dev/templates/memories/task-memory-template.md

The CLI defaults to init when you omit the subcommand, so spec-dev keeps the original behaviour.

Python API

from spec_dev import copy, create_memory

copy("/path/to/project", overwrite=True)
create_memory("T-123", "/path/to/project")

Both helpers return a Path to the created resources.

Templates

All starter files live under .spec-dev/templates/. Use templates/active/ for phase artifacts (copy into .spec-dev/active-dev/ and rename), and templates/memories/ for archival notes. Fill templates out before advancing gates; refer to the included example for memory expectations. Task memories live under .spec-dev/active-memories/ and follow a lightweight playbook—why it mattered, what changed, how it shipped, validation, artifacts, ripple effects, and any lessons learned—trim sections that do not apply. When a cycle is complete, run spec-dev cycle [--label <name>] to archive the active artifacts under .spec-dev/history/ and repopulate active-dev/ with fresh templates.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spec_dev-0.1.7.tar.gz
  • Upload date:
  • Size: 16.2 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.7.tar.gz
Algorithm Hash digest
SHA256 04d06ff328848e231859eaef09d6a937476a2f02b108832b20309c716870431f
MD5 905999fff43f756b28d29ced2a62fc95
BLAKE2b-256 f6aeb578ff9584771a106a142c7abfaa43e87802a76fb9ed54e213931c527286

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spec_dev-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 17444a832a5c4675844872a5becb1672733a47bcd8bcef06e25bad7c8d846cf6
MD5 28a444976d6b8f02f05e2a73a701f174
BLAKE2b-256 e9013c67bc818d07eb528f5a844bcf6b5aecad115fd29da38ba0097671478292

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