一键导入
task-decomposition
Guide for breaking features into atomic, implementable tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for breaking features into atomic, implementable tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Git commit conventions and workflow
TDD workflow and testing patterns
Author safe RalphX Agent Workflow scripts that orchestrate durable delegated agents through the high-level workflow API.
Guide for analyzing git diff and refining QA test plans
Guide for generating QA test steps with agent-browser commands
Narrow RalphX Agent Workspace bridge playbook for workflow events delivered into an existing Agent Workspace conversation.
| name | task-decomposition |
| description | Guide for breaking features into atomic, implementable tasks |
This skill helps break down complex features into atomic, independently implementable tasks.
Each task should be:
Prefer vertical slices over horizontal layers:
Good (Vertical):
Avoid (Horizontal):
Order tasks to minimize blocking:
Feature: "Dark mode support" Decomposition:
Feature: "Task comments" Decomposition:
Feature: "Connect to external API" Decomposition:
Every plan decomposition MUST include a testing strategy that scales with the implementation — not blanket full-suite runs at every gate.
Rules:
mod tests blocks within changed files and the tests/ directory for integration tests matching changed module names; examine test file naming conventionsExample decomposition with targeted testing:
| Task | Type | Test Step |
|---|---|---|
| Add comment repository | feature | Identify test files importing comment_repository → run those tests |
| Add comment API endpoint | feature | Identify test files importing comment handler → run those tests |
| Add comment UI component | feature | Identify test files importing CommentInput → run those tests |
Ask these to guide decomposition:
Good titles are action-oriented and specific:
| Good | Bad |
|---|---|
| "Add save button to form" | "Save functionality" |
| "Validate email format on blur" | "Form validation" |
| "Show loading spinner during fetch" | "Loading states" |
| "Redirect to dashboard after login" | "Auth flow" |
Each task should have 2-5 acceptance criteria:
Task: Add save button to form
Acceptance Criteria:
- [ ] Save button visible at bottom of form
- [ ] Button disabled when form is invalid
- [ ] Button shows loading state during save
- [ ] Success message appears after save
- [ ] Error message shown if save fails
Signs a task needs more decomposition:
User: "I need user authentication"
Thinking:
Proposed Tasks:
Each task is ~2-3 hours, independently testable, and builds toward complete auth.