discover-tasks

Featured

Use when user asks to "discover tasks", "find next task", "prioritize issues", "what should I work on", or "list open issues". Discovers and ranks tasks from GitHub, GitLab, local files, and custom sources.

AI & Automation 967 stars 111 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
99
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# discover-tasks Discover tasks from configured sources, validate them, and present for user selection. ## When to Use Invoked during Phase 2 of `/next-task` workflow, after policy selection. Also usable standalone when the user wants to discover and select tasks from configured sources. ## Workflow ### Phase 1: Load Policy and Claimed Tasks ```javascript // Use relative path from skill directory to plugin lib // Path: skills/discover-tasks/ -> ../../lib/state/workflow-state.js const workflowState = require('../../lib/state/workflow-state.js'); const state = workflowState.readState(); const policy = state.policy; // Load claimed task IDs from registry (tasks[] contains worktree-manager claims) const tasksRegistry = workflowState.readTasks(); const claimedIds = new Set(tasksRegistry.tasks.map(t => t.id)); ``` ### Phase 2: Fetch Tasks by Source **Source types:** - `github` / `gh-issues`: GitHub CLI - `gh-projects`: GitHub Projects (v2 boards) - `gitlab`: GitLab CLI - `local` / `tasks-md`: Local markdown files - `custom`: CLI/MCP/Skill tool - `other`: Agent interprets description **GitHub Issues:** ```bash # Fetch with pagination awareness gh issue list --state open \ --json number,title,body,labels,assignees,createdAt,url \ --limit 100 > /tmp/gh-issues.json ``` **GitLab Issues:** ```bash glab issue list --state opened --output json --per-page 100 > /tmp/glab-issues.json ``` **Local tasks.md:** ```bash for f in PLAN.md tasks.md TODO.md; do [ -f "$f" ] && grep ...

Details

Author
agent-sh
Repository
agent-sh/agentsys
Created
7 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category