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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spec_dev-0.1.5.tar.gz
  • Upload date:
  • Size: 16.1 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.5.tar.gz
Algorithm Hash digest
SHA256 d899da2c19c9075b7ba7e2b01112e602ab72f9c69531f61325fa9973f420be38
MD5 de72d9eea35e311b7b72ab5781221e9f
BLAKE2b-256 64aca4ce669e3223642831800fe5aa29f8c44ee747e84ce0e4a26c1b8186d6a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spec_dev-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 21.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 abba4e3e2aae30a0868db2370a8b799d03082482196f1db8bb8df1bc0dc359cf
MD5 d5db397d1fa8d7c0d915c16fcd0c2384
BLAKE2b-256 85536a93e0b5f4258cb87c5c2b87730105cc64882d3fdf1260e7143062bc4c77

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