dot-ai-prd-close
БесплатноБез исполняемых скриптовНе проверенClose a PRD that is already implemented or no longer needed
от vfarcic★ 340 звёзд на GitHubОб этом скилле
Close PRD
Close a PRD that is already implemented (in previous work or external projects) or is no longer needed. This workflow updates the PRD status, archives it, updates the GitHub issue, and commits directly to main without triggering CI.
When to Use This Command
Use /prd-close when:
- ✅ PRD functionality is already implemented in a separate project or previous work
- ✅ PRD is no longer relevant (superseded, requirements changed, out of scope)
- ✅ PRD requirements are satisfied by existing functionality
- ✅ No new code implementation is needed in this repository
DO NOT use /prd-close when:
- ❌ You just finished implementing the PRD (use
/prd-doneinstead) - ❌ PRD has active implementation work in progress
- ❌ There are uncommitted code changes that need to be part of a PR
Usage
# Interactive mode - will prompt for PRD number and closure reason
/prd-close
# With PRD number
/prd-close 20
# With PRD number and reason
/prd-close 20 "Already implemented by dot-ai-controller"
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/
Workflow Steps
Step 1: Identify PRD and Reason
If PRD number not provided:
- Check conversation context for recent PRD discussion
- Check git branch for PRD indicators (e.g.,
feature/prd-X) - If unclear, prompt user for PRD number
Closure Reason Categories:
- Already Implemented: Functionality exists in external project or previous work
- No Longer Needed: Requirements changed, out of scope, or superseded
- Duplicate: Another PRD covers the same functionality
- Deferred: Moved to future version or different project
Required Information:
- PRD number
- Closure reason (brief description)
- Implementation reference (if already implemented): link to repo, PR, or documentation
Step 2: Read and Validate PRD
Read the current PRD file from prds/[number]-*.md:
Validation checks:
- PRD file exists and is readable
- Confirm with user that this PRD should be closed
- Verify closure reason makes sense given PRD content
- Ask user for implementation evidence (if "already implemented")
Present PRD summary to user:
## PRD #X: [Title]
**Status**: [Current Status]
**Created**: [Date]
**Summary**: [Brief description of what PRD requested]
**Proposed Action**: Close as [reason]
**Implementation Reference**: [If applicable]
Proceed with closure? (yes/no)
Step 3: Update PRD File
Update the PRD metadata:
Metadata Updates:
**Status**: Complete [or] No Longer Needed [or] Duplicate
**Last Updated**: [Current Date]
**Completed**: [Current Date] [or] **Closed**: [Current Date]
Step 4: Move PRD to Archive
Move the PRD file to the done directory and update roadmap:
git mv prds/[number]-[name].md prds/done/
Note: If the move fails because prds/done/ doesn't exist, create it with mkdir -p prds/done and retry.
Update ROADMAP.md (if it exists):
- Check if
docs/ROADMAP.mdexists - Remove the closed PRD from the roadmap (search for "PRD #[number]")
- Remove the entire line that references this PRD
- Closed PRDs should not appear in future roadmap as they're no longer being worked on
Step 5: Update GitHub Issue
Reopen issue temporarily to update:
gh issue reopen [number]
Update issue description with new PRD path and status:
gh issue edit [number] --body "$(cat <<'EOF'
## PRD: [Title]
**Problem**: [Original problem statement]
**Solution**: [Original solution statement]
**Detailed PRD**: See [prds/done/[number]-[name].md](./prds/done/[number]-[name].md)
**Priority**: [Original Priority]
**Status**: ✅ **[COMPLETE/CLOSED]** - [Brief reason]
EOF
)"
Step 6: Close GitHub Issue
Close the issue with comprehensive closure comment:
gh issue close [number] --comment "$(cat <<'EOF'
## ✅ PRD #[number] Closed - [Reason Category]
[Detailed explanation of why PRD is being closed]
### [If "Already Implemented"]
**Implementation Details**
This PRD requested [functionality]. **All core requirements are satisfied** by [implementation reference].
| Requirement | Implementation | Status |
|-------------|----------------|--------|
| [Requirement 1] | [Where implemented] | ✅ Complete |
| [Requirement 2] | [Where implemented] | ✅ Complete |
**Implementation Reference**: [Link to project/repo/PR]
[If there are gaps]
**Not Implemented** (deferred or out of scope):
- [Feature X] - [Why not needed or deferred]
### [If "No Longer Needed"]
**Reason for Closure**
[Explain why requirements changed, what superseded this, or why it's out of scope]
**Alternative Approach**: [If applicable]
[What replaced this PRD or how needs are met differently]
### Files
**PRD Location**: `prds/done/[number]-[name].md`
**Status**: [Complete/Closed]
**Closed**: [Date]
EOF
)"
Установить dot-ai-prd-close в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dot-ai-prd-close?
Close a PRD that is already implemented or no longer needed
Как установить скилл dot-ai-prd-close?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dot-ai-prd-close запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic