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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spec_dev-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 f3f1e9ada0291edf7d1c5ca2e9c0d1419a9d1b23490fcc1f9c81259049863f33
MD5 1bda89803171fbf7e9ff3433cc75ea6a
BLAKE2b-256 4cc04276431eeb09e9a7571b09069d2fda99fca0c95009a7f55bd89ac36101a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spec_dev-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6942f41d4e3032dbccc5a8dd3e3524b471c0e6420e52b2ab71e47aeadbb5c1dd
MD5 5607b0a09ae85f03400357a856f24be8
BLAKE2b-256 386cd63fde7401f71ebed9297391c56644733f262a23346efd694e9d0f6e5db1

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