Skip to content
Back to skills

Product

ASecurity

Decompose specs/plans into atomic, testable tasks — enforces the 15-Minute Rule and populates project/TASKS.md.

  • 24 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 14, 2026
ai-agentsgoapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill product --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Product?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Product
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-product-9f308cb6/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-product-9f308cb6)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: decompose
description: Decompose specs/plans into atomic, testable tasks — enforces the 15-Minute Rule and populates project/TASKS.md.
triggers: [decompose, break down tasks, create task list, task decomposition, 15 minute rule]
tags: [product]
core: true
context_cost: medium
---
# Task Decomposition Skill

> "A complex task is just a series of simple tasks that haven't been broken down yet."

## Goal
Transform a Technical Specification (`SPEC.md`) or Implementation Plan (`PLAN.md`) into a flat, ordered list of atomic tasks in `project/TASKS.md`.

## The 15-Minute Rule
Every task must be achievable in approximately **15 minutes** by an AI agent.
- If a task feels like it will take an hour → decompose it.
- If a task covers two different files → decompose it.
- If a task has "and" in the description → decompose it.

## Steps

### 1. Load Context
- Read the latest `PRD.md`, `PLAN.md`, and `SPEC.md`.
- Read existing `project/TASKS.md` (if any) to avoid duplication.

### 2. Identify Modules
- Group the work by component or module (e.g., Auth, Database, UI).
- Determine the dependency order (e.g., Database must exist before Auth).

### 3. Generate Atomic Tasks
For each module/feature, create a sequence of tasks:
1.  **Setup/Stubs**: Create the file or add the interface/types.
2.  **Test**: Write the failing test for specific logic.
3.  **Implement**: Minimal code to pass the test.
4.  **Verify**: Run lint/typecheck.
5.  **Refactor**: Cleanup.

### 4. Format project/TASKS.md
Use the standard GABBE task format:

| ID | Task | Status | Tags |
|---|---|---|---|
| T-001 | Create `User` model with `email` and `password_hash` | TODO | [DB, Auth] |
| T-002 | Implement `checkPassword` method in `User` model | TODO | [Auth] |
| T-003 | Create `POST /login` controller stub | TODO | [API] |

### 5. Categorize Parallelism
Identify tasks that can be done simultaneously by different agents.
- Mark them with the `[PARALLEL]` tag.
- Ensure they don't touch the same lines of the same file.

## Constraints
- Every task must have clear **Acceptance Criteria**.
- Tasks must be **testable**.
- Never create a task named "Implement [Feature X]" — that's an Epic.
- Maximum 20 tasks per decomposition batch (to stay within context limits).

## Output Format
Updated or new `project/TASKS.md` file. Report the number of tasks created.

## Limits and safety
- Tag tasks that touch authentication, payments or personal data `SECURITY-HIGH` and never mark them `[PARALLEL]` with the endpoints that depend on them.
- Add only tasks that trace to `PRD.md` or `SPEC.md`. If the human asks for a task with no requirement, add the requirement first or ask.
- Limit batches to 20 tasks and splitting to two levels; if a task still needs splitting, stop and ask.
- When several agents can write `project/TASKS.md`, update it only while holding a lock: create `project/.tasks.lock` with an atomic exclusive create (for example `set -o noclobber`, or `gabbe sync`, which takes its own lock), re-read the file, merge, write, then remove the lock. If the lock exists, wait and retry; never write without it.

Files in this skill

  • accessibility.skill.md6.7 KB
  • adr-writer.skill.md5 KB
  • business-case.skill.md4.1 KB
  • change-management.skill.md6.1 KB
  • decompose.skill.md4.1 KB
  • design-thinking.skill.md3.9 KB
  • estimation-sizing.skill.md5.7 KB
  • evals/spec-writer.eval.yaml967 B
  • financial-governance.skill.md5.8 KB
  • green-software.skill.md3.2 KB
  • ideation-facilitation.skill.md5.7 KB
  • market-analysis.skill.md3.5 KB
  • opportunity-assessment.skill.md5.8 KB
  • product-analytics.skill.md6.1 KB
  • professional-practice.skill.md7.6 KB
  • req-elicitation.skill.md11.4 KB
  • req-review.skill.md11.7 KB
  • spec-analyze.skill.md5.2 KB
  • spec-writer.skill.md6.5 KB
  • stakeholder-management.skill.md3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.