Logo Create Tasks

Create Tasks

Cộng đồng
etr
create-tasks

Generate implementation tasks from architecture document. Usage /groundwork:create-tasks

Tổng quan

Nhà phát hànhetr
Kho mãgroundwork
Tên kỹ năngcreate-tasks
Sao
45
Bản fork
4
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được etr công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Create Tasks trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/etr/groundwork/tree/main/skills/create-tasks
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/etr/groundwork.git /tmp/groundwork
mkdir -p .claude/skills
cp -r /tmp/groundwork/skills/create-tasks .claude/skills/create-tasks
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Create Tasks trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Create Tasks ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Create Tasks không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Task Generation Skill

Translates product specs and architecture into actionable implementation tasks.

Pre-flight: Model Recommendation

Your current effort level is {{effort_level}}.

Skip this step silently if effort is high, xhigh, or max (the scale is low < medium < high < xhigh < max, so xhigh and max are already above high) AND you are Opus (1M context). If effort is low or medium (i.e. below high), you MUST show the recommendation prompt — regardless of model. If you are not Opus (1M context), you MUST show the recommendation prompt - regardless of effort level.

Otherwise → use AskUserQuestion:

json
{
  "questions": [{
    "question": "Do you want to switch? Task granularity judgment and vertical slicing decisions determine execution success.\n\nTo switch: cancel, run `/model opus[1m]` and `/effort high`, then re-invoke this skill.",
    "header": "Recommended: Opus (1M context) at high effort",
    "options": [
      { "label": "Continue" },
      { "label": "Cancel — I'll switch first" }
    ],
    "multiSelect": false
  }]
}

If the user selects "Cancel — I'll switch first": output the switching commands above and stop. Do not proceed with the skill.

Step 0: Resolve Project Context

Before loading specs, ensure project context is resolved:

  1. Monorepo check: Does .groundwork.yml exist at the repo root?
    • If yes → Is {{project_name}} non-empty?
      • If empty → Invoke Skill(skill="groundwork:select-project") to select a project, then restart this skill.
      • If set → Project is {{project_name}}, specs at {{specs_dir}}/.
    • If no → Continue (single-project repo).
  2. CWD mismatch check (monorepo only):
    • Skip if not in monorepo mode or if the project was just selected in item 1 above.
    • If CWD is the repo root → fine, proceed.
    • Check which project's path CWD falls inside (compare against all projects in .groundwork.yml).
    • If CWD is inside the selected project's path → fine, proceed.
    • If CWD is inside a different project's path → warn via AskUserQuestion:

      "You're working from <cwd> (inside [cwd-project]), but the selected Groundwork project is [selected-project] ([selected-project-path]/). What would you like to do?"

      • "Switch to [cwd-project]"
      • "Stay with [selected-project]" If the user switches, invoke Skill(skill="groundwork:select-project").
    • If CWD doesn't match any project → proceed without warning (shared directory).
  3. Proceed with the resolved project context. All {{specs_dir}}/ paths will resolve to the correct location.

File Locations

  • Input:
    • {{specs_dir}}/product_specs.md (PRD with EARS requirements)
    • {{specs_dir}}/architecture.md (architecture with decision records)
    • {{specs_dir}}/design_system.md (design system with DP/BRD/UXD decisions) - optional
  • Output: {{specs_dir}}/tasks/ directory with per-milestone subdirectories:
    specs/tasks/
    ├── _index.md          # Overview, milestone summary, dependency graph
    ├── M1-core-auth/
    │   ├── TASK-001.md
    │   ├── TASK-002.md
    │   └── TASK-003.md
    ├── M2-upload/
    │   ├── TASK-004.md
    │   └── TASK-005.md
    └── parking-lot.md     # Deferred tasks

Workflow Overview

  1. Load Context - Read PRD and architecture
  2. Identify Milestones - Define testable product milestones
  3. Generate Tasks - Break down into implementable tasks
  4. Map Dependencies - Establish task ordering
  5. Review & Refine - Iterate with user on task breakdown

Important: When asking questions to the user (milestone validation, task review, scope clarification), always use the AskUserQuestion tool with appropriate options.

Step 1: Load Context

Read the input specs (each may be a single file or directory) and extract:

From PRD:

  • Single file: {{specs_dir}}/product_specs.md
  • Directory: {{specs_dir}}/product_specs/ (aggregate all .md files)
  • Extract: Feature list with EARS requirements, Non-functional requirements, Release strategy (Alpha → Beta → GA)

From Architecture:

  • Single file: {{specs_dir}}/architecture.md
  • Directory: {{specs_dir}}/architecture/ (aggregate all .md files)
  • Extract: Component list and responsibilities, Technology choices, Decision records (understand constraints)

From Design System (if exists):

  • Single file: {{specs_dir}}/design_system.md
  • Extract: Design principles (DP-NNN), Brand decisions (BRD-NNN), UX patterns (UXD-NNN)
  • Use for: Design-related tasks, component styling tasks, accessibility requirements

Detection: Check for file first (takes precedence), then directory. When reading a directory, aggregate all .md files recursively with _index.md first, then numerically-prefixed files, then alphabetically.

If PRD or architecture is missing, prompt user:

"I need both the PRD and architecture to generate tasks.

  • PRD missing? Run /groundwork:design-product
  • Architecture missing? Run /groundwork:design-architecture"

If design system exists, incorporate design context into UI/frontend tasks.

Step 2: Check Existing Tasks and Milestones

Before defining milestones, check if tasks already exist:

  1. Check for {{specs_dir}}/tasks/_index.md or {{specs_dir}}/tasks.md
  2. If found, read to understand existing milestones, task numbering, and status

If existing tasks found:

  • List existing milestones and their status (complete, in progress, not started)
  • Determine the highest task number (e.g., TASK-047) so new tasks continue the sequence
  • Determine the highest milestone number (e.g., M5) so new milestones continue the sequence
  • Present to user: "Found existing milestones M1-M5 with 47 tasks. New tasks will be added as TASK-048+."
  • Ask: "Should this new work be added to an existing milestone, or should I create a new milestone M6?"

If no existing tasks: Proceed to define milestones from scratch.

Step 2b: Define Milestones

If adding to existing project: Either add tasks to a user-selected existing milestone directory, or create a new milestone directory continuing the sequence (e.g., M6-feature-name/).

If starting fresh: Establish product milestones - points where the application can be assessed by a user.

Milestone principles:

  • Vertically sliced - Each milestone delivers user-visible value
  • Testable - Clear criteria for "done"
  • Incremental - Build on previous milestones
  • Aligned with release strategy - Map to Alpha/Beta/GA phases

Example milestone progression:

M1: Core Authentication
    → User can sign up, log in, see empty dashboard

M2: Upload & Verification
    → User can upload images, complete identity verification

M3: Model Training
    → User can initiate training, see progress, view completion

M4: Basic Generation
    → User can generate images with their model

M5: Billing Integration
    → User can subscribe, see quota, pay for overages

Present proposed milestones to user for feedback before generating tasks.

Presentation style:

  • Present milestones one at a time, confirm understanding before continuing
  • Use multiple-choice questions to validate milestone scope (e.g., "Should M1 include: A) just signup, B) signup + login, C) full auth flow?")

Step 3: Research Implementation Patterns

For major technologies in the architecture, gather implementation guidance before generating tasks.

For each significant technology in the architecture:

  1. Invoke the researcher agent:

    Agent(
      subagent_type="groundwork:researcher:researcher",
      prompt="Research Topic: [technology from architecture]
      Research Questions:
      - What is the standard project structure?
      - What are idiomatic patterns for [component type]?
      - What are common implementation mistakes?
      - What setup/configuration pitfalls exist?
    
      Project Context: [from PRD]
      Architecture Decisions: [relevant DRs]"
    )
  2. Use research findings to:

    • Inform task granularity (patterns suggest natural boundaries)
    • Add specific action items based on best practices
    • Include pitfall-avoiding acceptance criteria
    • Add "setup correctly" tasks for technologies with gotchas

Research Integration: When generating tasks in Step 4, incorporate research findings:

  • Reference idiomatic patterns in action items
  • Include pitfall-prevention in acceptance criteria
  • Add explicit setup/configuration tasks when research reveals gotchas
  • Use recommended project structure to inform task boundaries

Step 4: Generate Tasks

For each milestone, generate tasks using the format specified in the "Required Task Format" section below.

Required Task Format

Every task MUST follow this exact format to ensure compatibility with /groundwork:work-on-next-task and other workflows:

markdown
### TASK-NNN: [Task Title]

**Milestone:** M[X] - [Milestone Name]
**Component:** [Component from architecture]
**Estimate:** S | M | L | XL

**Goal:**
[One sentence describing the outcome]

**Action Items:**
- [ ] [Action 1]
- [ ] [Action 2]
- [ ] [Action 3]

**Dependencies:**
- Blocked by: [TASK-XXX, TASK-YYY or None]
- Blocks: [TASK-ZZZ or None]

**Acceptance Criteria:**
- [Testable criterion 1]
- [Testable criterion 2]

**Related Requirements:** PRD-XXX-REQ-NNN
**Related Decisions:** DR-NNN, DP-NNN, BRD-NNN, UXD-NNN

**Status:** Not Started | In Progress | Complete | Blocked

Format Requirements

FieldRequiredValid Values
Task IDYesTASK-NNN (3+ digit number)
MilestoneYesM[N] - [Name]
ComponentYesFrom architecture document
EstimateYesS, M, L, or XL
GoalYesSingle sentence
Action ItemsYesCheckbox list
DependenciesYesTask IDs or "None"
Acceptance CriteriaYesTestable statements
Related RequirementsRecommendedPRD IDs
Related DecisionsRecommendedDR/DP/BRD/UXD IDs
StatusYesExactly one of the four values

Status Values

  • **Status:** Not Started - Task hasn't begun
  • **Status:** In Progress - Currently being worked on
  • **Status:** Complete - Task finished and verified
  • **Status:** Blocked - Cannot proceed due to dependencies

Important: /groundwork:work-on-next-task parses these status values exactly. Any variation will cause parse errors.

Task Generation Principles

Granularity

  • Too big: "Implement authentication" (weeks of work, unclear scope)
  • Too small: "Create login button component" (not meaningful alone)
  • Right size: "Implement Cognito integration with magic link flow" (days, clear scope)

Target: 1-3 days of work per task for an experienced developer.

Vertical Slicing

Prefer tasks that deliver working functionality over horizontal layers (the thin vertical slice principle — ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md):

❌ Horizontal (avoid):

  • TASK-001: Create all database schemas
  • TASK-002: Create all API endpoints
  • TASK-003: Create all UI components

✅ Vertical (prefer):

  • TASK-001: User signup flow (DB + API + UI)
  • TASK-002: User login flow (DB + API + UI)
  • TASK-003: Profile management (DB + API + UI)

Decomposition is the planning side of slicing. Each sliced task is then built the same way — flag-first, end-to-end, test-committed per slice; see [[vertical-slice]].

Dependency Minimization

  • Identify true dependencies vs. nice-to-haves
  • Parallelize where possible
  • Flag critical path tasks

YAGNI for Tasks

  • Only create tasks for committed scope, not speculative features
  • Challenge tasks that exist "just in case" or "for later"
  • If unsure whether a task is needed, defer it to a future milestone
  • Ask: "Is this task essential for the milestone, or is it gold-plating?"

Acceptance Criteria

Each criterion must be something that can be verified - checked or tested, not vague.

Good criteria (verifiable):

  • "Add status column to tasks table with default 'pending'"
  • "Filter dropdown has options: All, Active, Completed"
  • "Clicking delete shows confirmation dialog"
  • "Typecheck passes"
  • "Tests pass"

Bad criteria (vague):

  • "Works correctly"
  • "User can do X easily"
  • "Good UX"
  • "Handles edge cases"

Standard criteria to include:

  • Always end with: "Typecheck passes"
  • For stories with testable logic, also include: "Tests pass"

Step 5: Map Dependencies

Create a dependency graph showing:

  • Which tasks can run in parallel
  • Critical path (longest chain of dependencies)
  • Milestone boundaries

Format as both:

  1. List view - Dependencies noted on each task
  2. Graph view - ASCII diagram showing parallel tracks
M1: Auth
├── TASK-001: Cognito setup ─────────────────────┐
├── TASK-002: Auth API (depends: 001) ───────────┼──┐
├── TASK-003: Login UI (depends: 002) ───────────┘  │
└── TASK-004: Session management (depends: 002) ────┘

M2: Upload
├── TASK-005: S3 bucket setup (parallel with M1) 
├── TASK-006: Upload API (depends: 002, 005) ────┐
└── TASK-007: Upload UI (depends: 006) ──────────┘

Step 6: Review & Refine

Present the complete task list organized by milestone. Ask:

"Here's the task breakdown for [Milestone X].

  • Are the task sizes appropriate for your team?
  • Any missing tasks or unnecessary ones?
  • Do the dependencies look right?
  • Should any tasks be split or combined?"

Iterate until user approves, then write task files to {{specs_dir}}/tasks/.

Output structure:

  1. Create or update {{specs_dir}}/tasks/_index.md with overview, milestone summary table, dependency graph, task status table, and critical path
  2. For each new milestone, create a directory: {{specs_dir}}/tasks/M{N}-{slug}/ (e.g., M1-core-auth/)
  3. Write one file per task: {{specs_dir}}/tasks/M{N}-{slug}/TASK-{NNN}.md
  4. Each task file is self-contained — includes all fields from the Required Task Format
  5. Write or update {{specs_dir}}/tasks/parking-lot.md for deferred tasks (if any)

Task status table in _index.md (required — used by /groundwork:work-on-next-task to find work without reading every task file):

markdown
### Task Status

| # | Task | Milestone | Status | Blocked by |
|---|------|-----------|--------|------------|
| TASK-001 | Auth setup | M1 | Not Started | None |
| TASK-002 | Login UI | M1 | Not Started | TASK-001 |

If adding to existing tasks:

  • Update _index.md — add new rows to the status table, add the new milestone to the summary table, extend the dependency graph
  • Continue task numbering from the highest existing task number
  • Do NOT regenerate or modify existing milestone directories or task files

Progressive presentation:

  • Present tasks one milestone at a time
  • Wait for approval on each milestone before presenting the next
  • This catches scope creep early and keeps stakeholders engaged

Step 7: Validate Task List

After user approves the task list and before writing final version:

You MUST call the Skill tool now: Skill(skill="groundwork:task-validation-loop")

Do NOT skip validation or declare the task list complete without running this. It ensures PRD coverage, architecture alignment, and design system compliance.

Wait for validation loop to pass before proceeding.

If validation finds issues:

  • The loop will automatically fix task list problems
  • You may be asked for input on scope decisions
  • Once all agents approve, continue to Step 8

Step 8: Suggest Next Step

After writing the tasks document, suggest the next workflow step:

"Task list created and validated with [N] tasks across [M] milestones. PRD coverage: [X]%

Next step: Run /groundwork:work-on-next-task to begin implementation, or /groundwork:work-on N to work on a specific task."

Task Categories

Common task types to ensure coverage:

CategoryExamples
InfrastructureIaC setup, CI/CD pipeline, environments
DataSchema design, migrations, seed data
BackendAPI endpoints, business logic, integrations
FrontendComponents, pages, state management
Design SystemToken setup, component styling, theme implementation
AuthIdentity setup, authorization rules
TestingUnit tests, integration tests, E2E
ObservabilityLogging, metrics, alerts
DocumentationAPI docs, runbooks, README
SecurityPen testing, security review, hardening

Design System Tasks

When {{specs_dir}}/design_system.md exists, include design-specific tasks:

Task TypeRelated DecisionsExample
Token setupDP-NNNConfigure CSS variables/Tailwind theme
Color systemBRD-001-005Implement brand palette, semantic colors
TypographyBRD-006-008Font loading, type scale utilities
Component stylingBRD-NNN, UXD-NNNButton variants, form controls
Loading statesUXD-003-004Skeleton screens, spinners
Error handlingUXD-005-006Toast system, error boundaries
Empty statesUXD-007First-run, no-data components
Responsive layoutUXD-010-011Breakpoint utilities, layout adaptation
Motion systemUXD-012Animation utilities, reduced motion

Reference design decisions in task Related Decisions field to ensure traceability.

Reference Files

  • ${CLAUDE_PLUGIN_ROOT}/references/tasks/tasks-template.md - Template for tasks document

Câu hỏi thường gặp

Kỹ năng AI Create Tasks làm được gì?

Generate implementation tasks from architecture document. Usage /groundwork:create-tasks

Vì sao nên dùng Create Tasks trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Create Tasks là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Create Tasks trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/etr/groundwork/tree/main/skills/create-tasks. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Create Tasks?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Create Tasks với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Create Tasks với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Create Tasks có miễn phí không?

Có. Kỹ năng này được etr phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇