スキル一覧に戻る
yellinzero

aico-backend-task-breakdown

by yellinzero

Build your AI team in seconds, start working immediately

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: aico-backend-task-breakdown description: | Break down PM story into backend tasks following LAYERED ARCHITECTURE order: Data Models → Database → Repository → Service → API → Validation → Tests.

UNIQUE VALUE: Ensures proper dependency order and separation of concerns. Tasks are ordered by architectural layers, not random order.

Use this skill when:

  • Running /backend.tasks command
  • User asks to "break down story for backend", "create backend tasks", "split into backend tasks"
  • Have story at docs/reference/pm/stories/ and need organized task list
  • Need tasks ordered by architectural layers (not random order)
  • Starting backend work and want organized, layered task list

Layer order is CRITICAL: Types/Entities → Migrations → Repository → Service → API → Validation → Tests Output: ALWAYS write to docs/reference/backend/tasks/{story-name}.md

Task Breakdown

Language Configuration

Before generating any content, check aico.json in project root for language field to determine the output language. If not set, default to English.

Process

  1. Read story/PRD: Load from docs/reference/pm/stories/ or docs/reference/pm/versions/
  2. Identify data entities: What domain objects are needed
  3. Identify API endpoints: What routes are needed
  4. Identify business logic: What services are needed
  5. Break into tasks: Follow layered architecture order
  6. Save output: ALWAYS write to docs/reference/backend/tasks/{story-name}.md

Layered Architecture Order

1. Data Models (types, entities, DTOs)
      ↓
2. Database (migrations, schema)
      ↓
3. Repository Layer (data access)
      ↓
4. Service Layer (business logic)
      ↓
5. API Layer (controllers, routes)
      ↓
6. Validation & Error Handling
      ↓
7. Tests (unit, integration, API)

Task File Template

# [Story Name] - Backend Tasks

> Project: [project-name]
> Created: YYYY-MM-DD
> Last Updated: YYYY-MM-DD
> Source: docs/reference/pm/stories/[story].md
> Status: in_progress

## Progress

| #   | Task                       | Status     | Notes |
| --- | -------------------------- | ---------- | ----- |
| 1   | Define data models         | ⏳ pending |       |
| 2   | Create database migrations | ⏳ pending |       |
| 3   | Implement repository layer | ⏳ pending |       |

## Tasks

### Task 1: Define data models

**Status**: ⏳ pending
**Goal**: Create types for domain entities
**Scope**: Entity types, DTOs, validation schemas
**Acceptance Criteria**:

- [ ] Types match business requirements
- [ ] No type errors
      **Dependencies**: None

Task Types

TypeExamples
Data ModelDefine entities, DTOs, schemas
DatabaseMigrations, indexes, seeds
RepositoryData access layer
ServiceBusiness logic
APIControllers, routes
ValidationInput validation
TestingUnit, integration, API tests

Granularity Rules

  • Each task = independently testable
  • Each task = single responsibility
  • Each task = clear scope (not too big, not too small)

Key Rules

  • ALWAYS follow layered architecture order
  • MUST include test tasks for each layer
  • ALWAYS note dependencies between tasks
  • MUST save to docs/reference/backend/tasks/ directory

Common Mistakes

  • ❌ Tasks too large (entire API) → ✅ Break into layers
  • ❌ Skip data model first → ✅ Types before implementation
  • ❌ Skip repository layer → ✅ Separate data access
  • ❌ Forget validation → ✅ Always include validation task

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です