← ClaudeAtlas

discover-taskslisted

Mines a target repo's own memory (and, with --scan, its codebase) for task candidates and proposes additions to its TASKS.md § Discovered. Run before /plan-tasks when task ideas have accumulated from direct work sessions in the target repo.
c0d3ster/nightlight · ★ 0 · AI & Automation · score 73
Install: claude install-skill c0d3ster/nightlight
A target repo is attached via --add-dir. Two independent sourcing phases: memory-mining (always runs) and repo-scanning (only with `--scan`). ## Multi-repo mode Determine this from the attached directory's structure, never by assumption: does it have a `.git` at its own root? - Yes: it's a single target repo. Phases 1–4 below apply directly, exactly as written — this is today's behavior, unchanged. - No, but its immediate subdirectories do: the attached directory is `PROJECT_REPOS_DIR` itself, and the repo set is those subdirectories. Run this flow instead of a single Phases 1–4 pass: 1. Announce: "Found N repo(s) under `<dir>`." 2. Dispatch one `general-purpose` agent per repo — all in a single message, foreground, batched in groups of ~8 if there are more than that — each told to run Phase 1 + Phase 2 steps 1–3 for its one assigned repo (absolute path stated explicitly) and report back its candidate list (task text, rationale, source) — report only, never ask, never write. Use `general-purpose`, not `Plan`: a dispatch needs Agent-tool access itself to reach `task-scout` when `--scan` is passed, and `Plan`-type agents don't have that. 3. Once every dispatch returns, go through repos in the order they were listed. For each one: run Phase 2 step 4 (present its candidates, get my approval), then immediately Phase 3 (write) and Phase 4 (finalize) for that repo, before moving to the next. Announce each phase to me in one line before starting it. ## Phase 1: locate memo