Skill: Update DEP Lifecycle
Purpose
Update DEP status through its lifecycle — triage, review, approve, defer, or close. Covers the PIC workflow from initial assignment through final approval.
When to Use
When triaging DEP issues, reviewing a DEP as PIC or reviewer, approving a DEP that is under review, or updating DEP status.
Workflow
Triage (assign PIC)
- List unassigned DEPs:
gh issue list --repo ai-dynamo/dynamo \
--label "dep:draft" \
--json number,title,labels,assignees \
--jq '.[] | select(.assignees | length == 0)'
- Assign PIC based on the area label:
gh issue edit <number> --repo ai-dynamo/dynamo \
--add-assignee "<github-username>"
- Move to review when the spec is ready:
gh issue edit <number> --repo ai-dynamo/dynamo \
--remove-label "dep:draft" \
--add-label "dep:under-review"
Review
- Read the DEP issue and discussion:
gh issue view <number> --repo ai-dynamo/dynamo
gh issue view <number> --repo ai-dynamo/dynamo --comments
Post review feedback as comments on the issue.
Request changes or clarifications from the author.
Approve
- Verify the issue is under review:
gh issue view <number> --repo ai-dynamo/dynamo --json labels
- Post the approval comment:
gh issue comment <number> --repo ai-dynamo/dynamo --body "/approve"
- If this is the PIC approving (or all required reviewers have approved), update the label:
gh issue edit <number> --repo ai-dynamo/dynamo \
--remove-label "dep:under-review" \
--add-label "dep:approved"
Notes
- For straightforward DEPs, the PIC's
/approveis sufficient. - For multi-reviewer DEPs, the PIC maintains a pinned approval checklist and updates the label only when all required approvals are collected.
/approvecomments are searchable for audit:gh search issues --repo ai-dynamo/dynamo "/approve" in:comments- Area labels are bare names (e.g.,
frontend,router) — no prefix.