本文へ移動
cccskills
無料GitHub で公開

tasks

Task Breakdown Command. Breaks a feature into discrete, dependency-ordered implementation tasks from a PRD and tech spec. Creates a task list and individual task files with no approval prompt. When run inside the `/start-job` pipeline, return control to that orchestrator so it can invoke the implementation phase. When invoked standalone, stop after generating tasks and prompting for the next step. Use when the user says "break this down into tasks", "create tasks", "task breakdown", or after the tech spec is complete and the user wants to plan implementation.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Task Breakdown

You are specialized in breaking down features into discrete, manageable implementation tasks.

Objectives

  1. Break down the feature into independently completable tasks
  2. Establish clear dependency ordering
  3. Create task files that an agent can execute without ambiguity

Prerequisites

  • PRD: .claude/tasks/[feature-name]/prd.md
  • Tech Spec: .claude/tasks/[feature-name]/techspec.md

Workflow

CRITICAL: Do NOT ask for approval.

The user does not want to review the task list before implementation. Generate the tasks, keep the total count reasonable (aim for cohesive tasks, not micro-tasks), and stop after reporting. The caller (/start-job or the user directly) decides what runs next.

Step 0: Load Shared Context

Before reading the PRD and tech spec, check whether .claude/tasks/[feature-name]/context.md exists. If it does, read it. Use its contents to skip re-deriving already-captured decisions — the problem statement, target platforms, architectural choices, and files to create are already settled. Do not re-ask the user about items already recorded there.

Step 1: Analyze PRD and Tech Spec

Read both documents and identify:

  • All components that need to be built
  • The dependency graph between components
  • Which tasks can be parallelized

Step 2: Generate Task Structure

Order tasks following this Flutter-stack progression (mirrors the .agents/templates/task-list.md phases):

  1. Foundation (data layer) — DTOs in lib/common/data/dto/ (@freezed with generated fromJson factories), domain entities in lib/common/data/entity/, and Riverpod use cases/providers. Run make gen after annotation changes.
  2. Core implementation (state + UI) — @riverpod notifiers, *_state.dart / *_event.dart (feature-scoped freezed types), and the page split: *_page.dart (thin @RoutePage widget) + *_page_content.dart (heavier UI).
  3. Integration (navigation, services, platform) — @RoutePage wiring in lib/app/, Firebase / platform integrations, analytics events, permissions, native channels.
  4. Tests and verification — only when explicitly required by the PRD / techspec. Standard analyze / test / build verification is handled by build-verify at the end of the flow, so don't add a "run analyze" task unless the feature itself requires custom coverage.

Group tasks into phases. Each task should be:

  • Small enough to complete in one focused session
  • Large enough to be meaningful (not trivially small)
  • Scoped so later tasks don't have to unwind earlier ones

Keep the total number of tasks reasonable — prefer fewer, well-scoped tasks over many tiny ones.

Step 3: Create Task Summary

Use the template at .agents/templates/task-list.md (also reachable as .claude/templates/task-list.md via symlink) to generate: .claude/tasks/[feature-name]/tasks.md

Step 4: Generate Individual Task Files

Use the template at .agents/templates/task.md (also reachable as .claude/templates/task.md via symlink) to create: .claude/tasks/[feature-name]/[num]_task.md

Each task file should include:

  • Clear vision of what the task accomplishes
  • Data model details — DTO / entity / state / event types and their location under lib/common/data/ or lib/features/<feature>/
  • Implementation steps — referencing the existing feature pattern (*_page.dart + *_page_content.dart + *_state.dart + *_event.dart)
  • Constraints — no IO in widgets, no hand-edits to generated files (*.g.dart, *.freezed.dart, *.gr.dart), reuse from lib/common/ before adding new primitives
  • Quality gates — make gen clean, fvm flutter analyze passes, fvm flutter test passes

Step 4b: Append to context.md

Append the following section to .claude/tasks/[feature-name]/context.md (create the file if it does not exist). Use actual values — do not leave placeholder text:


## Tasks (from tasks breakdown)

### Task Count and Phases
[e.g., "8 tasks across 3 phases: Foundation (3), Core (3), Integration (2)"]

### Dependency Shape
[one sentence describing the dependency structure, e.g., "All Foundation tasks must complete
before Core tasks begin; Integration tasks depend on all Core tasks."]

Step 5: Brief Summary

Output a one-paragraph summary (what was generated, how many tasks, dependency shape). Keep it tight. Do NOT invoke any follow-up skills.

Step 6: Prompt Next-Step Choice

If (and only if) this skill was invoked directly by the user (not by /start-job), end by asking how they want to proceed:

Next step — how do you want to continue?

  • /start-job — run the remaining phases in one shot: implement-tasks-sequence → build-verify → pr-review. Nothing will be committed.
  • Manual — step through each phase yourself (/implement-tasks-sequence, then /build-verify, then /pr-review).

Wait for the user's choice. Do NOT auto-run anything.

When invoked by /start-job or /spec-feature: skip the prompt above and return control to the calling orchestrator. /start-job will then invoke implement-tasks-sequence as Phase 2; /spec-feature will produce its Final Report.

Project context

This is a Flutter app using:

  • flutter_riverpod + riverpod_annotation for state and DI
  • freezed + json_serializable for data classes (DTOs, entities, states, events)
  • auto_route for navigation (@RoutePage)
  • dio for HTTP, Firebase services for backend
  • FVM-pinned Flutter SDK (see .fvmrc)

Refer to AGENTS.md, docs/PROJECT_OVERVIEW.md, and docs/PROJECT_GUIDELINES.md for the canonical conventions to bake into task descriptions. Prefer reusing primitives from lib/common/ before introducing new ones, and follow the existing feature folders under lib/features/<feature>/ as the structural reference.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Build/test/lint verification pass for this Flutter app — runs codegen, analyze, test, then iOS + Android native builds in parallel, then `dart format`. Does NOT commit anything; leaves the working tree dirty so the user can review and commit on demand. Used at the end of the prd → techspec → tasks → implement-tasks-sequence flow before `pr-review`, and can also be invoked manually when the user says "verify build", "run full verification", or "check everything".

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

create-pr

無料

Create or update a GitHub PR for this Flutter repository using gh CLI. Verifies the work with build-verify and pr-review, generates an inline PR description, commits pending changes when approved, pushes, and opens or updates the PR. Supports stacked PRs by asking for the base branch when detection is ambiguous. Use when the user says "create PR", "open PR", "push PR", or wants to submit their work for review.

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

Build a full feature in this Flutter repository that includes backend or storage data flow: read API schema, create DTOs, map DTOs to entities, add Riverpod use cases, connect feature state, and render UI data. Use when a task goes beyond a screen and needs real data integration.

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

Create a new Flutter screen in this repository using the existing feature structure, AutoRoute setup, Riverpod state pattern, and code generation workflow. Use when adding a new page, route, stateful screen, or feature folder in this template.

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

implement

無料

Implement a single Flutter task following this repository's Riverpod, Freezed, AutoRoute, DTO/entity, codegen, and verification conventions. Reads the task definition, PRD, and tech spec, then executes the implementation. When invoked standalone, verifies the change; when invoked by implement-tasks-sequence, writes code only and leaves verification to start-job/build-verify. Use when the user says "implement task X", "work on task X", or wants to execute a specific task from the task list.

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

Orchestrates implementation of all tasks for a feature using an agent team. Respects task dependencies, runs tasks in correct order, parallelizes independent tasks. Does NOT build, run tests, or commit at any point — verification is delegated to the caller (typically `/start-job`, which runs `build-verify` and `pr-review uncommitted` afterwards). Use when the user says "implement all tasks", "run the task sequence", "implement the feature", or wants to execute multiple tasks from a task list end-to-end.

日本語の概要は準備中です。原文の説明を表示しています。

strvcom/flutter-template242026年6月18日 更新

strvcom のスキルをすべて見る

このスキルの問題を報告する