一键导入
dot-ai-prd-done
Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create changelog fragment for release notes. Invoke during /prd-done workflow during the first push to the PR.
Create a release tag based on accumulated changelog fragments, then prune merged worktrees and branches. Run when ready to cut a release.
Build and publish the mock-server Docker image to GitHub Container Registry. Use when mock server fixtures or code have changed and need to be published.
Analyze the blast radius of a proposed Kubernetes operation. Accepts free-text input: kubectl commands (e.g., "kubectl delete pvc data-postgres-0 -n production"), YAML manifests, or plain-English descriptions (e.g., "what happens if I delete the postgres database?"). Returns whether the operation is safe and a detailed dependency analysis with confidence levels.
Close a PRD that is already implemented or no longer needed
Create documentation-first PRDs that guide development through user-facing content
| name | dot-ai-prd-done |
| description | Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue |
| user-invocable | true |
Complete the PRD implementation workflow including branch management, pull request creation, and issue closure.
Note: If any gh command fails with "command not found", inform the user that GitHub CLI is required and provide the installation link: https://cli.github.com/
FIRST: Determine the type of PRD completion to choose the appropriate workflow
Documentation-Only Completion (Skip PR workflow):
Code Implementation Completion (Full PR workflow):
./prds/done/ directory to maintain project organizationdocs/ROADMAP.md roadmap if the file existsNote: Tests will run automatically in the CI/CD pipeline when the PR is created. Do not run tests locally during the completion workflow.
For Documentation-Only Completions:
git add [prd-files] and commit with skip CI flag[skip ci], [ci skip], ***NO_CI***, [skip actions]git pull --rebase origin main && git push origin main to sync changesFor Code Implementation Completions:
git checkout -b feature/prd-[issue-id]-[feature-name]git push -u origin feature/prd-[issue-id]-[feature-name]IMPORTANT: Always check for and use PR template if available
Check for PR template in common locations:
.github/PULL_REQUEST_TEMPLATE.md.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE/ (directory with multiple templates)docs/pull_request_template.mdRead and parse template comprehensively: If found, analyze the template to extract:
Extract actionable instructions from template:
Examples of template instructions to identify and execute:
Signed-off-by line" → Validate commits have DCO sign-off, amend if missingnpm test before submitting" → Execute test commandgit diff main...HEAD to understand scope of changesgit log main..HEAD to understand implementation progressionAutomatically populate what can be deduced from analysis:
PR Title:
feat(scope): description)Description sections:
Closes #[issue-id] or Fixes #[issue-id]Testing checklist:
Documentation checklist:
Security checklist:
IMPORTANT: Don't just ask - analyze and propose answers, then let user confirm or correct
For each item, use available context to propose an answer, then present it to the user for confirmation:
Manual testing results:
Breaking changes:
Performance implications:
Security considerations:
Reviewer focus areas:
Follow-up work:
prds/ directory for related workAdditional context:
Presentation Format: Present all proposed answers together in a summary format:
📋 **Proposed PR Information** (based on analysis)
**Manual Testing:** [proposed answer]
**Breaking Changes:** [proposed answer]
**Performance Impact:** [proposed answer]
**Security Considerations:** [proposed answer]
**Reviewer Focus:** [proposed list]
**Follow-up Work:** [proposed items or "None"]
**Additional Context:** [proposed context or "None"]
Please review and respond:
- Type "yes" or "confirm" to accept all
- Specify corrections for any items that need changes
IMPORTANT: Before creating the PR, identify and execute any actionable requirements from the template
Analyze template for actionable instructions:
Categorize identified requirements:
Propose and execute requirements:
Summary before PR creation:
✅ Template Requirements Status:
[List each requirement with status: executed/validated/skipped/failed]
Ready to create PR? (yes/no)
IMPORTANT: Only apply labels if .github/release.yml exists - fully dynamic based on that file
Check for .github/release.yml:
If release.yml exists, parse it to understand available categories and labels:
Analyze PR characteristics:
Select the SINGLE best-matching label:
breaking-change or breakingfeat, feature, or enhancementfix, bug, or bugfixdocumentation or docsdependencies, deps, or dependencyApply detected label: Add the single best-matching label to the PR creation command
gh pr create --title "..." --body "..." --label "fix"gh pr create --title "[title]" --body "[body]" --label "[single-label]"gh pr create --title "[title]" --body "[body]"If no PR template is found, create a sensible default structure:
## Description
[What this PR does and why]
## Related Issues
Closes #[issue-id]
## Changes Made
- [List key changes]
## Testing
- [Testing approach and results]
## Documentation
- [Documentation updates made]
gh pr checks [pr-number] to check for any ongoing CI/CD, security analysis, or automated reviews (CodeRabbit, CodeQL, etc.)gh pr view [pr-number] to check for human review comments and PR metadatagh pr view [pr-number], gh pr checks [pr-number], gh api repos/owner/repo/pulls/[pr-number]/comments./prds/done/ directorygit checkout maingit pull origin main to ensure local main is up to dategit branch -d feature/prd-[issue-id]-[feature-name]git push origin --delete feature/prd-[issue-id]-[feature-name]✅ Feature is live and functional
✅ All tests passing in production
✅ Documentation is accurate and complete
✅ PRD issue is closed with completion summary
✅ Team is notified of feature availability
The PRD implementation is only considered done when users can successfully use the feature as documented.