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
# Regenerate and validate the file coverage manifest for the current tasks
spec-dev tasks-manifest --rewrite --check
# Update task status or validate memories without editing Markdown manually
spec-dev tasks-status T-123 --set done
spec-dev memories # add --ensure to scaffold missing stubs
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 --checkafter the task board is in place. It regeneratesactive-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. - Update task status (
pending,in-progress,done) withspec-dev tasks-status T-XXX --set <status>so history stays intact until you archive the cycle. - Task memories live under
.spec-dev/active-memories/; usespec-dev memory T-XXXthe moment a task ships to capture why it mattered, what changed, how it shipped, and the validation evidence. Runspec-dev memories(or--ensure) to verify/complement entries. 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 resetactive-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 viaspec-dev tasks-manifest)..spec-dev/active-memories/— detailed task histories (one perT-XXX)..spec-dev/history/— archived cycles produced byspec-dev cycle.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spec_dev-0.1.16.tar.gz.
File metadata
- Download URL: spec_dev-0.1.16.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eba1bf960076d8886d3ad588849bec3904c174d4c754df5804a7eda7332e2dd0
|
|
| MD5 |
e4dc663a5fa156c9c809bff967ad6d97
|
|
| BLAKE2b-256 |
cdca1b934441d6ecd4f2e5a0e2deec39d52f1f04fe9a13e7cf6eb520de0dfa78
|
File details
Details for the file spec_dev-0.1.16-py3-none-any.whl.
File metadata
- Download URL: spec_dev-0.1.16-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ed46d796b02bd29df3772fd9d7ffd57f49c196a2e9f7039aa592040847f30bc
|
|
| MD5 |
4cca430df72b73d770e8d6722cc2906e
|
|
| BLAKE2b-256 |
662bae8c637aaee0b0aa0a2a7774cbac3753c289353a916ad2aae4ccc26fdef2
|