Skip to content
Back to skills

Refactor Advisor

ASecurity

Cursorでローカルの差分・ファイルからリファクタリング改善案を返すnative入口。変更は適用せず、共有refactor-advisorとrefactor-guidanceを読み、reviewerのVERDICTから分離する。

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 23, 2026
ai-agents

Works with

  • cursor

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add coil398/dotfiles --skill refactor-advisor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Refactor Advisor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Refactor Advisor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/coil398-refactor-advisor-dotfiles/badge)](https://www.skillsdirectory.com/skills/coil398-refactor-advisor-dotfiles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: refactor-advisor
description: Cursorでローカルの差分・ファイルからリファクタリング改善案を返すnative入口。変更は適用せず、共有refactor-advisorとrefactor-guidanceを読み、reviewerのVERDICTから分離する。
argument-hint: "[対象範囲の指定]"
---

<!-- Cursor native overlay: runtime entry; shared review rules live in .agents -->

# Refactor Advisor:Cursor native entry

Cursorの親は、次の共有原本をこのSkillの実体から相対して解決する。

~~~text
SHARED_SKILL_PATH=../../../.agents/skills/refactor-advisor/SKILL.md
GUIDANCE_PATH=../../../.agents/skills/refactor-advisor/references/refactor-guidance.md
~~~

親はSHARED_SKILL_PATHの実在を確認してReadし、共有refactor-advisorの進行を適用する。GUIDANCE_PATHは実在を確認して提案Taskへ絶対pathで渡し、親が直接評価する場合だけ親自身がGUIDANCE_PATHをReadする。対象diff・既存先例・3箇所以上の重複・標準/既存helper・言語イディオム・非阻害の提案境界を共有手順に従って扱う。対象repoのcwd、~/.cursor/projects、固定Agent定義から資料やpathを推測しない。

CursorのTask起動、model、effort、role、容量は公開schemaと既存runtime方針に従い、対象diff・要件・既存先例・guidance pathを欠落なくrefactor評価Taskへ渡す。この親入口は必要な一体のrefactor評価Taskを起動できる。起動された評価Taskは別の司令塔や親Skillを再委任しない。固定model、固定人数、ユーザーゲート、report保存、記憶追記、実装、commit、pushをこの入口で追加しない。CodexのAgent語彙や固定モデル名を使わない。PROPOSALSのみを返し、VERDICTや完了阻害判定を作らない。適用後の影響観点の再確認は親が行う。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.