Command Palette

Search for a command to run...

Назад к скиллам
скилл № 24217

remy-patch

Apply code changes with task-scoped strategy and recovery records. Accepts existing evidence packets or standalone requests.

БесплатноБез исполняемых скриптов
MyPeacefulValentineот MyPeacefulValentine★ 28 звёзд на GitHub

Установить remy-patch в Claude Code и Claude Desktop

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

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

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

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

Code Modification Standards

1. Input Requirements (Mental Model)

Although strict schema validation is disabled, you MUST internally structure your approach around these inputs:

  • Intent: What is the goal? (e.g., "Fix NPE in auth service")
  • Risk Analysis: Potential ripple effects, framework integrity, and performance risks.
  • Target Files: List of files targeted for modification.
  • Call Chain Analysis: Explicit list of upstream callers and downstream dependencies.
  • Verification Plan: How you will verify library signatures and framework compatibility.

Apply rules/reasoning-and-decisions.md to task strategy: distinguish requirements from evidence-supported responsibility and contract effects, then compare feasible options. Keep the existing packet fields; consume sender_payload.analysis, plan[], and change descriptions for goals, maintained contracts, implementation bounds and verification. Optional {修改边界:模块内|契约要求:保持} notation follows rules/communication.md, not a binary grade or an authorization mechanism.


2. Core Engineering Principles (Mandatory)

2.1 Data Flow & Contract Responsibility

  • Principle: Determine adaptation from the selected contract, actual responsibility and task boundary. Changing an upstream structure does not independently authorize migrating downstream consumers.
  • Action: Trace the data flow and coordinate every consumer required by the approved solution. Distinguish settled mechanical propagation from changes to semantics or ownership; do not choose scope by file count.

2.2 Configuration and Actual Variability

  • Principle: Reuse suitable constants, function arguments and configuration. Add a configuration interface when the task has an actual variability requirement, not merely because a value exists.
  • Boundary: Stable internal values need not become user settings. Values affecting promised behavior still require an explicit constraint or approved implementation range; report incompatibilities before proceeding.

2.3 Framework & Compiler Integrity

  • Principle: Do NOT break cross-file frameworks or compiler constraints.
  • Check: If the target file uses compiler decorators (e.g., JIT compilation, AOT compilation), metaprogramming patterns, or code generation — verify that new code is compatible with those constraints.
  • Action: Read the decorator/framework documentation or source to confirm supported language features before modifying decorated functions.

2.4 Performance & Resource Management

  • Principle: Do NOT degrade performance on critical paths.
  • Check: If the target code is on a performance-critical path (loop bodies, hot functions, data pipelines), verify that the change does not introduce unnecessary copies, allocations, or serialization overhead.
  • Action: If a change might introduce overhead, you MUST justify it or find an alternative.

2.5 Strict Library Verification (No Assumptions)

  • Principle: Verify, Don't Guess.
    • Ban: Do not assume a function exists or has a specific signature just because it "should".
    • Action: You MUST read the library code (if local) or use context7 / documentation tools to verify signatures before writing code.

2.6 Scoped and Modular Change

  • Principle: Keep the approved responsibility and contract boundaries.
    • Strategy: Compare incremental and replacement options against the goal, compatibility, recovery and correction cost. A smaller diff is not sufficient if it omits required coordination.
    • Replacement Decision: When an overall replacement is not already authorized, pause and explain the targets, consequences, recovery conditions and reasons before asking. Do not require proof that every incremental alternative is impossible, or re-ask an explicitly approved replacement.

2.7 Ripple Effect & Minimalism

  • Principle: Global Consistency & Minimal Noise.
    • Ripple: Analyze the call chain. Ensure logical consistency across the entire project.
    • Minimalism: Do NOT touch unrelated comments, formatting, whitespace, or variable names. ONLY change what is necessary for the task.

3. Workflow Protocol

Phase 0: Packet Loading (Conditional)

Execute only if a task_packet_file argument was provided.

If argument IS provided:

  1. Read: Load .claude/temp_task/{task_packet_file} using the Read tool.
    • If file does not exist: HALT. Report error. Do NOT proceed.
  2. Extract constraints: parse evidence_packet.proposed_changes[] as the declared change scope and read sender_payload.analysis, plan[], and assumptions for task requirements, bounded choices, strategy and verification. Check the declarations against actual applicable user approval; a packet is not permission.
    • MUST NOT make changes outside the described and authorized scope. Evidence paths do not add targets. Mi
Полный SKILL.md на GitHub

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

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

  1. 01Read
  2. 02Edit
  3. 03Write
  4. 04Grep
  5. 05Glob
  6. 06Bash
  7. 07AskUserQuestion

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

  • README.md
  • README_zh.md

FAQ

Что делает скилл remy-patch?

Apply code changes with task-scoped strategy and recovery records. Accepts existing evidence packets or standalone requests.

Как установить скилл remy-patch?

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

Скилл remy-patch запускает скрипты?

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

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

Сравнить remy-patch с