Agent Skill
2/7/2026

task-decomposition

Break down complex tasks into atomic, actionable goals with clear dependencies and success criteria. Use this skill when you need to plan multi-step projects, coordinate agents, or decompose complex user requests into manageable sub-tasks.

D
d
1GitHub Stars
1Views
npx skills add d-o-hub/github-template-ai-agents

SKILL.md

Nametask-decomposition
DescriptionBreak down complex tasks into atomic, actionable goals with clear dependencies and success criteria. Use this skill when you need to plan multi-step projects, coordinate agents, or decompose complex user requests into manageable sub-tasks.

GitHub Template AI Agents

Production-ready template for AI agent-powered development with Claude Code, Gemini CLI, OpenCode, Qwen Code, and more.

License: MIT Template Version PRs Welcome

Quick Links: Quick Start · Documentation · Contributing


What Is This?

A unified harness for AI coding agents that provides consistent workflows across Claude Code, Gemini CLI, OpenCode, Qwen Code, Windsurf, Cursor, and Copilot Chat. Built for teams who want to scale AI-assisted development with quality gates, skills, and sub-agent patterns.

Key Features:

  • Multi-Agent Support: Works with 6+ AI coding tools simultaneously
  • Skills System: Reusable knowledge modules in canonical location
  • Quality Gates: Automatic lint, test, format before commits
  • Context Discipline: Prevents context rot with sub-agents and hooks
  • Dependabot Integration: Automated security and version updates

Quick Start (2 Minutes)

Prerequisites

Installation

# Use this template on GitHub, then clone
git clone https://github.com/your-org/your-project.git
cd your-project

Setup

# Create skill symlinks (run once)
./scripts/setup-skills.sh

# Install git pre-commit hook
cp scripts/pre-commit-hook.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit

Verify

./scripts/validate-skills.sh

Expected output:

✓ All skill symlinks intact
✓ SKILL.md files valid

Core Concepts

Single Source of Truth

All agents read from AGENTS.md - CLI-specific files (.claude.md, .gemini.md) contain only overrides.

AGENTS.md → Single source of truth
├── CLAUDE.md → Overrides only (@AGENTS.md)
├── GEMINI.md → Overrides only (@AGENTS.md)
└── opencode.json → Configuration

Skills with Progressive Disclosure

Skills live canonically in .agents/skills/. Claude Code and Qwen Code use symlinks; Gemini CLI and OpenCode read directly from .agents/skills/:

.agents/skills/           # Canonical source (single location)
├── task-decomposition/
├── shell-script-quality/
└── github-readme/

.claude/skills/           # Symlinks → ../../.agents/skills/
.qwen/skills/             # Symlinks → ../../.agents/skills/

Sub-Agent Patterns

Delegate isolated tasks to sub-agents for context isolation:

graph LR
    A[Main Agent] --> B[Sub-Agent 1]
    A --> C[Sub-Agent 2]
    B --> D[Task Complete]
    C --> E[Task Complete]
    D --> F[Synthesize]
    E --> F

Usage Examples

Basic: Run with Claude Code

claude "Implement user authentication with OAuth2"

Advanced: Multi-Agent Coordination

# Main agent decomposes task, delegates to sub-agents
claude "/task-decomposition Implement the new API endpoint"

Quality Gate (Automatic)

# Pre-commit hook runs automatically
git commit -m "feat: add user registration"

# Or run manually
./scripts/quality_gate.sh

Documentation

Available Skills

SkillDescription
task-decompositionBreak complex tasks into atomic goals
shell-script-qualityLint/test shell scripts (ShellCheck + BATS)
github-readmeCreate human-focused README.md files
parallel-executionCoordinate parallel agent execution
iterative-refinementProgressive improvement loops
agent-coordinationMulti-agent orchestration patterns
goap-agentGoal-oriented action planning
web-search-researcherWeb research and synthesis
eu-ai-act-compliance⚙️ EU AI Act regulatory adherence
durable-objects⚙️ Cloudflare Durable Objects coordination

Contributing

We welcome contributions! See our Contributing Guide for:

  • Development environment setup
  • Good first issues
  • Code style and testing requirements
  • Pull request process

Community

License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with AI agents. Maintained by humans.

Skills Info
Original Name:task-decompositionAuthor:d