execute-task
Executes one PRD task end-to-end using a provided task file, PRD directory, tracking file paths, and auto-commit mode. Use when a prompt includes a task specification that must be implemented, validated, and reflected in task tracking files. Do not use for PR review batches, generic coding tasks without a PRD task file, or standalone verification-only work.
- License 许可
- MIT
- 最近更新
- 2026-08-07
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- execute-task
- description
- Executes one PRD task end-to-end using a provided task file, PRD directory, tracking file paths, and auto-commit mode. Use when a prompt includes a task specification that must be implemented, validated, and reflected in task tracking files. Do not use for PR review batches, generic coding tasks without a PRD task file, or standalone verification-only work.
02 资源文件 1
- 参考文档references/tracking-checklist.md566 B
03 SKILL.md 正文
Execute PRD Task
Execute one PRD task from exploration through tracking updates.
Required Inputs
- Task specification markdown.
- PRD directory path.
- Task file path.
- Master tasks file path.
- Auto-commit mode.
- Optional workflow memory directory path.
- Optional shared workflow memory path.
- Optional current task memory path.
Workflow
-
Ground in repository and PRD context.
- Read the provided task specification.
- Read the repository guidance files named by the caller.
- Read the PRD documents under the provided directory, especially
_techspec.mdand_tasks.md. - Read ADRs from the
adrs/subdirectory of the PRD directory to understand the architectural decision context for this task. - After reading all sources, check for conflicts between the task specification, techspec, and ADRs. If any requirements contradict each other, stop and report the conflict instead of guessing — do not proceed to step 2.
- If the caller provides workflow memory paths, use the installed
workflow-memoryskill before editing code. - If the caller marks the task as isolated or task-local-only for parallel execution, read shared workflow memory but write only current task memory.
- Reconcile the current workspace state before new edits.
-
Build the execution checklist.
- Extract deliverables, acceptance criteria, and every explicit
Validation,Test Plan, orTestingitem into a numbered working checklist. - Print the full checklist before starting implementation so it is visible and trackable.
- Capture the concrete pre-change signal that proves the task is not finished yet.
- Use this checklist as a gate: mark each item done as evidence is produced during implementation, and do not proceed to validation until every checklist item has been addressed.
- Extract deliverables, acceptance criteria, and every explicit
-
Implement the task.
- Keep scope tight to the task specification.
- Follow repository patterns and real dependency APIs.
- Record meaningful out-of-scope work as follow-up notes instead of silently expanding the task.
-
Validate and self-review.
- Run every test and validation command listed in the task specification — not just the repository-wide verification.
- Use the installed
final-verifyskill. This step is mandatory regardless of auto-commit mode — always verify before claiming completion. - Perform a self-review after verification and resolve every blocking issue before proceeding.
-
Update task tracking.
- If workflow memory paths were provided, update the memory files first — record decisions, learnings, and touched surfaces before updating tracking status.
- Use the caller-provided task file path and master tasks file path.
- Mark subtasks complete only when the implementation and evidence are actually complete.
- Change task status to completed only after clean verification and self-review.
- Read
references/tracking-checklist.mdwhen applying status, checklist, or commit updates. - Sequence: memory update (if applicable) -> task file checkboxes -> task status -> master tasks file -> commit (if applicable).
-
Handle commit behavior.
- If auto-commit is enabled, create one local commit after clean verification, self-review, and tracking updates.
- If auto-commit is disabled, leave the diff ready for manual review and commit.
- Never push automatically.
Error Handling
- If the pre-change signal cannot be reproduced directly, capture the strongest available baseline signal and state the limitation.
- If validation fails, keep the task status unchanged until the failure is resolved.
- If tracking files are missing, stop and report the missing path before marking completion.
04 同仓库更多 Skills
workflow-memory
Maintains workflow-scoped task memory for Productize runs using .productize/tasks/<name>/memory/ files. Use when a task prompt provides workflow memory paths and requires the agent to read, update, compact, and promote durable context across PRD task executions. Do not use for PR review remediation, global user preferences, or programmatic event-log summarization.
review-round
Performs a comprehensive code review of a PRD implementation and generates a review round directory with issue files compatible with fix-reviews. Use when reviewing implemented PRD tasks, creating a manual review round without an external provider, or performing a quality audit of code changes. Do not use for fetching reviews from external providers, fixing existing review issues, executing PRD tasks, or editing source code.
productize
Productize root skill for building, shipping, operating, and growing AI products inside a coding harness. Routes work across thesis framing, discovery, research, positioning, finance, decision making, requirements, design, metrics, AI-builder execution, code implementation, verification, stakeholder narratives, growth, launch, operation, and learning workflows. Use when the user wants to build a product from zero, improve an existing product, or needs product work that spans multiple lifecycle stages before code, launch, operation, or growth execution.
productize-wwas
Why-What-Acceptance. Use when writing backlog items in Why-What-Acceptance format, breaking features into independent valuable work, or adding strategic context to delivery items.
productize-writing-plans
Create comprehensive implementation plans with bite-sized tasks. Use when you have requirements before touching code.
productize-write-spec
Write a feature spec or PRD from a problem statement or feature idea. Use when turning a vague idea into a structured document, scoping goals and non-goals, defining success metrics and acceptance criteria, or breaking a big ask into phases.