03-exe
1
总安装量
1
周安装量
#46295
全站排名
安装命令
npx skills add https://github.com/kelvinz/cobb --skill 03-exe
Agent 安装分布
kilo
1
amp
1
opencode
1
codex
1
antigravity
1
Skill 文档
03 exe
Implement a feature from a prd, or mark a prd as merged after PR completion.
This skill handles two modes:
- Implement mode: Build the feature from the prd specification.
- Merge mode: After a PR is merged, update status and rename the prd.
Guardrails
- Follow the repo’s
AGENTS.mdinstructions (if present) for any files you touch. - Keep changes simple and handoff-friendly: assume a junior dev (or another AI) will maintain this later.
- Do not change product scope while executing:
- If the prd is missing details or ambiguous, stop and use
02-prdto refine the prd first. - If the feature is missing from
tasks/todo.md, stop and use01-newfirst. - If you discover out-of-scope requirements or bugs during execution, do not expand scopeâcreate a new backlog item via
01-newinstead.
- If the prd is missing details or ambiguous, stop and use
- Do not update
tasks/todo.mdduring execution;tasks/todo.mdtracks “prd exists” (handled by02-prd), not build status. - Do not reset any prd status checkboxes when updating an existing prd.
Workflow
-
Identify the prd and mode
- Ask for the prd path if not provided (usually
tasks/f-##-<slug>.md). - Confirm which feature ID/name this prd corresponds to.
- Determine the mode:
- If the user says “mark as merged”, “pr merged”, or similar â Merge mode (skip to step 5).
- Otherwise â Implement mode (continue to step 2).
- Ask for the prd path if not provided (usually
-
Pre-flight (Implement mode only)
- Read
AGENTS.md(if present) and follow it. - Check priority (if
tasks/todo.mdexists):- Priority is determined by list order.
- If there are higher-priority items above this feature, ask the user to confirm they want to work on it now (vs a higher-priority item).
- If the higher-priority item is unchecked (no prd yet), recommend writing its prd via
02-prdfirst.
- If the higher-priority item is unchecked (no prd yet), recommend writing its prd via
- Create a new feature branch before making changes (unless you are already on an appropriate feature branch):
- Base it off the default branch (usually
main) unless the repo has a different branching model. - Name it based on the prd Summary
Type(or match repo conventions):Type: fixâfix/f-##-<short-slug>Type: choreâchore/f-##-<short-slug>- default (
Type: feat) âfeat/f-##-<short-slug>
- Base it off the default branch (usually
- If
tasks/memory.mdexists, skim key decisions / notes / gotchas relevant to this area before coding. - Parse the prd into an execution plan: user stories, functional requirements, non-goals, risks, rollout, and testing notes.
- Verify dependencies:
- Read this prd’s “Dependencies & Constraints” section for feature dependency IDs.
- For each dependency ID, locate the dependency’s prd path from
tasks/todo.md(or searchtasks/by ID if missing). - Check the dependency prd’s
## Execution Status (03-exe)section. - If any dependency is not Implemented, recommend executing that dependency prd first.
- If a dependency has no prd yet, stop and use
02-prdto create that dependency prd first.
- Read
-
Execute (Implement mode only)
- Implement the feature as specified.
- Add/update tests as appropriate.
- Run the project’s normal checks (typecheck/lint/tests/build) per
AGENTS.mdor project conventions.
-
Verify (Implement mode only)
- Verify acceptance criteria and edge cases from the prd.
- Perform any manual QA steps listed in the prd.
-
Update prd status (in-place) (Both modes)
-
Ensure the prd contains this section (add it if missing):
## Execution Status (03-exe) - [ ] Implemented - [ ] Merged -
Check boxes based on evidence:
- Implemented: code changes complete, tests added/updated and passing, acceptance criteria met locally. Also update the feature’s status indicator in
tasks/todo.mdfromâtoð¨. - Merged: only check after PR is merged to main (confirmed by user or repo workflow). When checking this box:
- Rename the prd file with a
done-prefix (e.g.,f-01-invite-teammates.mdâdone-f-01-invite-teammates.md). - Update the
prd:link intasks/todo.mdto the new path. - Update the feature’s status indicator in
tasks/todo.mdfromð¨toâ.
- Rename the prd file with a
- Implemented: code changes complete, tests added/updated and passing, acceptance criteria met locally. Also update the feature’s status indicator in
-
If the prd has user-story checklists (e.g.,
- [ ] US-001 â¦and acceptance-criteria checkboxes), check them off as you complete them. Do not reset existing checkboxes.
-
-
Close out
- Summarize what was changed and what remains.
- Leave Merged unchecked unless merge is actually completed.
- When you check Implemented or Merged, prompt
04-remto update “Current state” and “Completed” sections intasks/memory.md.
Output
- Update code and tests as needed.
- Update the prd execution status checkboxes in the prd file.
- If you discover a durable decision/gotcha or complete a significant milestone, capture it in
tasks/memory.mdvia04-rem. - Reply with:
- prd path
- Which execution status boxes were checked
- Which status indicator was updated in
tasks/todo.md(if any) - Any follow-ups or open issues