project-workflow 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- project_workflow/__init__.py +5 -0
- project_workflow/_version.py +3 -0
- project_workflow/cli.py +10076 -0
- project_workflow/codex/AGENTS.md +131 -0
- project_workflow/codex/skills/project-backlog/SKILL.md +104 -0
- project_workflow/codex/skills/project-clarify/SKILL.md +47 -0
- project_workflow/codex/skills/project-constitution/SKILL.md +62 -0
- project_workflow/codex/skills/project-delegate/SKILL.md +38 -0
- project_workflow/codex/skills/project-epic/SKILL.md +121 -0
- project_workflow/codex/skills/project-fix/SKILL.md +49 -0
- project_workflow/codex/skills/project-implement/SKILL.md +46 -0
- project_workflow/codex/skills/project-planner/SKILL.md +69 -0
- project_workflow/codex/skills/project-qa-review/SKILL.md +44 -0
- project_workflow/codex/skills/project-requirements/SKILL.md +60 -0
- project_workflow/codex/skills/project-retro/SKILL.md +46 -0
- project_workflow/codex/skills/project-smoke-bomb/SKILL.md +58 -0
- project_workflow/codex/skills/project-task/SKILL.md +73 -0
- project_workflow/cursor/rules/project-workflow.mdc +75 -0
- project_workflow/prompts/Backlog.prompt.md +90 -0
- project_workflow/prompts/Clarify.prompt.md +137 -0
- project_workflow/prompts/Constitution.prompt.md +115 -0
- project_workflow/prompts/Delegate.prompt.md +48 -0
- project_workflow/prompts/Epic.prompt.md +210 -0
- project_workflow/prompts/Fix.prompt.md +58 -0
- project_workflow/prompts/Implement.prompt.md +99 -0
- project_workflow/prompts/Planner.prompt.md +157 -0
- project_workflow/prompts/QAReview.prompt.md +86 -0
- project_workflow/prompts/Requirements.prompt.md +205 -0
- project_workflow/prompts/Retro.prompt.md +70 -0
- project_workflow/prompts/SmokeBomb.prompt.md +14 -0
- project_workflow/prompts/Task.prompt.md +99 -0
- project_workflow/templates/workflow +7 -0
- project_workflow/templates/workflow.py +10076 -0
- project_workflow-0.2.0.dist-info/METADATA +599 -0
- project_workflow-0.2.0.dist-info/RECORD +39 -0
- project_workflow-0.2.0.dist-info/WHEEL +5 -0
- project_workflow-0.2.0.dist-info/entry_points.txt +2 -0
- project_workflow-0.2.0.dist-info/licenses/LICENSE +21 -0
- project_workflow-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project.task
|
|
3
|
+
description: Create minimal task scaffolding (task folder, tracker row, optional branch).
|
|
4
|
+
argument-hint: title="..." branch=yes|no base=develop prefix=feature/
|
|
5
|
+
agent: agent
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# task (Task + Optional Branch)
|
|
9
|
+
|
|
10
|
+
Purpose: create the minimal workflow scaffolding for a new feature/task inside this repo:
|
|
11
|
+
|
|
12
|
+
- A new task folder under `.project-workflow/tasks/<ID>-<Suffix>/`
|
|
13
|
+
- `IMPLEMENTATION.md` (must start with `## User Story`)
|
|
14
|
+
- `REQUIREMENTS.md`
|
|
15
|
+
- A new row in `.project-workflow/TRACKER.md`
|
|
16
|
+
- Optionally: create and checkout a git branch named from the assigned task id + title
|
|
17
|
+
|
|
18
|
+
This is the **only** step that creates folders/files for a new story. Requirements/Clarify/Planner/Implement/QA Review/Retro assume the task folder already exists.
|
|
19
|
+
|
|
20
|
+
Project Workflow is owner-directed and agent-operated. The user supplies product judgment, constraints, examples, decisions, and approvals conversationally. The agent runs commands, drafts artifacts, asks targeted questions, and records workflow state.
|
|
21
|
+
|
|
22
|
+
Read `/.project-workflow/guidance.md` if present before changing workflow state.
|
|
23
|
+
|
|
24
|
+
## Inputs (ask the user)
|
|
25
|
+
|
|
26
|
+
Ask the user these questions and wait for answers:
|
|
27
|
+
|
|
28
|
+
1. Task title
|
|
29
|
+
|
|
30
|
+
- Example: `Account Usage Export`
|
|
31
|
+
|
|
32
|
+
2. Create a new git branch?
|
|
33
|
+
|
|
34
|
+
- `yes` / `no`
|
|
35
|
+
|
|
36
|
+
If branch = yes, also ask:
|
|
37
|
+
|
|
38
|
+
- Base branch (default: `develop`)
|
|
39
|
+
- Branch prefix (default: `feature/`)
|
|
40
|
+
|
|
41
|
+
Minimum intake context before downstream work:
|
|
42
|
+
|
|
43
|
+
- Problem or opportunity
|
|
44
|
+
- Desired outcome
|
|
45
|
+
- Affected user, actor, or system
|
|
46
|
+
- Scope boundaries and non-goals
|
|
47
|
+
- Acceptance signal for done
|
|
48
|
+
- Constraints, priority/risk, and examples or failure modes
|
|
49
|
+
|
|
50
|
+
If the user has not provided this context, create the scaffold only as a requirements/clarification artifact. Do not proceed to planning or implementation until `task ready` passes or the owner explicitly records discovery/accepted risk.
|
|
51
|
+
|
|
52
|
+
Owner approval is required for the requirements/AC envelope before planning, but it is not a
|
|
53
|
+
repeated per-step ceremony. After that approval, the agent normally runs Planner, post-plan
|
|
54
|
+
Clarify, `task ready`, and moves to `Ready` autonomously. Pause only for material drift,
|
|
55
|
+
exceptional authority, requested/high-risk plan review, or an explicit setup-only boundary.
|
|
56
|
+
|
|
57
|
+
## Safety checks
|
|
58
|
+
|
|
59
|
+
Before creating a branch, ensure the repo working tree is clean. If it’s not clean, stop and ask the user to commit/stash first.
|
|
60
|
+
|
|
61
|
+
Task IDs are assigned automatically by the scaffolder. The default prefix is `TASK`,
|
|
62
|
+
but repositories can choose task ID namespaces and generation in
|
|
63
|
+
`.project-workflow/config.json` with `task_id_prefixes`,
|
|
64
|
+
`default_task_id_prefix`, `id_generation`, `unique_id_length`, and
|
|
65
|
+
`prefix_guidance`. Sequential IDs look like `TASK-001`; unique IDs keep the
|
|
66
|
+
prefix and use a 5-character base36 suffix by default, such as `WF-K7F3Q`.
|
|
67
|
+
|
|
68
|
+
## Action (run the scaffolder)
|
|
69
|
+
|
|
70
|
+
From the repo root, run:
|
|
71
|
+
|
|
72
|
+
- Without branch:
|
|
73
|
+
|
|
74
|
+
`./.project-workflow/cli/workflow task init --title "<TITLE>" --update-tracker`
|
|
75
|
+
|
|
76
|
+
To use a configured namespace, add `--prefix <PREFIX>`:
|
|
77
|
+
|
|
78
|
+
`./.project-workflow/cli/workflow task init --prefix <PREFIX> --title "<TITLE>" --update-tracker`
|
|
79
|
+
|
|
80
|
+
- With branch:
|
|
81
|
+
|
|
82
|
+
`./.project-workflow/cli/workflow task init --title "<TITLE>" --update-tracker --create-branch --base-branch <BASE> --branch-prefix <PREFIX>`
|
|
83
|
+
|
|
84
|
+
## Output (confirm back to the user)
|
|
85
|
+
|
|
86
|
+
After running:
|
|
87
|
+
|
|
88
|
+
- Confirm the created folder path under `.project-workflow/tasks/...`
|
|
89
|
+
- Confirm the assigned task ID (for example `TASK-001`, `UI-K7F3Q`, or another configured prefix)
|
|
90
|
+
- Confirm tracker updated
|
|
91
|
+
- If branch created, confirm the new branch name
|
|
92
|
+
- Run `./.project-workflow/cli/workflow doctor` and report any warnings or errors.
|
|
93
|
+
|
|
94
|
+
## Next step
|
|
95
|
+
|
|
96
|
+
Immediately proceed to `.github/prompts/Requirements.prompt.md` (prompt name:
|
|
97
|
+
`project.requirements`) for the new task (iteratively). Once requirements/ACs are confirmed and
|
|
98
|
+
approval is recorded, run `project.planner`, a post-plan `project.clarify` pass, `task ready`, and
|
|
99
|
+
move to `Ready`; then implement within the approved envelope when authorized.
|