Skip to content
Back to skills

Task Next

ASecurity

Show dependency-resolved next tasks from ROADMAP.md active sprint

  • 57 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 17, 2026
documentationbashnode

Works with

  • cli

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill task-next --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Next?

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

Security grade badge for Task Next
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-task-next/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-task-next)

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: task-next
description: Show dependency-resolved next tasks from ROADMAP.md active sprint
---

# Task Next - Dependency-Aware Task Selection

Shows which tasks are ready to work on based on dependency resolution.

## When to Use

- Tasks related to task-next
- User explicitly invokes `/task-next`

## When NOT to Use

- When the task doesn't match this skill's scope -- check related skills
- When a more specialized skill exists for the specific task

## Usage

```
/task-next              # Show ready (unblocked) tasks
/task-next --all        # Show ready, blocked, and completed
/task-next --blocked    # Show only blocked tasks
```

## How It Works

1. Reads ROADMAP.md and finds all task items (`- [ ] **ID:** Description`)
2. Parses `[depends: X1, X2]` annotations on each task
3. Builds a directed acyclic graph (DAG) of dependencies
4. Runs Kahn's topological sort to determine execution order
5. Reports which tasks are ready (all dependencies completed) vs blocked

## Steps

### 1. Run the dependency resolver

```bash
node scripts/tasks/resolve-dependencies.js
```

### 2. Present results to the user

Format the output clearly:

**Ready tasks** — these can be started now:

- List each with its ID, description, and satisfied dependencies
- Suggest the highest-priority one based on track ordering

**Blocked tasks** — these are waiting on other tasks:

- List each with what it's waiting for
- Highlight if a blocker is close to completion

### 3. Help the user pick

If the user wants to work on a task:

1. Confirm the task ID
2. Mark it as the active task in TodoWrite
3. Begin implementation

### 4. After completing a task

When a task is done:

1. Check off the item in ROADMAP.md (`- [ ]` -> `- [x]`)
2. Re-run the resolver to see what's newly unblocked
3. Tell the user what tasks are now available

## Dependency Annotation Format

Add `[depends: X1, X2]` to any task item in ROADMAP.md:

```markdown
- [ ] **B3:** Lighthouse CI Integration [depends: B1, B2]
- [ ] **B5:** Lighthouse Dashboard Tab [depends: B3, B4]
```

Rules:

- Dependencies reference task IDs (B1, B3, CANON-0011, DEBT-0944, etc.)
- Multiple dependencies separated by commas
- Annotation must be in square brackets at the end of the line
- Tasks without `[depends:]` are considered independent (always ready)
- Circular dependencies are detected and reported as errors

---

## Version History

| Version | Date       | Description            |
| ------- | ---------- | ---------------------- |
| 1.0     | 2026-02-25 | Initial implementation |

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 documentation →

Comments

Loading comments…

Newsletter

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