agentleFS
skullninjaskullninja/coco-workflow/skills/tasks/SKILL.md

tasks

Skill7 starsChanged 2 months agoMITView on GitHub

Generate a dependency-ordered task list (tasks.md) with sub-phases and cross-artifact consistency analysis from design.md in specs/{feature}/.

49 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use send-user-message, tinyagi-admin and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Maliot100XSkill

    send-user-message

    Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.

    Also in 4 projects that use this

  • jlia0Skill

    tinyagi-admin

    Manage and operate the TinyAGI system itself — agents, teams, settings, queue, tasks, daemon lifecycle, and source code. Use when the agent needs to: list/add/remove/update agents or teams, check queue status, view logs, start/stop/restart TinyAGI, change settings (provider, model, channels), send messages to the queue, manage tasks, retry dead-letter messages, view recent responses, modify TinyAGI source code or configuration, or perform any administrative operation on the TinyAGI platform. Triggers: 'manage tinyagi', 'add an agent', 'remove a team', 'check queue', 'view logs', 'restart tinyagi', 'change provider', 'update settings', 'create a task', 'modify tinyagi code'.

    Also in 3 projects that use this

  • ArvorCoSkill

    constitution

    Create or update the project constitution - personalized governance and coding principles. Use when starting a project or updating project standards. Triggers on: create constitution, update principles, set project rules.

    Also in 4 projects that use this

  • ArvorCoSkill

    specify

    Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.

    Also in 6 projects that use this

  • GoogleSkill

    quality

    Evaluates whether a GitHub issue is spam, empty, needs more information, or is OK to proceed.

    Also in 3 projects that use this

  • anyprotoSkill

    skills-manager

    Context-aware routing to skills and hooks management. Use when troubleshooting skill activation, fine-tuning keywords, or managing the automated documentation system.

    Also in 3 projects that use this

  • +1 more from ArvorCo

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 5 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When a tasks.md is needed in specs/{feature}/ before tracker import

    line 14
  2. Very specific:

    Legacy fallback: If design.md doesn't exist, check for spec.md + plan.md as legacy artifacts and load both.

    line 18
  3. Very specific:

    Read .coco/config.yaml for project.specs_dir (default: specs).

    line 22
  4. Very specific:

    Legacy fallback: If design.md doesn't exist, load spec.md + plan.md + data-model.md + contracts/ + research.md as legacy artifacts

    line 30
  5. Very specific:

    Test tasks are derived from ## Test Strategy in design.md: one per FR-### marked Test?

    line 65
  6. Very specific:

    If design.md contains file-level implementation details (in the Project Structure or Technical Approach sections), extract file ownership …

    line 85
  7. Very specific:

    After generating tasks.md, automatically run the full consistency analysis.

    line 105
  8. Distinctive:

    STRICTLY READ-ONLY: Do not modify any files during analysis.

    line 107
  9. Very specific:

    If design.md has no ## Test Strategy section (legacy design, or generated before this section existed), report one MEDIUM finding saying so …

    line 161
  10. Distinctive:

    After the report, ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?"

    line 201
  11. Distinctive:

    No vague acceptance criteria ("works correctly", "looks good")

    line 218
  12. Distinctive:

    Never hallucinate missing sections in the analysis

    line 220
  13. Distinctive:

    Never invent test tasks the Test Strategy does not call for -- an untested FR is a decision the design already made

    line 221

“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coco Tasks Skill

Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts, then run cross-artifact consistency analysis.

When to Use

  • Generating a task list as part of the coco pipeline
  • Called by /coco:phase (Step B) or /coco:planning-session tactical
  • When a tasks.md is needed in specs/{feature}/ before tracker import

Prerequisites: design.md must exist. If missing, use the design skill first.

Legacy fallback: If design.md doesn't exist, check for spec.md + plan.md as legacy artifacts and load both.

Setup

  1. Read .coco/config.yaml for project.specs_dir (default: specs).
  2. Determine the current feature by:
    • Checking the current git branch name
    • Looking for the matching directory in {specs_dir}/{branch-name}/
    • Or from conversation context if a feature was recently discussed
  3. Load design documents from {specs_dir}/{feature}/:
    • Required: design.md (user stories, tech stack, structure, API contracts, research decisions)
    • Optional: data-model.md (entities, if generated separately)
    • Legacy fallback: If design.md doesn't exist, load spec.md + plan.md + data-model.md + contracts/ + research.md as legacy artifacts
  4. Load the tasks template from .coco/templates/tasks-template.md if it exists, otherwise use ${CLAUDE_PLUGIN_ROOT}/templates/tasks-template.md.

Execution

1. Extract Context

  • From design.md: tech stack, libraries, project structure, user stories with priorities (P1, P2, P3...), API contracts, research decisions
  • From data-model.md (if exists): entities, map to user stories

Legacy mode (if loading spec.md + plan.md instead):

  • From plan.md: tech stack, libraries, project structure
  • From spec.md: user stories with priorities
  • From data-model.md, contracts/, research.md (if exist): entities, endpoints, decisions

2. Generate Tasks

Organize tasks by user story. Every task MUST use this format:

- [ ] [TaskID] [P?] [Story?] Description with file path
  • Checkbox: Always - [ ]
  • Task ID: Sequential (T001, T002, T003...)
  • [P]: Include only if parallelizable (different files, no dependencies)
  • [Story]: Required for user story phases only ([US1], [US2], etc.)
  • Description: Clear action with exact file path

3. Sub-Phase Structure

  • Sub-Phase 1: Setup - Project initialization
  • Sub-Phase 2: Foundational - Blocking prerequisites (MUST complete before user stories)
  • Sub-Phase 3+: User Stories - One sub-phase per story in priority order (P1, P2, P3...)
    • Each includes: goal, independent test criteria, acceptance criteria (min 3), implementation tasks
    • Test tasks are derived from ## Test Strategy in design.md: one per FR-### marked Test? = yes, at the level named there, tagged with the FR ID. Create no test task for an FR marked Test? = no or for anything under Not worth testing
    • Carry the FR's Expected count into the task, and keep the sub-phase's total within the sum of its FRs' counts. The budget is a quantity, not just a selection: "yes" without a number is satisfied equally by one test and forty

Match this heading case-insensitively and tolerate a trailing *(mandatory)*: a design written ## Test strategy is the same section, and treating it as absent silently drops the budget.

  • Order within story: Tests -> Models -> Services -> Endpoints -> Integration
  • Final Sub-Phase: Polish - Cross-cutting concerns

Each sub-phase MUST have an Acceptance Criteria section with specific, testable outcomes.

4. Dependencies, Parallel Map & File Ownership

Generate:

  • Dependency graph showing sub-phase completion order
  • File ownership per sub-phase with conflict risk
  • Parallel execution opportunities

File Ownership (owns_files) Annotations:

If design.md contains file-level implementation details (in the Project Structure or Technical Approach sections), extract file ownership per sub-phase. For each user story sub-phase, identify the files/directories it exclusively modifies:

### Sub-Phase 3: User Authentication
**owns_files**: `src/auth/**`, `tests/auth/**`
**test_plan**: `FR-001` (unit), `FR-002` (integration)

These annotations are consumed by the import skill to populate task metadata, enabling worktree-based parallel execution. Only include owns_files when file paths are determinable from the design -- omit for sub-phases with unclear file boundaries.

Test Plan (test_plan) Annotations:

List the FR-### IDs this sub-phase must test, with the level from design.md Test Strategy. This is the sub-phase's test budget -- the executor reads it to decide which tests to write, then reports the result in the PR body's Test Value table, which is what code review reads. Emit **test_plan**: none for a sub-phase that intentionally has no tests, rather than omitting the line; an absent annotation reads as "unknown," while none reads as "decided."

5. Write tasks.md

Write to {specs_dir}/{feature}/tasks.md.

6. Cross-Artifact Consistency Analysis

After generating tasks.md, automatically run the full consistency analysis. This replaces what was previously the /coco:analyze command.

STRICTLY READ-ONLY: Do not modify any files during analysis. Output findings inline.

Load from {specs_dir}/{feature}/:

  • design.md (required; or spec.md + plan.md in legacy mode)
  • tasks.md (just generated)
  • data-model.md (if exists)
  • .coco/memory/constitution.md if it exists

Detection Passes (limit 50 findings total)

A. Duplication Detection

  • Near-duplicate requirements across artifacts
  • Mark lower-quality phrasing for consolidation

B. Ambiguity Detection

  • Vague adjectives (fast, scalable, secure, intuitive, robust) lacking measurable criteria
  • Unresolved placeholders (TODO, ???, <placeholder>)

C. Underspecification

  • Requirements with verbs but missing object or measurable outcome
  • User stories missing acceptance criteria alignment
  • Tasks referencing files or components not defined in design

D. Constitution Alignment

  • Any requirement or plan element conflicting with a constitution MUST principle
  • Missing mandated sections or quality gates
  • Constitution conflicts are automatically CRITICAL severity

E. Coverage Gaps

  • Requirements with zero associated tasks
  • Tasks with no mapped requirement/story
  • Non-functional requirements not reflected in tasks

F. Inconsistency

  • Terminology drift (same concept named differently across files)
  • Data entities in data-model.md but absent in design (or vice versa)
  • Task ordering contradictions
  • Conflicting requirements

G. Test Plan Coherence

Compare test tasks in tasks.md against ## Test Strategy in design.md. Both directions are findings:

  • Under-testing: an FR-### marked Test? = yes with no test task
  • Budget breach: the test tasks for a sub-phase total more than the Expected counts its FRs declare, or the feature's tasks total more than the Ceiling. Report the arithmetic, not just the verdict -- "FR-005 expects 4, three tasks carry 9 between them" is actionable; "over budget" is not
  • Over-testing: a test task with no FR tag, or tagged to an FR marked Test? = no, or asserting something listed under Not worth testing
  • Level drift: a test task at a different level than the Test Strategy specifies (e.g. an integration test where the strategy says unit)
  • Duplicate defense: two or more test tasks naming the same failure mode

Over-testing is a real finding, not a courtesy. A test that defends nothing still costs review time, CI time, and every future refactor that has to keep it passing. Report it with the same seriousness as a coverage gap.

If design.md has no ## Test Strategy section (legacy design, or generated before this section existed), report one MEDIUM finding saying so and skip pass G -- do not infer a strategy and grade against it.

Severity Assignment

  • CRITICAL: Constitution violation, missing core artifact, requirement with zero coverage blocking baseline
  • HIGH: Duplicate/conflicting requirement, ambiguous security/performance attribute, untestable criterion, test task for an FR marked Test? = no (over-testing), missing test task for an FR marked Test? = yes (under-testing)
  • MEDIUM: Terminology drift, missing non-functional task coverage, underspecified edge case, test-level drift, missing Test Strategy section
  • LOW: Style/wording improvements, minor redundancy

Analysis Output

## Specification Analysis Report

| ID | Category | Severity | Location(s) | Summary | Recommendation |
|----|----------|----------|-------------|---------|----------------|
| A1 | ... | ... | ... | ... | ... |

**Coverage Summary:**
| Requirement Key | Has Task? | Task IDs | Notes |

**Test Budget:**
| FR | Test? (design) | Expected | Test task? | Level planned | Level in tasks | Verdict |
|----|----------------|----------|------------|---------------|----------------|---------|
| FR-001 | yes | 3 | T010 | unit | unit | ok |
| FR-003 | no | 0 | T015 | -- | unit | OVER |

**Totals**: expected {N}, planned {M}, ceiling {C}. State whether the plan is
inside the ceiling before the executor starts, because that is the cheapest point
at which it can be fixed.

**Metrics:**
- Total Requirements / Total Tasks / Coverage %
- Test tasks planned / written / unplanned
- Ambiguity Count / Duplication Count / Critical Issues Count

**Next Actions:**
- [Prioritized recommendations based on severity]

After the report, ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?"

7. Report

Output:

  • Path to tasks.md
  • Total task count and count per user story
  • Parallel opportunities identified
  • Independent test criteria for each story
  • Suggested MVP scope (typically User Story 1)
  • Analysis findings (from consistency analysis step)
  • Suggested next step: tell the user to ask Claude to "import tasks into the tracker" (this triggers the import skill automatically -- skills are NOT slash commands, so never suggest /coco:import)

Rules

  • Tasks must be specific enough for an LLM to complete without additional context
  • Each user story must be independently implementable and testable
  • No vague acceptance criteria ("works correctly", "looks good")
  • Include exact file paths in every task description
  • Never hallucinate missing sections in the analysis
  • Never invent test tasks the Test Strategy does not call for -- an untested FR is a decision the design already made
  • Prioritize constitution violations (always CRITICAL)
  • Report zero analysis issues gracefully with coverage statistics

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.