Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dot-ai-prd-next

БесплатноБез исполняемых скриптовНе проверен

Analyze existing PRD to identify and recommend the single highest-priority task to work on next

vfarcicот vfarcic★ 340 звёзд на GitHub

Об этом скилле

PRD Next - Work On the Next Task

Instructions

You are helping analyze an existing Product Requirements Document (PRD) to suggest the single highest-priority task to work on next, then discuss its design if the user confirms they want to work on it.

Process Overview

  1. Check Context Clarity - Determine if PRD is obvious from recent conversation
  2. Auto-Detect Target PRD - If context unclear, intelligently determine which PRD to analyze
  3. Analyze Current Implementation - Understand what's implemented vs what's missing (skip if recent context available)
  4. Identify the Single Best Next Task - Find the one task that should be worked on next
  5. Present Recommendation - Give clear rationale and wait for confirmation
  6. Design Discussion - If confirmed, dive into implementation design details
  7. Implementation - User implements the task
  8. Update Progress - Prompt user to run /prd-update-progress

Step 0: Context Awareness Check

FIRST: Check if PRD context is already clear from recent conversation:

Skip detection/analysis if recent conversation shows:

  • Recent PRD work discussed - "We just worked on PRD 29", "Just completed PRD update", etc.
  • Specific PRD mentioned - "PRD #X", "MCP Prompts PRD", etc.
  • PRD-specific commands used - Recent use of /prd-update-progress, /prd-start with specific PRD
  • Clear work context - Discussion of specific features, tasks, or requirements for a known PRD

If context is clear:

  • Skip to Step 6 (Single Task Recommendation) using the known PRD
  • Use conversation history to understand current state and recent progress
  • Proceed directly with task recommendation based on known PRD status

If context is unclear:

  • Continue to Step 1 (PRD Detection) for full analysis

Step 1: Smart PRD Detection (Only if Context Unclear)

Auto-detect the target PRD using these context clues (in priority order):

  1. Git Branch Analysis - Check current branch name for PRD patterns:

    • feature/prd-12-* → PRD 12
    • prd-13-* → PRD 13
    • feature/prd-* → Extract PRD number
  2. Recent Git Commits - Look at recent commit messages for PRD references:

    • "fix: PRD 12 documentation" → PRD 12
    • "feat: implement prd-13 features" → PRD 13
  3. Git Status Analysis - Check modified/staged files for PRD clues:

    • Modified prds/12-*.md → PRD 12
    • Changes in feature-specific directories
  4. Available PRDs Discovery - List all PRDs in prds/ directory:

    • prds/12-documentation-testing.md
    • prds/13-cicd-documentation-testing.md
  5. Fallback to User Choice - Only if context detection fails, ask user to specify

PRD Detection Implementation:

# Use these tools to gather context:
# 1. Check git branch: gitStatus shows current branch
# 2. Check git status: Look for modified PRD files  
# 3. List PRDs: Use LS or Glob to find prds/*.md files
# 4. Recent commits: Use Bash 'git log --oneline -n 5' for recent context

Detection Logic:

  • High Confidence: Branch name matches PRD pattern (e.g., feature/prd-12-documentation-testing)
  • Medium Confidence: Modified PRD files in git status or recent commits mention PRD
  • Low Confidence: Multiple PRDs available, use heuristics (most recent, largest)
  • No Context: Present available options to user

Example Detection Outputs:

🎯 **Auto-detected PRD 12** (Documentation Testing)
- Branch: `feature/prd-12-documentation-testing` ✅
- Modified files: `prds/12-documentation-testing.md` ✅
- Recent commits mention PRD 12 features ✅

Once PRD is identified:

  • Read the PRD file from prds/[issue-id]-[feature-name].md
  • Analyze completion status across all sections
  • Identify patterns in completed vs remaining work

Step 2: Documentation & Implementation Analysis (Only if Context Unclear)

Before assessing task priorities, analyze both the documented specifications and current implementation state:

Documentation Analysis (Documentation-First PRDs)

For PRDs using the documentation-first approach:

  • Read referenced documentation: Check the "Content Location Map" in PRD to find where feature specs live
  • Understand target state: What functionality is documented but not yet implemented
  • Check documentation completeness: Are all user workflows and examples fully documented
  • Validate cross-references: Do all documentation links and references work correctly

Code Discovery

  • Search for related files: Use Grep/Glob to find files related to the feature
  • Identify key modules: Locate main implementation files mentioned in PRD
  • Find test files: Discover existing test coverage for the feature
  • Check dependencies: Review imports and module relationships

Implementation vs Documentation Gap Analysis

  • Compare docs vs code: What's documented vs actually implemented
  • Partial implementations: Identify half-finished features or TODO comments
  • **Documentatio
Полный SKILL.md на GitHub

Установить dot-ai-prd-next в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dot-ai-prd-next?

Analyze existing PRD to identify and recommend the single highest-priority task to work on next

Как установить скилл dot-ai-prd-next?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dot-ai-prd-next запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dot-ai-prd-next с