[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX2JXK2B9K0DVKZ1MD37W3":3,"skill-same:01M6CX2JXK2B9K0DVKZ1MD37W3":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":62},"01M6CX2JXK2B9K0DVKZ1MD37W3","dot-ai-prd-done",null,"Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue","vfarcic\u002Fdot-ai-headlamp","vfarcic","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5716227?v=4","01M6C41XBA7GK0NJG2D4GV11SC","Viktor Farcic","01M6CX1QQ81N9D052KA5HJE8YS",3,"MIT","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-prd-done\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"prd","dot","dot ai prd done","dot ai","done","workflow","create pr","merge","pr","create","push","create branch","branch","implementation workflow","implementation","issue","2026-11-10 10:12:30",false,"---\nname: dot-ai-prd-done\ndescription: Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue\nuser-invocable: true\n---\n\n# Complete PRD Implementation\n\nComplete the PRD implementation workflow including branch management, pull request creation, and issue closure.\n\n**Note**: If any `gh` command fails with \"command not found\", inform the user that GitHub CLI is required and provide the installation link: https:\u002F\u002Fcli.github.com\u002F\n\n## Workflow Steps\n\n### 0. Implementation Type Detection\n**FIRST: Determine the type of PRD completion to choose the appropriate workflow**\n\n**Documentation-Only Completion** (Skip PR workflow):\n- ✅ Changes are only to PRD files or project management documents\n- ✅ No source code changes\n- ✅ No configuration changes\n- ✅ Feature was already implemented in previous work\n- → **Use Simplified Workflow** (Steps 1, 2-simplified, 5 only)\n\n**Code Implementation Completion** (Full PR workflow):\n- ✅ Contains source code changes\n- ✅ Contains configuration changes\n- ✅ Contains new functionality or modifications\n- ✅ Requires testing and integration\n- → **Use Full Workflow** (Steps 1-6)\n\n### 1. Pre-Completion Validation\n- [ ] **All PRD checkboxes completed**: Verify every requirement is implemented and tested\n- [ ] **Documentation updated**: All user-facing docs reflect implemented functionality\n- [ ] **No outstanding blockers**: All dependencies resolved and technical debt addressed\n- [ ] **Update PRD status**: Mark PRD as \"Complete\" with completion date\n- [ ] **Archive PRD file**: Move completed PRD to `.\u002Fprds\u002Fdone\u002F` directory to maintain project organization\n- [ ] **Update ROADMAP.md (if it exists)**: Remove the completed feature from `docs\u002FROADMAP.md` roadmap if the file exists\n\n**Note**: Tests will run automatically in the CI\u002FCD pipeline when the PR is created. Do not run tests locally during the completion workflow.\n\n### 2. Branch and Commit Management\n\n**For Documentation-Only Completions:**\n- [ ] **Commit directly to main**: `git add [prd-files]` and commit with skip CI flag\n- [ ] **Use skip CI commit message**: Include CI skip pattern in commit message to avoid unnecessary CI runs\n  - Common patterns: `[skip ci]`, `[ci skip]`, `***NO_CI***`, `[skip actions]`\n  - Check project's CI configuration for the correct pattern\n- [ ] **Push to remote**: `git pull --rebase origin main && git push origin main` to sync changes\n\n**For Code Implementation Completions:**\n- [ ] **Create feature branch**: `git checkout -b feature\u002Fprd-[issue-id]-[feature-name]`\n- [ ] **Commit all changes**: Ensure all implementation work is committed\n- [ ] **Clean commit history**: Squash or organize commits for clear history\n- [ ] **Push to remote**: `git push -u origin feature\u002Fprd-[issue-id]-[feature-name]`\n\n### 3. Pull Request Creation\n\n**IMPORTANT: Always check for and use PR template if available**\n\n#### 3.1. PR Template Detection and Parsing\n- [ ] **Check for PR template** in common locations:\n  - `.github\u002FPULL_REQUEST_TEMPLATE.md`\n  - `.github\u002Fpull_request_template.md`\n  - `.github\u002FPULL_REQUEST_TEMPLATE\u002F` (directory with multiple templates)\n  - `docs\u002Fpull_request_template.md`\n\n- [ ] **Read and parse template comprehensively**: If found, analyze the template to extract:\n  - **Structural elements**: Required sections, checklists, format requirements\n  - **Content requirements**: What information needs to be provided in each section\n  - **Process instructions**: Any workflow enhancements or prerequisites specified in the template\n  - **Validation requirements**: Any checks, sign-offs, or verifications mentioned\n\n- [ ] **Extract actionable instructions from template**:\n  - **Commit requirements**: Look for DCO sign-off, commit message format, commit signing requirements\n  - **Pre-submission actions**: Build commands, test commands, linting, format checks\n  - **Documentation requirements**: Which docs must be updated, links that must be added\n  - **Review requirements**: Required reviewers, approval processes, special considerations\n\n  **Examples of template instructions to identify and execute:**\n  - \"All commits must include a `Signed-off-by` line\" → Validate commits have DCO sign-off, amend if missing\n  - \"Run `npm test` before submitting\" → Execute test command\n  - \"PR title follows Conventional Commits format\" → Validate title format\n  - \"Update CHANGELOG.md\" → Check if changelog was updated\n  - Any bash commands shown in code blocks → Consider if they should be executed\n\n#### 3.2. Analyze Changes for PR Content\n- [ ] **Review git diff**: Analyze `git diff main...HEAD` to understand scope of changes\n- [ ] **Review commit history**: Use `git log main..HEAD` to understand implementation progression\n- [ ] **Identify change types**: Determine if changes include:\n  - New features, bug fixes, refactoring, documentation, tests, configuration, dependencies\n  - Breaking changes or backward-compatible changes\n  - Performance improvements or security fixes\n- [ ] **Check modified files**: Identify which areas of codebase were affected\n  - Source code files\n  - Test files\n  - Documentation files\n  - Configuration files\n\n#### 3.3. Auto-Fill PR Information\nAutomatically populate what can be deduced from analysis:\n\n- [ ] **PR Title**:\n  - Follow template title format if specified (e.g., Conventional Commits: `feat(scope): description`)\n  - Extract from PRD title\u002Fdescription and commit messages\n  - Include issue reference if required by template\n\n- [ ] **Description sections**:\n  - **What\u002FWhy**: Extract from PRD objectives and implementation details\n  - **Related issues**: Automatically link using `Closes #[issue-id]` or `Fixes #[issue-id]`\n  - **Type of change**: Check appropriate boxes based on file analysis\n\n- [ ] **Testing checklist**:\n  - Mark \"Tests added\u002Fupdated\" if test files were modified\n  - Note: Tests run in CI\u002FCD automatically\n\n- [ ] **Documentation checklist**:\n  - Mark items based on which docs were updated (README, API docs, code comments)\n  - Check if CONTRIBUTING.md guidelines followed\n\n- [ ] **Security checklist**:\n  - Scan commits for potential secrets or credentials\n  - Flag if authentication\u002Fauthorization code changed\n  - Note any dependency updates\n\n#### 3.4. Prompt User for Information That Cannot Be Deduced\n**IMPORTANT: Don't just ask - analyze and propose answers, then let user confirm or correct**\n\nFor each item, use available context to propose an answer, then present it to the user for confirmation:\n\n- [ ] **Manual testing results**:\n  - **Analyze PRD testing strategy section** to understand what testing was planned\n  - **Check git commits** for testing-related messages\n  - **Propose testing approach** based on change type (e.g., \"Documentation reviewed for accuracy and clarity, cross-references validated\")\n  - Present proposal and ask: \"Is this accurate, or would you like to modify?\"\n\n- [ ] **Breaking changes**:\n  - **Scan commits and PRD** for breaking change indicators\n  - If detected, **propose migration guidance** based on PRD content\n  - If not detected, **confirm**: \"No breaking changes detected. Correct?\"\n\n- [ ] **Performance implications**:\n  - **Analyze change type**: Documentation\u002Fconfig changes typically have no performance impact\n  - **Propose answer** based on analysis (e.g., \"No performance impact - documentation only\")\n  - Ask: \"Correct, or are there performance considerations?\"\n\n- [ ] **Security considerations**:\n  - **Check if security-sensitive files** were modified (auth, credentials, API keys)\n  - **Scan commits** for security-related keywords\n  - **Propose security status** (e.g., \"No security implications - documentation changes only\")\n  - Ask: \"Accurate, or are there security considerations to document?\"\n\n- [ ] **Reviewer focus areas**:\n  - **Analyze PRD objectives** and **git changes** to identify key areas\n  - **Propose specific focus areas** (e.g., \"Verify documentation accuracy, check cross-reference links, confirm workflow examples match implementation\")\n  - Present list and ask: \"Are these the right focus areas, or should I adjust?\"\n\n- [ ] **Follow-up work**:\n  - **Check PRD for \"Future Enhancements\" or \"Out of Scope\" sections**\n  - **Analyze other PRDs** in `prds\u002F` directory for related work\n  - **Propose follow-up items** if any (e.g., \"Future enhancements listed in PRD: template validation, AI-powered descriptions\")\n  - Ask: \"Should I list these, or is there other follow-up work?\"\n\n- [ ] **Additional context**:\n  - **Review PRD for special considerations**\n  - **Check if this is a dogfooding\u002Ftesting PR**\n  - **Propose any relevant context** (e.g., \"This PR itself tests the enhanced workflow it documents\")\n  - Ask: \"Anything else reviewers should know?\"\n\n**Presentation Format:**\nPresent all proposed answers together in a summary format:\n```markdown\n? **Proposed PR Information** (based on analysis)\n\n**Manual Testing:** [proposed answer]\n**Breaking Changes:** [proposed answer]\n**Performance Impact:** [proposed answer]\n**Security Considerations:** [proposed answer]\n**Reviewer Focus:** [proposed list]\n**Follow-up Work:** [proposed items or \"None\"]\n**Additional Context:** [proposed context or \"None\"]\n\nPlease review and respond:\n- Type \"yes\" or \"confirm\" to accept all\n- Specify corrections for any items that need changes\n```\n\n#### 3.5. Execute Template Requirements\n**IMPORTANT: Before creating the PR, identify and execute any actionable requirements from the template**\n\n- [ ] **Analyze template for actionable instructions**:\n  - Scan template content for imperative statements, requirements, or commands\n  - Look for patterns like \"must\", \"should\", \"run\", \"execute\", \"ensure\", \"verify\"\n  - Identify bash commands in code blocks that appear to be prerequisites\n  - Extract any validation requirements mentioned in checklists\n\n- [ ] **Categorize identified requirements**:\n  - **Commit-level actions**: Sign-offs, formatting, validation\n  - **Pre-submission commands**: Tests, builds, lints, format checks\n  - **Validation checks**: File existence, format compliance, content requirements\n  - **Documentation actions**: Required updates, links to add\n\n- [ ] **Propose and execute requirements**:\n  - Present identified requirements to user: \"Template specifies these actions: [list]\"\n  - For each requirement, determine if it can be automated\n  - Propose execution: \"Should I execute these now?\"\n  - Execute confirmed actions and report results\n  - Handle failures gracefully and ask user how to proceed\n\n- [ ] **Summary before PR creation**:\n  ```markdown\n  ✅ Template Requirements Status:\n  [List each requirement with status: executed\u002Fvalidated\u002Fskipped\u002Ffailed]\n\n  Ready to create PR? (yes\u002Fno)\n  ```\n\n#### 3.6. Detect and Apply PR Label (if release.yml exists)\n\n**IMPORTANT: Only apply labels if `.github\u002Frelease.yml` exists - fully dynamic based on that file**\n\n- [ ] **Check for `.github\u002Frelease.yml`**:\n  - If file exists → Proceed with label detection\n  - If file doesn't exist → Skip label detection, proceed to create PR without labels\n\n- [ ] **If release.yml exists, parse it to understand available categories and labels**:\n  - Read the YAML file\n  - Extract all category definitions with their associated labels\n  - Build a mapping of: category → list of labels\n  - Note the category order (categories listed first are typically more important)\n\n- [ ] **Analyze PR characteristics**:\n  - **Primary change type**: What is the MAIN purpose of this PR?\n  - **File changes**: Types of files modified (extensions, paths, purposes)\n  - **Change scope**: Which areas of codebase affected\n  - **Commit messages**: Keywords, patterns, prefixes\n  - **PR title and description**: Keywords indicating change type\n  - **PRD context**: Original problem\u002Fsolution description\n\n- [ ] **Select the SINGLE best-matching label**:\n  - For each category in release.yml, score how well it matches the PR's PRIMARY purpose\n  - Consider the importance hierarchy from release.yml:\n    - Breaking changes > New features > Bug fixes > Documentation > Dependencies > Other\n  - Select ONE label from the category that BEST represents the main change\n  - **Why single label?**: Prevents PRs from appearing in multiple release note categories\n  - **Selection priority**:\n    1. If any breaking changes → use `breaking-change` or `breaking`\n    2. If primarily new functionality → use `feat`, `feature`, or `enhancement`\n    3. If primarily fixing bugs → use `fix`, `bug`, or `bugfix`\n    4. If primarily documentation → use `documentation` or `docs`\n    5. If primarily dependencies → use `dependencies`, `deps`, or `dependency`\n    6. Otherwise → no specific label needed (will appear in \"Other Changes\")\n\n- [ ] **Apply detected label**: Add the single best-matching label to the PR creation command\n  - Example: `gh pr create --title \"...\" --body \"...\" --label \"fix\"`\n\n#### 3.7. Create Pull Request\n- [ ] **Construct PR body**: Combine auto-filled and user-provided information following template structure\n- [ ] **Create PR**:\n  - If label detected: `gh pr create --title \"[title]\" --body \"[body]\" --label \"[single-label]\"`\n  - If no release.yml or no matching label: `gh pr create --title \"[title]\" --body \"[body]\"`\n- [ ] **Verify PR created**: Confirm PR was created successfully, template populated correctly, and label applied (if applicable)\n- [ ] **Request reviews**: Assign appropriate team members for code review if specified\n\n#### 3.8. Fallback for Projects Without Templates\nIf no PR template is found, create a sensible default structure:\n\n```markdown\n## Description\n[What this PR does and why]\n\n## Related Issues\nCloses #[issue-id]\n\n## Changes Made\n- [List key changes]\n\n## Testing\n- [Testing approach and results]\n\n## Documentation\n- [Documentation updates made]\n```\n\n### 4. Review and Merge Process\n- [ ] **Check ongoing processes**: Use `gh pr checks [pr-number]` to check for any ongoing CI\u002FCD, security analysis, or automated reviews (CodeRabbit, CodeQL, etc.)\n- [ ] **Check PR details**: Use `gh pr view [pr-number]` to check for human review comments and PR metadata\n- [ ] **Review all automated feedback**: Check PR comments section for automated code review feedback (bots, linters, analyzers)\n  - **Use multiple methods to capture all feedback**:\n    - **MCP servers** (preferred when available): Use any available MCP servers for comprehensive review data\n      - Code review MCPs (e.g., CodeRabbit, custom review servers) for detailed AI code reviews\n      - Check available MCP tools\u002Ffunctions related to code reviews, pull requests, or automated feedback\n    - CLI commands: `gh pr view [pr-number]`, `gh pr checks [pr-number]`, `gh api repos\u002Fowner\u002Frepo\u002Fpulls\u002F[pr-number]\u002Fcomments`\n    - **Web interface inspection**: Fetch the PR URL directly to capture all comments, including inline code suggestions that CLI tools may miss\n    - Look for comments from automated tools (usernames ending in 'ai', 'bot', or known review tools)\n- [ ] **Present ALL code review findings**: ALWAYS present every review comment to the user, regardless of severity\n  - **Show ALL comments**: Present every suggestion, nitpick, and recommendation - do not filter or omit any\n  - **Categorize findings**: Critical, Important, Optional\u002FNitpick based on impact\n  - **Provide specific examples**: Quote actual suggestions and their locations\n  - **Explain assessment**: Why each category was assigned\n  - **User decision**: Let user decide which improvements to implement before merge (critical items must be addressed, others are user's choice)\n- [ ] **Assess feedback priority**: Categorize review feedback\n  - **Critical**: Security issues, breaking changes, test failures - MUST address before merge\n  - **Important**: Code quality, maintainability, performance - SHOULD address for production readiness\n  - **Optional**: Style preferences, minor optimizations - MAY address based on project standards\n- [ ] **Wait for ALL reviews to complete**: Do NOT merge if any reviews are pending or in progress, including:\n  - **Automated code reviews** (CodeRabbit, CodeQL, etc.) - Must wait until complete even if CI passes\n  - **Security analysis** - Must complete and pass\n  - **CI\u002FCD processes** - All builds and tests must pass\n  - **Human reviews** - If requested reviewers haven't approved\n  - **CRITICAL**: Never skip automated code reviews - they provide valuable feedback even when CI passes\n- [ ] **Address review feedback**: Make required changes from code review (both automated and human)\n  - Create additional commits on the feature branch to address feedback\n  - Update tests if needed to cover suggested improvements\n  - Document any feedback that was intentionally not addressed and why\n- [ ] **Verify all checks pass**: Ensure all CI\u002FCD, tests, security analysis, and automated processes are complete and passing\n- [ ] **Final review**: Confirm the PR addresses the original PRD requirements and maintains code quality\n- [ ] **Merge to main**: Complete the pull request merge only after all feedback addressed and processes complete\n- [ ] **Verify deployment**: Ensure feature works in production environment\n- [ ] **Monitor for issues**: Watch for any post-deployment problems\n\n### 5. Issue Closure\n- [ ] **Update issue PRD link**: Update the GitHub issue description to reference the new PRD path in `.\u002Fprds\u002Fdone\u002F` directory\n- [ ] **Close GitHub issue**: Add final completion comment and close\n- [ ] **Archive artifacts**: Save any temporary files or testing data if needed\n- [ ] **Team notification**: Announce feature completion to relevant stakeholders\n\n### 6. Branch Cleanup\n- [ ] **Switch to main branch**: `git checkout main`\n- [ ] **Pull latest changes**: `git pull origin main` to ensure local main is up to date\n- [ ] **Delete local feature branch**: `git branch -d feature\u002Fprd-[issue-id]-[feature-name]`\n- [ ] **Delete remote feature branch**: `git push origin --delete feature\u002Fprd-[issue-id]-[feature-name]`\n\n## Success Criteria\n✅ **Feature is live and functional**  \n✅ **All tests passing in production**  \n✅ **Documentation is accurate and complete**  \n✅ **PRD issue is closed with completion summary**  \n✅ **Team is notified of feature availability**\n\nThe PRD implementation is only considered done when users can successfully use the feature as documented.\n\n","# Complete PRD Implementation\n\nComplete the PRD implementation workflow including branch management, pull request creation, and issue closure.\n\n**Note**: If any `gh` command fails with \"command not found\", inform the user that GitHub CLI is required and provide the installation link: https:\u002F\u002Fcli.github.com\u002F\n\n## Workflow Steps\n\n### 0. Implementation Type Detection\n**FIRST: Determine the type of PRD completion to choose the appropriate workflow**\n\n**Documentation-Only Completion** (Skip PR workflow):\n- ✅ Changes are only to PRD files or project management documents\n- ✅ No source code changes\n- ✅ No configuration changes\n- ✅ Feature was already implemented in previous work\n- → **Use Simplified Workflow** (Steps 1, 2-simplified, 5 only)\n\n**Code Implementation Completion** (Full PR workflow):\n- ✅ Contains source code changes\n- ✅ Contains configuration changes\n- ✅ Contains new functionality or modifications\n- ✅ Requires testing and integration\n- → **Use Full Workflow** (Steps 1-6)\n\n### 1. Pre-Completion Validation\n- [ ] **All PRD checkboxes completed**: Verify every requirement is implemented and tested\n- [ ] **Documentation updated**: All user-facing docs reflect implemented functionality\n- [ ] **No outstanding blockers**: All dependencies resolved and technical debt addressed\n- [ ] **Update PRD status**: Mark PRD as \"Complete\" with completion date\n- [ ] **Archive PRD file**: Move completed PRD to `.\u002Fprds\u002Fdone\u002F` directory to maintain project organization\n- [ ] **Update ROADMAP.md (if it exists)**: Remove the completed feature from `docs\u002FROADMAP.md` roadmap if the file exists\n\n**Note**: Tests will run automatically in the CI\u002FCD pipeline when the PR is created. Do not run tests locally during the completion workflow.\n\n### 2. Branch and Commit Management\n\n**For Documentation-Only Completions:**\n- [ ] **Commit directly to main**: `git add [prd-files]` and commit with skip CI flag\n- [ ] **Use skip CI commit message**: Include CI skip pattern in commit message to avoid unnecessary CI runs\n  - Common patterns: `[skip ci]`, `[ci skip]`, `***NO_CI***`, `[skip actions]`\n  - Check project's CI configuration for the correct pattern\n- [ ] **Push to remote**: `git pull --rebase origin main && git push origin main` to sync changes\n\n**For Code Implementation Completions:**\n- [ ] **Create feature branch**: `git checkout -b feature\u002Fprd-[issue-id]-[feature-name]`\n- [ ] **Commit all changes**: Ensure all implementation work is committed\n- [ ] **Clean commit history**: Squash or organize commits for clear history\n- [ ] **Push to remote**: `git push -u origin feature\u002Fprd-[issue-id]-[feature-name]`\n\n### 3. Pull Request Creation\n\n**IMPORTANT: Always check for and use PR template if available**\n\n#### 3.1. PR Template Detection and Parsing\n- [ ] **Check for PR template** in common locations:\n  - `.github\u002FPULL_REQUEST_TEMPLATE.md`\n  - `.github\u002Fpull_request_template.md`\n  - `.github\u002FPULL_REQUEST_TEMPLATE\u002F` (directory with multiple templates)\n  - `docs\u002Fpull_request_template.md`\n\n- [ ] **Read and parse template comprehensively**: If found, analyze the template to extract:\n  - **Structural elements**: Required sections, checklists, format requirements\n  - **Content requirements**: What information needs to be provided in each section\n  - **Process instructions**: Any workflow enhancements or prerequisites specified in the template\n  - **Validation requirements**: Any checks, sign-offs, or verifications mentioned\n\n- [ ] **Extract actionable instructions from template**:\n  - **Commit requirements**: Look for DCO sign-off, commit message format, commit signing requirements\n  - **Pre-submission actions**: Build commands, test commands, linting, format checks\n  - **Documentation requirements**: Which docs must be updated, links that must be added\n  - **Review requirements**: Required reviewers, approval processes, special considerations\n\n  **Examples of template instructions to identify and execute:**\n  - \"All commits must include a `Signed-off-by` line\" → Validate commits have DCO sign-off, amend if missing\n  - \"Run `npm test` before submitting\" → Execute test command\n  - \"PR title follows Conventional Commits format\" → Validate title format\n  - \"Update CHANGELOG.md\" → Check if changelog was updated\n  - Any bash commands shown in code blocks → Consider if they should be executed\n\n#### 3.2. Analyze Changes for PR Content\n- [ ] **Review git diff**: Analyze `git diff main...HEAD` to understand scope of changes\n- [ ] **Review commit history**: Use `git log main..HEAD` to understand implementation progression\n- [ ] **Identify change types**: Determine if changes include:\n  - New features, bug fixes, refactoring, documentation, tests, configuration, dependencies\n  - Breaking changes or backward-compatible changes\n  - Performance improvements or security fixes\n- [ ] **Check modified files**: Identify which areas of codebase were affected\n  - Source code files\n  - Test files\n  - Documentation files\n  - Configuration files\n\n#### 3.3. Auto-Fill PR Information\nAutomatically populate what can be deduced from analysis:\n\n- [ ] **PR Title**:\n  - Follow template title format if specified (e.g., Conventional Commits: `feat(scope): description`)\n  - Extract from PRD title\u002Fdescription and commit messages\n  - Include issue reference if required by template\n\n- [ ] **Description sections**:\n  - **What\u002FWhy**: Extract from PRD objectives and implementation details\n  - **Related issues**: Automatically link using `Closes #[issue-id]` or `Fixes #[issue-id]`\n  - **Type of change**: Check appropriate boxes based on file analysis\n\n- [ ] **Testing checklist**:\n  - Mark \"Tests added\u002Fupdated\" if test files were modified\n  - Note: Tests run in CI\u002FCD automatically\n\n- [ ] **Documentation checklist**:\n  - Mark items based on which docs were updated (README, API docs, code comments)\n  - Check if CONTRIBUTING.md guidelines followed\n\n- [ ] **Security checklist**:\n  - Scan commits for potential secrets or credentials\n  - Flag if authentication\u002Fauthorization code changed\n  - Note any dependency updates\n\n#### 3.4. Prompt User for Information That Cannot Be Deduced\n**IMPORTANT: Don't just ask - analyze and propose answers, then let user confirm or correct**\n\nFor each item, use available context to propose an answer, then present it to the user for confirmation:\n\n- [ ] **Manual testing results**:\n  - **Analyze PRD testing strategy section** to understand what testing was planned\n  - **Check git commits** for testing-related messages\n  - **Propose testing approach** based on change type (e.g., \"Documentation reviewed for accuracy and clarity, cross-references validated\")\n  - Present proposal and ask: \"Is this accurate, or would you like to modify?\"\n\n- [ ] **Breaking changes**:\n  - **Scan commits and PRD** for breaking change indicators\n  - If detected, **propose migration guidance** based on PRD content\n  - If not detected, **confirm**: \"No breaking changes detected. Correct?\"\n\n- [ ] **Performance implications**:\n  - **Analyze change type**: Documentation\u002Fconfig changes typically have no performance impact\n  - **Propose answer** based on analysis (e.g., \"No performance impact - documentation only\")\n  - Ask: \"Correct, or are there performance considerations?\"\n\n- [ ] **Security considerations**:\n  - **Check if security-sensitive files** were modified (auth, credentials, API keys)\n  - **Scan commits** for security-related keywords\n  - **Propose security status** (e.g., \"No security implications - documentation changes only\")\n  - Ask: \"Accurate, or are there security considerations to document?\"\n\n- [ ] **Reviewer focus areas**:\n  - **Analyze PRD objectives** and **git changes** to identify key areas\n  - **Propose specific focus areas** (e.g., \"Verify documentation accuracy, check cross-reference links, confirm workflow examples match implementation\")\n  - Present list and ask: \"Are these the right focus areas, or should I adjust?\"\n\n- [ ] **Follow-up work**:\n  - **Check PRD for \"Future Enhancements\" or \"Out of Scope\" sections**\n  - **Analyze other PRDs** in `prds\u002F` directory for related work\n  - **Propose follow-up items** if any (e.g., \"Future enhancements listed in PRD: template validation, AI-powered descriptions\")\n  - Ask: \"Should I list these, or is there other follow-up work?\"\n\n- [ ] **Additional context**:\n  - **Review PRD for special considerations**\n  - **Check if this is a dogfooding\u002Ftesting PR**\n  - **Propose any relevant context** (e.g., \"This PR itself tests the enhanced workflow it documents\")\n  - Ask: \"Anything else reviewers should know?\"\n\n**Presentation Format:**\nPresent all proposed answers together in a summary format:\n```markdown\n? **Proposed PR Information** (based on analysis)\n\n**Manual Testing:** [proposed answer]\n**Breaking Changes:** [proposed answer]\n**Performance Impact:** [proposed answer]\n**Security Considerations:** [proposed answer]\n**Reviewer Focus:** [proposed list]\n**Follow-up Work:** [proposed items or \"None\"]\n**Additional Context:** [proposed context or \"None\"]\n\nPlease review and respond:\n- Type \"yes\" or \"confirm\" to accept all\n- Specify corrections for any items that need changes\n```\n\n#### 3.5. Execute Template Requirements\n**IMPORTANT: Before creating the PR, identify and execute any actionable requirements from the template**\n\n- [ ] **Analyze template for actionable instructions**:\n  - Scan template content for imperative statements, requirements, or commands\n  - Look for patterns like \"must\", \"should\", \"run\", \"execute\", \"ensure\", \"verify\"\n  - Identify bash commands in code blocks that appear to be prerequisites\n  - Extract any validation requirements mentioned in checklists\n\n- [ ] **Categorize identified requirements**:\n  - **Commit-level actions**: Sign-offs, formatting, validation\n  - **Pre-submission commands**: Tests, builds, lints, format checks\n  - **Validation checks**: File existence, format compliance, content requirements\n  - **Documentation actions**: Required updates, links to add\n\n- [ ] **Propose and execute requirements**:\n  - Present identified requirements to user: \"Template specifies these actions: [list]\"\n  - For each requirement, determine if it can be automated\n  - Propose execution: \"Should I execute these now?\"\n  - Execute confirmed actions and report results\n  - Handle failures gracefully and ask user how to proceed\n\n- [ ] **Summary before PR creation**:\n  ```markdown\n  ✅ Template Requirements Status:\n  [List each requirement with status: executed\u002Fvalidated\u002Fskipped\u002Ffailed]\n\n  Ready to create PR? (yes\u002Fno)\n  ```\n\n#### 3.6. Detect and Apply PR Label (if release.yml exists)\n\n**IMPORTANT: Only apply labels if `.github\u002Frelease.yml` exists - fully dynamic based on that file**\n\n- [ ] **Check for `.github\u002Frelease.yml`**:\n  - If file exists → Proceed with label detection\n  - If file doesn't exist → Skip label detection, proceed to create PR without labels\n\n- [ ] **If release.yml exists, parse it to understand available categories and labels**:\n  - Read the YAML file\n  - Extract all category definitions with their associated labels\n  - Build a mapping of: category → list of labels\n  - Note the category order (categories listed first are typically more important)\n\n- [ ] **Analyze PR characteristics**:\n  - **Primary change type**: What is the MAIN purpose of this PR?\n  - **File changes**: Types of files modified (extensions, paths, purposes)\n  - **Change scope**: Which areas of codebase affected\n  - **Commit messages**: Keywords, patterns, prefixes\n  - **PR title and description**: Keywords indicating change type\n  - **PRD context**: Original problem\u002Fsolution description\n\n- [ ] **Select the SINGLE best-matching label**:\n  - For each category in release.yml, score how well it matches the PR's PRIMARY purpose\n  - Consider the importance hierarchy from release.yml:\n    - Breaking changes > New features > Bug fixes > Documentation > Dependencies > Other\n  - Select ONE label from the category that BEST represents the main change\n  - **Why single label?**: Prevents PRs from appearing in multiple release note categories\n  - **Selection priority**:\n    1. If any breaking changes → use `breaking-change` or `breaking`\n    2. If primarily new functionality → use `feat`, `feature`, or `enhancement`\n    3. If primarily fixing bugs → use `fix`, `bug`, or `bugfix`\n    4. If primarily documentation → use `documentation` or `docs`\n    5. If primarily dependencies → use `dependencies`, `deps`, or `dependency`\n    6. Otherwise → no specific label needed (will appear in \"Other Changes\")\n\n- [ ] **Apply detected label**: Add the single best-matching label to the PR creation command\n  - Example: `gh pr create --title \"...\" --body \"...\" --label \"fix\"`\n\n#### 3.7. Create Pull Request\n- [ ] **Construct PR body**: Combine auto-filled and user-provided information following template structure\n- [ ] **Create PR**:\n  - If label detected: `gh pr create --title \"[title]\" --body \"[body]\" --label \"[single-label]\"`\n  - If no release.yml or no matching label: `gh pr create --title \"[title]\" --body \"[body]\"`\n- [ ] **Verify PR created**: Confirm PR was created successfully, template populated correctly, and label applied (if applicable)\n- [ ] **Request reviews**: Assign appropriate team members for code review if specified\n\n#### 3.8. Fallback for Projects Without Templates\nIf no PR template is found, create a sensible default structure:\n\n```markdown\n## Description\n[What this PR does and why]\n\n## Related Issues\nCloses #[issue-id]\n\n## Changes Made\n- [List key changes]\n\n## Testing\n- [Testing approach and results]\n\n## Documentation\n- [Documentation updates made]\n```\n\n### 4. Review and Merge Process\n- [ ] **Check ongoing processes**: Use `gh pr checks [pr-number]` to check for any ongoing CI\u002FCD, security analysis, or automated reviews (CodeRabbit, CodeQL, etc.)\n- [ ] **Check PR details**: Use `gh pr view [pr-number]` to check for human review comments and PR metadata\n- [ ] **Review all automated feedback**: Check PR comments section for automated code review feedback (bots, linters, analyzers)\n  - **Use multiple methods to capture all feedback**:\n    - **MCP servers** (preferred when available): Use any available MCP servers for comprehensive review data\n      - Code review MCPs (e.g., CodeRabbit, custom review servers) for detailed AI code reviews\n      - Check available MCP tools\u002Ffunctions related to code reviews, pull requests, or automated feedback\n    - CLI commands: `gh pr view [pr-number]`, `gh pr checks [pr-number]`, `gh api repos\u002Fowner\u002Frepo\u002Fpulls\u002F[pr-number]\u002Fcomments`\n    - **Web interface inspection**: Fetch the PR URL directly to capture all comments, including inline code suggestions that CLI tools may miss\n    - Look for comments from automated tools (usernames ending in 'ai', 'bot', or known review tools)\n- [ ] **Present ALL code review findings**: ALWAYS present every review comment to the user, regardless of severity\n  - **Show ALL comments**: Present every suggestion, nitpick, and recommendation - do not filter or omit any\n  - **Categorize findings**: Critical, Important, Optional\u002FNitpick based on impact\n  - **Provide specific examples**: Quote actual suggestions and their locations\n  - **Explain assessment**: Why each category was assigned\n  - **User decision**: Let user decide which improvements to implement before merge (critical items must be addressed, others are user's choice)\n- [ ] **Assess feedback priority**: Categorize review feedback\n  - **Critical**: Security issues, breaking changes, test failures - MUST address before merge\n  - **Important**: Code quality, maintainability, performance - SHOULD address for production readiness\n  - **Optional**: Style preferences, minor optimizations - MAY address based on project standards\n- [ ] **Wait for ALL reviews to complete**: Do NOT merge if any reviews are pending or in progress, including:\n  - **Automated code reviews** (CodeRabbit, CodeQL, etc.) - Must wait until complete even if CI passes\n  - **Security analysis** - Must complete and pass\n  - **CI\u002FCD processes** - All builds and tests must pass\n  - **Human reviews** - If requested reviewers haven't approved\n  - **CRITICAL**: Never skip automated code reviews - they provide valuable feedback even when CI passes\n- [ ] **Address review feedback**: Make required changes from code review (both automated and human)\n  - Create additional commits on the feature branch to address feedback\n  - Update tests if needed to cover suggested improvements\n  - Document any feedback that was intentionally not addressed and why\n- [ ] **Verify all checks pass**: Ensure all CI\u002FCD, tests, security analysis, and automated processes are complete and passing\n- [ ] **Final review**: Confirm the PR addresses the original PRD requirements and maintains code quality\n- [ ] **Merge to main**: Complete the pull request merge only after all feedback addressed and processes complete\n- [ ] **Verify deployment**: Ensure feature works in production environment\n- [ ] **Monitor for issues**: Watch for any post-deployment problems\n\n### 5. Issue Closure\n- [ ] **Update issue PRD link**: Update the GitHub issue description to reference the new PRD path in `.\u002Fprds\u002Fdone\u002F` directory\n- [ ] **Close GitHub issue**: Add final completion comment and close\n- [ ] **Archive artifacts**: Save any temporary files or testing data if needed\n- [ ] **Team notification**: Announce feature completion to relevant stakeholders\n\n### 6. Branch Cleanup\n- [ ] **Switch to main branch**: `git checkout main`\n- [ ] **Pull latest changes**: `git pull origin main` to ensure local main is up to date\n- [ ] **Delete local feature branch**: `git branch -d feature\u002Fprd-[issue-id]-[feature-name]`\n- [ ] **Delete remote feature branch**: `git push origin --delete feature\u002Fprd-[issue-id]-[feature-name]`\n\n## Success Criteria\n✅ **Feature is live and functional**  \n✅ **All tests passing in production**  \n✅ **Documentation is accurate and complete**  \n✅ **PRD issue is closed with completion summary**  \n✅ **Team is notified of feature availability**\n\nThe PRD implementation is only considered done when users can successfully use the feature as documented.\n\n",{"name":5,"description":7,"user-invocable":40},true,"main","6faa9f452f568fc9aa9b1c17ee728de11b760cb7",".claude\u002Fskills\u002Fdot-ai-prd-done",1,"https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp","https:\u002F\u002Fgithub.com\u002Fvfarcic","https:\u002F\u002Fyoutube.com\u002Fc\u002Fdevopstoolkit","Developer Advocate @Upbound","2026-06-19 10:10:13",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":40},[52,55,58],{"tool":53,"command":54},"npx","npx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-prd-done",{"tool":56,"command":57},"bunx","bunx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-prd-done",{"tool":59,"command":60},"pnpm","pnpm dlx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-prd-done","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-prd-done\u002FSKILL.md",[],[64,89,107,120,134,144],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":35},"01M6CX45JYT898C3M792AXA5HS","dot-ai","Kubernetes cluster operations via dot-ai CLI - natural language cluster queries, AI-powered deployment recommendations, issue troubleshooting and remediation, Day 2 operations (scale, update, rollback, delete), resources, namespaces, events, logs, organizational knowledge base (ingest, search, query), organizational patterns\u002Fpolicies\u002Fcapabilities management, project scaffolding and repo audit, and session history and visualization. Run `dot-ai --help` for commands.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai\u002FSKILL.md",[],[20,22,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"visualization","delete","repo","deployment","kubernetes","capabilities","search","logs","knowledge","history","project","session","ingest","queries","natural language","query","scaffolding","knowledge base",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":35},"01M6CX42HR85829TGFQ95E7283","dot-ai-write-docs","Write documentation with real, validated examples. Executes commands through the user to capture actual output. Use for any new documentation or major doc updates.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-write-docs\u002FSKILL.md",[],[20,96,22,97,98,99,100,101,102,103,104,105,106],"docs","write","dot ai write docs","write documentation","commands","use","documentation","examples","doc","capture","user",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":35},"01M6CX4023QEXSVV5C22GG68XW","dot-ai-worktree-prd","Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-worktree-prd\u002FSKILL.md",[],[19,114,20,115,22,28,116,117,118,31,119,106],"worktree","dot ai worktree prd","git","git worktree","work","context",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":35},"01M6CX3YETQD0A9BPXXQABX0MW","dot-ai-version","Get comprehensive system health and diagnostics","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-version\u002FSKILL.md",[],[22,127,20,128,129,130,131,132,133],"dot ai version","version","diagnostics","health","system","system health","get",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":35},"01M6CX3X07RSJTPNSFEQRX9ACY","dot-ai-users","Manage users (create, list, delete)","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-users\u002FSKILL.md",[],[22,141,20,28,72,142,143],"dot ai users","list","manage",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":35},"01M6CX3T6YE6PVSBJGP2WSXM9J","dot-ai-tag-release","Create a release tag based on accumulated changelog fragments. Run when ready to cut a release.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-tag-release\u002FSKILL.md",[],[22,151,20,152,28,153,154,155],"dot ai tag release","release","run","changelog","ready"]