Skip to main content

refactor-simplify

Perform behavior-preserving simplification and cleanup after green tests.

ソース情報

リポジトリ
sunpar/agentic_development
ソースの最終更新活動
2026年5月22日 15:56
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
refactor-simplify
description
Perform behavior-preserving simplification and cleanup after green tests.
# Refactor Simplify ## Trigger Use when requested refactor is readability/DRY/removal of repeated abstraction. ## Inputs - Task/task set and green baseline test evidence. ## Outputs - Refactored code with no behavior regression. - Updated/added characterization tests if necessary. ## Procedure 1. Confirm baseline is green. 2. Identify duplicate abstractions, verbose wrappers, and repeated boilerplate. 3. Refactor only local scope. 4. Keep public behavior unchanged. ## Guardrails - No behavior change unless explicitly requested. - Preserve API/shape. ## Success criteria - Equivalent behavior verified by rerun of baseline suite. ## Prefer Superpowers - Use `refactor` patterns only and ask `writing-plans` only when scope is large. ## Avoid scope creep - Do not introduce new architecture in simplification pass.
GitHubで見る