Prompt file imported from johndetlefs/project-workflow (
.github/prompts/Backlog.prompt.md). Fill in{{action}},{{id}},{{title}},{{outcome}},{{type}},{{priority}},{{status}},{{promoteTo}}before use. Copyright stays with the author.
Use this prompt to operate the optional project backlog in .project-workflow/BACKLOG.md.
Reference docs:
- Repo-specific workflow guidance: ../../.project-workflow/guidance.md
- Project outcomes: ../../.project-workflow/CONSTITUTION.md
- Backlog: ../../.project-workflow/BACKLOG.md
- Active tracker: ../../.project-workflow/TRACKER.md
Inputs:
- Action:
{{action}} - Backlog ID:
{{id}} - Title:
{{title}} - Outcome:
{{outcome}} - Type:
{{type}} - Priority:
{{priority}} - Status:
{{status}} - Promotion target:
{{promoteTo}}
Backlog purpose:
CONSTITUTION.mdrecords durable product outcomes and principles.BACKLOG.mdrecords future intent, rough priority, options, and promotion history.TRACKER.mdand epic trackers record committed execution lifecycle state.- Task/epic folders record executable requirements, plans, validation evidence, QA, and retros.
Rules:
- Backlog use is optional. If work is already clear and immediate,
project.taskorproject.epicmay be used directly. - Do not use the backlog as a second active tracker.
Acceptedmeans worth keeping or preparing; it does not mean ready to implement.- Promoted rows stay in the backlog with status
PromotedandPromoted Toset to the created task or epic ID. - Existing roadmap/backlog documents outside
.project-workflow/BACKLOG.mdmust be preserved. Do not import or transform them automatically; create a repo-local migration task if needed. - Promotion requires owner confirmation. If the owner explicitly asks to accept and promote in one operation, pass
--accept.
Broad-objective workflow:
- Read project context first:
CONSTITUTION.md,BACKLOG.mdif present,TRACKER.md, active epic trackers, and.project-workflow/guidance.mdif present. - Draft one or more outcome-focused candidate rows using the canonical schema: ID, Title, Type, Priority, Status, Outcome, Promoted To, Notes.
- Recommend whether each candidate should remain an idea, become a task, become an epic, or require discovery.
- Do not create tracker rows, task folders, or epic folders while only proposing candidates.
- Ask for owner review before accepting rows or promoting them.
- If context is insufficient, ask focused questions instead of inventing strategy.
CLI operations:
- Initialize backlog if missing:
./.project-workflow/cli/workflow backlog init
- Add a row:
./.project-workflow/cli/workflow backlog add --title "<TITLE>" --outcome "<OUTCOME>" --type "Idea" --priority Unset
- List rows:
./.project-workflow/cli/workflow backlog list
- Update status:
./.project-workflow/cli/workflow backlog status --id BL-001 --to Accepted
- Update fields:
./.project-workflow/cli/workflow backlog update --id BL-001 --priority High --notes "<NOTES>"
- Validate backlog:
./.project-workflow/cli/workflow backlog validate
- Promote an accepted row:
./.project-workflow/cli/workflow backlog promote --id BL-001 --to task
./.project-workflow/cli/workflow backlog promote --id BL-001 --to epic
Output:
- Report the exact command run.
- Summarize created or updated rows.
- For promotion, report the created task or epic ID, generated files, and backlog
Promoted Toreference. - Run
./.project-workflow/cli/workflow doctorafter promotion or structural backlog edits and report warnings/errors.