← 返回
开发者工具 中文

Task Development Workflow

TDD-first development workflow with structured planning, task tracking, and PR-based code review. Use when building software projects that require clarificat...
采用TDD优先的开发流程,包含结构化规划、任务追踪及基于PR的代码审查。适用于需要明确需求的软件项目构建。
anikgnr
开发者工具 clawhub v1.0.0 1 版本 99853 Key: 无需
★ 0
Stars
📥 2,718
下载
💾 36
安装
1
版本
#latest

概述

Task Workflow

A structured development workflow enforcing quality through planning, TDD, and code review.

Workflow Overview

Clarify → Plan → Approve → Implement (TDD) → PR → Review → Merge → Next Task

Phase 1: Clarification

Before any implementation, ask questions to clarify:

  • Business requirements and goals
  • UI/UX flow expectations
  • Architecture decisions
  • Technical constraints
  • Ambiguous requirements

Do not proceed until requirements are clear.

Phase 2: Planning & Approval

  1. Present a detailed plan with task breakdown
  2. Keep tasks small and focused
  3. Wait for explicit approval before starting
  4. No implementation without approval

Phase 3: Task Tracking Setup

Set up Trello board (or similar) with columns:

  • 📝 Backlog
  • 📋 To Do
  • 🔨 In Progress
  • 🔍 Review
  • ✅ Done

All tasks must be tracked on the board.

Phase 4: Implementation (Per Task)

For each task:

  1. Move card to "In Progress"
  2. Write tests first (TDD):
    • Define expected behavior in tests
    • Run tests (should fail)
    • Implement the feature
    • Run tests (should pass)
  3. Commit after task completion
  4. Tests may be skipped only with explicit approval

Phase 5: Branching & PR Policy

Rules:

  • Never push directly to main
  • Never change the default branch — main must always remain default
  • Create feature branches for each task

After task completion:

  1. Open PR from task branch → main
  2. Include Trello task link in PR description
  3. Move card to "Review"
  4. Notify Reviewer with both Trello link and PR link

Phase 6: PR Feedback Loop

When CR comments arrive:

  1. Move task back to "In Progress"
  2. Address all review comments
  3. Push fixes
  4. Notify Reviewer to re-review (include both links)

Repeat until approved.

Phase 7: Merge Gate

  • Only pick the next task after current PR is merged
  • Move completed card to "Done"
  • Then proceed to next task from "To Do"

Flow Diagram

Backlog → To Do → In Progress → Review → Done
                      ↑            │
                      └─── CR ─────┘

New Project Bootstrap

For new projects:

  1. Create repository with initial README
  2. Push to remote
  3. Then begin implementation tasks

Key Principles

  • Quality over speed — TDD catches bugs early
  • Small tasks — easier to review and merge
  • Clear communication — always notify reviewers
  • No shortcuts — follow the process every time

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 22:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,473
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,385
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927