From rag-reviewer
Gathers disciplined context for a task (from a board key or free-text description), pulls related tasks and relevant code, distills a brief, and hands off to brainstorming. Requires the reviewer MCP server.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rag-reviewer:solve-taskThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Gather the right context for a task, distill it into a brief, then enter the normal development
Gather the right context for a task, distill it into a brief, then enter the normal development
workflow. This skill does NOT plan or implement — it disciplines context-gathering and hands the
brief to superpowers:brainstorming (which leads to writing-plans → subagent-driven-development).
$ARGUMENTS is either:
PRI-4, matching the board's key_pattern), orConfig. Resolve the task_board block (type, mcp, key_pattern): first from the repo's
.review.yml, and if there is no block there, from the deploy-wide default via
get_board_config() (reviewer MCP) — so a per-repo .review.yml is not required when the board
is configured once in the reviewer deploy (TASK_BOARD_* env). If a board is resolved, its tools
are mcp__<task_board.mcp>__*. No block anywhere (get_board_config() → null), or the board MCP
is not connected → board-less mode (continue without it).
Identify the task.
$ARGUMENTS matches the board's key_pattern AND a board is configured/connected: read the
task via the playbook ../review-pr/references/task-context-<task_board.type>.md and build a
TaskBrief {key, aliases[], title, description, criteria[], status, url, links[]}. Then call
index_task(TaskBrief) to persist it (idempotent — safe to repeat).$ARGUMENTS as the task description; do not read the board.Gather context (best-effort, fail-open). Any tool returning a "(… unavailable)" / "(ничего не найдено)" note or an error is non-fatal — continue.
get_task_context(key) → linked tasks, their PRs, and the code those PRs
touched.search_tasks("<title>. <first lines of description>") → semantically similar tasks. If a board
is connected, you may read the most relevant similar tasks from the board for fuller detail.search_codebase("<task description>") → relevant existing code (files/symbols to touch or
mimic).Branch selection for search_codebase. Before calling search_codebase, determine the
current git branch of the project: git branch --show-current. If it is in REVIEW_BRANCHES
(the tracked branches list), pass it as the branch parameter — the search will use that
branch's index. If the user explicitly stated which branch to work from, use that branch instead.
Otherwise, omit branch entirely and the server will use the primary branch (the first entry in
REVIEW_BRANCHES).
Distill the solution brief. Write a structured markdown brief. Apply a strict relevance filter: include an item ONLY if it directly informs the implementation; drop the rest and note how many were dropped. Sections:
Hand off to development. Show the brief, then invoke superpowers:brainstorming with the brief
as the seed/context. From there the normal cycle takes over (brainstorming → writing-plans →
subagent-driven-development/TDD). Your job ends at the handoff — do NOT plan or implement here.
task_board / board MCP not connected / task not found → board-less: build the brief from
search_tasks (if the corpus is warm) + search_codebase + the user's formulation; note the gap.get_task_context / index_task graph parts degrade (empty + warning); build the
brief from search_tasks + search_codebase./reviewer_sync-tasks or reviews) → search_tasks is empty; rely on the board
(if a key) + search_codebase.search_codebase / search_tasks return empty; build the brief from the board (if
a key) or the user's formulation alone; still hand off to brainstorming.npx claudepluginhub mimfort/rag_for_gitSilently tracks tasks in Claude Code sessions as a kanban board, auto-creating from actionable prompts, managing status/context/agents with deduplication and reviews.
Manages tasks using native Claude Code subagent tools (TaskCreate, TaskUpdate, TaskList, TaskGet). Tracks TODOs, checkpoints progress, and resumes work across sessions.