task-prd-creator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Task & PRD Creator

任务与PRD创建工具

Overview

概述

Create structured task files and PRDs before implementing features. This ensures proper planning, documentation, and clear scope definition.
CRITICAL RULE: Never implement a feature without first creating the task + PRD files and getting user approval.
在实现功能前创建结构化任务文件和PRD,确保规划得当、文档齐全且范围定义清晰。
核心规则: 在未创建任务+PRD文件并获得用户批准前,绝不要实现任何功能。

When This Activates

触发场景

  • "I want to add [feature]"
  • "Implement [feature]"
  • "Create a task for [feature]"
  • "Plan this feature"
  • User describes a user story
  • Bug that needs tracking
  • “我想添加[功能]”
  • “实现[功能]”
  • “为[功能]创建任务”
  • “规划这个功能”
  • 用户描述用户故事
  • 需要跟踪的Bug

The Workflow

工作流程

Step 1: Understand Request

步骤1:理解需求

  • Simple task: <1 hour, few files
  • Complex feature: >1 hour, multiple files/systems
  • 简单任务: 耗时<1小时,涉及少量文件
  • 复杂功能: 耗时>1小时,涉及多个文件/系统

Step 2: Gather Requirements

步骤2:收集需求信息

  • Which app/project?
  • Priority? (CRITICAL/High/Medium/Low)
  • Dependencies?
  • 针对哪个应用/项目?
  • 优先级?(CRITICAL/High/Medium/Low)
  • 依赖项?

Step 3: Check Existing System

步骤3:检查现有系统

  • Read architecture docs
  • Search for similar implementations
  • 阅读架构文档
  • 查找类似的实现案例

Step 4: Create Files

步骤4:创建文件

Task file:
[project]/.agents/TASKS/[task-name].md
PRD file:
[project]/.agents/PRDS/[task-name].md
任务文件:
[project]/.agents/TASKS/[task-name].md
PRD文件:
[project]/.agents/PRDS/[task-name].md

Step 5: Get Approval

步骤5:获得批准

Present files, explain approach, WAIT for user approval.
提交文件,说明实现方案,等待用户批准

Task File Format

任务文件格式

markdown
undefined
markdown
undefined

Task: [Feature Name]

Task: [Feature Name]

ID: feature-name-slug Label: [App]: [Feature Name] Description: Brief description Type: Feature | Bug | Enhancement Status: Backlog | To Do | Testing | Done Priority: High | Medium | Low Created: YYYY-MM-DD Updated: YYYY-MM-DD PRD: Link
undefined
ID: feature-name-slug Label: [App]: [Feature Name] Description: Brief description Type: Feature | Bug | Enhancement Status: Backlog | To Do | Testing | Done Priority: High | Medium | Low Created: YYYY-MM-DD Updated: YYYY-MM-DD PRD: Link
undefined

Critical Rules

核心规则

  1. Create task file
  2. Create PRD file
  3. Link them together
  4. Present to user
  5. Get approval
  6. Then implement
  1. 创建任务文件
  2. 创建PRD文件
  3. 将两者关联
  4. 提交给用户
  5. 获得批准
  6. 再进行实现

Red Flags (Stop and Ask)

警示信号(停止并询问)

  • Breaking changes
  • Affects multiple projects
  • Security implications
  • Unclear requirements
  • 破坏性变更
  • 影响多个项目
  • 安全隐患
  • 需求不明确

Integration

集成工具

  • mvp-architect
    - MVP scoping
  • planning-assistant
    - Content planning
  • agent-folder-init
    - Initialize .agents/ structure

For complete PRD template, naming conventions, status update workflow, Context7 integration, and example interactions, see:
references/full-guide.md
  • mvp-architect
    - MVP范围规划
  • planning-assistant
    - 内容规划
  • agent-folder-init
    - 初始化.agents/目录结构

完整PRD模板、命名规范、状态更新流程、Context7集成及示例交互,请参阅:
references/full-guide.md