Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rpi-refine

БесплатноБез исполняемых скриптовНе проверен

Review completed RPI work for what can be removed, simplified, consolidated, or redesigned across code, docs, domain language, tests, architecture, error…

microsoftот microsoft★ 1 654 звезды на GitHub

Об этом скилле

RPI Refine

Goal

Produce one complete, human-readable subtractive refinement record after implementation finishes. Focus on what can be removed, simplified, or redesigned across everything the session worked on: code, tests, documents, domain language, dependencies, error boundaries, runtime performance, language versions, and configuration. Reject additive wrappers and speculative guards that do not cut complexity or prevent a concrete failure mode.

Read references/refinement.md for the four subtractive lenses, main-agent execution and targeted subagent lookups, depth tiers, outcome vocabulary, routing rules, conversation protocol, and per-finding walkthrough. Use templates/refinement-log.md as the canonical record skeleton.

Flow

  1. Resolve one task artifact set: current task-centered plan, changes record, relevant research, and changed workspace files. Use supplied paths, or the work's name and date: the task slug for a task's first work, or the name a later request's documents carry. Stop if multiple unrelated sets remain ambiguous.
  2. Resolve review depth. Use standard by default. Use surface when a parent session runs a bounded refinement check after a repeated loop introduced significant changes in the same session, or when the user asks for a surface pass. Use deep only when the user explicitly requests a deep review; do not infer deep from task size, complexity, or risk. Record depth and provenance.
  3. Resolve candidate decision participation: user-owned for standalone and manual RPI, agent-owned by default for a confirmed automatic RPI session, and user-retained when an automatic-session user keeps Review decisions. When the refinement record already exists, use its latest Parent Decision Record participation event. Record provenance.
  4. Confirm the plan, changes record, changed files, remaining work, follow-up items, and validation state form a clear review boundary. Inspect the refinement path. When a record exists, continue a started review from its saved record, and reuse a finished record unless the user asks for a new review or a parent session runs a surface pass after significant same-session loop changes.
  5. Start the review by creating the record skeleton from templates/refinement-log.md at .copilot-tracking/reviews/logs/{{YYYY-MM-DD}}/{{task_slug}}-refinement.md, named like the plan it reviews, or at the next numbered path such as {{task_slug}}-refinement-2.md for an explicit repeat or surface pass. Persist Scope and Evidence and Opening Refinement State with review execution started and append one participation event to Parent Decision Record. When parent state exists, record the refinement path before assessing lenses so readers and the canvas follow the record as it grows. Send the opening message defined in the reference.
  6. Assess the completed work yourself across the four subtractive lenses and active depth tier in references/refinement.md. Activate domain skills whose descriptions say they apply during review when they fit the touched stack; exclude this skill and other RPI lifecycle phase entrypoints.
    • The main agent owns and performs the refinement analysis, backward logic tracing, assumption and domain evaluation, cross-lens synthesis, and authoring of the -refinement.md record. Never offload whole review lenses or core refinement judgment to a lower-intelligence subagent.
    • When a dispatch tool is available and subagent direction allows subagents (auto by default, or guided by this skill, a coordinating Project, or the user), create and manage regular subagents strictly for narrow, bounded lookups as references/refinement.md defines, and verify every return at the cited files while keeping synthesis and judgment in the main agent.
    • When subagents are unavailable or subagents=none is set, run all lookups and all four lenses directly in the main agent without failing or skipping a gate.
    • Follow the surface, standard, or deep boundary in references/refinement.md; deep remains a single review pass without open-ended external research.
  7. Write the evidence body as each lens finishes, saving the record as findings are verified while execution stays started. Record each confirmed RF-xxx finding with its dimension, current state, what to remove or rework, impact, resolution condition, and proposed destination. Once all lenses are merged, write the assessed execution status, assessed outcome, validation coverage, kept-as-is summary, limitations, and reviewer self-check, then update review execution from started to Complete, Partial, or Blocked.
  8. Resolve every actionable RF-xxx according to decision participation. Treat Decision History within ## Parent Decision Record as the append-only canonical decision log using stable `FD-xxx
Полный SKILL.md на GitHub

Установить rpi-refine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/refinement.mdtemplates/refinement-log.md

FAQ

Что делает скилл rpi-refine?

Review completed RPI work for what can be removed, simplified, consolidated, or redesigned across code, docs, domain language, tests, architecture, error boundaries, performance, language versions, and configuration, then route findings into planning or follow-up. Use when completed work needs subtractive refinement review.

Как установить скилл rpi-refine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rpi-refine запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rpi-refine с