Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

breakdown-generate-tasks

БесплатноБез исполняемых скриптовНе проверен

Generate implementation task files for a specific layer. Called by /breakdown skill during Phase 4.

vinzenzот vinzenz★ 56 звёзд на GitHub14 установок в других каталогах

Об этом скилле

Task Generation

You are generating implementation task files for autonomous LLM execution.

Input

The calling skill will provide:

  1. Layer name (e.g., "1-foundation" or "0-setup")
  2. Layer plan (tasks assigned to this layer from plan-layers)
  3. PRD analysis (from analyze-prd)
  4. Template path (if any)
  5. Output directory path
  6. Task batch (optional): Subset of tasks to generate (for large layers)
  7. Previous review feedback (optional): Critical issues from failed review attempt

Batch Mode

When a task batch is provided:

  • Only generate tasks listed in the batch
  • Ignore other tasks in the layer plan
  • Batch is a list of task IDs: ["L2-001", "L2-002", "L2-003", "L2-004", "L2-005"]

Retry Mode

When previous review feedback is provided, it will contain critical issues from the last attempt:

{
  "attempt": 2,
  "previous_failures": [
    {
      "task_id": "L2-008",
      "issue": "Contains placeholder 'TBD' for schema field type"
    },
    {
      "task_id": "L2-009",
      "issue": "Missing interface methods in exports section"
    }
  ]
}

CRITICAL: When in retry mode, you MUST fix the reported issues. Do NOT repeat the same mistakes.

CRITICAL CONSTRAINTS

These constraints are NON-NEGOTIABLE:

  1. Self-contained: Each task file MUST contain ALL information needed. The implementing LLM cannot ask questions or look up external files.

  2. Small context: Tasks are for ~50k token context models (Haiku, GLM 4.5-4.7). Be explicit, not clever.

  3. Interface contracts: Dependencies use type signatures with imports, NOT full implementation code.

  4. Max 3 files: Each task creates/modifies maximum 3 files (test file is additional).

  5. TDD approach: Test requirements come BEFORE implementation. Tests are written first.

  6. No placeholders: NEVER write "TODO", "TBD", "...", or any placeholder. If you don't know something, make a reasonable decision and document it.

  7. Concrete values: Use specific names, paths, values. Never "appropriate" or "suitable".

Task File Format

Generate XML files following this exact structure:

<task>
  <meta>
    <id>L1-001</id>
    <name>Create Project Database Model</name>
    <layer>1-foundation</layer>
    <priority>1</priority>
    <estimated-files>2</estimated-files>
  </meta>

  <context>
    <prd-excerpt>
    <!-- Copy RELEVANT PRD sections here -->
    <!-- Include feature description, acceptance criteria -->
    <!-- Do NOT copy the entire PRD -->
    </prd-excerpt>

    <tech-stack>
    Python 3.11, FastAPI 0.100+, SQLAlchemy 2.x, PostgreSQL 15
    </tech-stack>

    <template-base>webapps/backends/python</template-base>

    <project-structure>
    app/
      models/
        __init__.py
        base.py (exists - provides Base class)
      api/
      services/
    tests/
      models/
    </project-structure>
  </context>

  <dependencies>
    <interface name="Base" type="sqlalchemy-declarative-base">
    from sqlalchemy.orm import DeclarativeBase

    class Base(DeclarativeBase):
        """SQLAlchemy declarative base for all models."""
        pass
    </interface>

    <interface name="get_db" type="fastapi-dependency">
    from typing import Generator
    from sqlalchemy.orm import Session

    def get_db() -> Generator[Session, None, None]:
        """Yield database session. Auto-closes on request completion."""
        ...
    </interface>
  </dependencies>

  <objective>
  Create the SQLAlchemy model for storing PRD projects with support for
  project metadata and JSONB content storage.
  </objective>

  <requirements>
    <requirement id="1">
    Create model class `Project` in file `app/models/project.py`
    </requirement>

    <requirement id="2">
    Define enum `ProjectStatus` with values: draft, in_progress, complete
    </requirement>

    <requirement id="3">
    Project model fields:
    - id: UUID, primary key, server_default=uuid4
    - name: String(255), nullable=False
    - slug: String(100), unique=True, nullable=False
    - status: ProjectStatus enum, default=draft
    - prd_content: JSONB, nullable=True
    - created_at: DateTime, server_default=now()
    - updated_at: DateTime, onupdate=now()
    </requirement>

    <requirement id="4">
    Create Alembic migration `001_create_projects_table.py` that:
    - Creates `projects` table with all fields
    - Creates index on `slug` column
    - Creates index on `status` column
    </requirement>

    <requirement id="5">
    Export `Project` and `ProjectStatus` from `app/models/__init__.py`
    </requirement>
  </requirements>

  <test-requirements>
    <test id="1">
    Create test file: `tests/models/test_project.py`
    </test>

    <test id="2">
    Test: test_create_project_with_valid_data
    - Create Project(name="Test Project", slug="test-project")
    - Assert project.id is a valid UUID
    - Assert project.status == ProjectStatus.draft
    - Assert project.created_at is not None
    </test>

    <test id="3">
Полный SKILL.md на GitHub

Установить breakdown-generate-tasks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Glob
Grep

Вложенные файлы

output/2-backend/LAYER_SUMMARY.md

FAQ

Что делает скилл breakdown-generate-tasks?

Generate implementation task files for a specific layer. Called by /breakdown skill during Phase 4.

Как установить скилл breakdown-generate-tasks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл breakdown-generate-tasks запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить breakdown-generate-tasks с