rpi-refine
БесплатноБез исполняемых скриптовНе проверенReview completed RPI work for what can be removed, simplified, consolidated, or redesigned across code, docs, domain language, tests, architecture, error…
от 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
- 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.
- Resolve review depth. Use
standardby default. Usesurfacewhen 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. Usedeeponly when the user explicitly requests a deep review; do not inferdeepfrom task size, complexity, or risk. Record depth and provenance. - Resolve candidate decision participation:
user-ownedfor standalone and manual RPI,agent-ownedby default for a confirmed automatic RPI session, anduser-retainedwhen an automatic-session user keeps Review decisions. When the refinement record already exists, use its latest Parent Decision Record participation event. Record provenance. - 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
startedreview from its saved record, and reuse a finished record unless the user asks for a new review or a parent session runs asurfacepass after significant same-session loop changes. - 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.mdfor an explicit repeat orsurfacepass. Persist Scope and Evidence and Opening Refinement State with review executionstartedand 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. - 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.mdrecord. 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 (
autoby 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=noneis set, run all lookups and all four lenses directly in the main agent without failing or skipping a gate. - Follow the
surface,standard, ordeepboundary in references/refinement.md;deepremains a single review pass without open-ended external research.
- The main agent owns and performs the refinement analysis, backward logic tracing, assumption and domain evaluation, cross-lens synthesis, and authoring of the
- Write the evidence body as each lens finishes, saving the record as findings are verified while execution stays
started. Record each confirmedRF-xxxfinding 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 fromstartedtoComplete,Partial, orBlocked. - Resolve every actionable
RF-xxxaccording to decision participation. Treat Decision History within## Parent Decision Recordas the append-only canonical decision log using stable `FD-xxx
Установить rpi-refine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic