본문으로 건너뛰기
cccskills
무료GitHub에 공개

evolutionary-naming

Use when refactoring code with poor names, when asked to improve naming, or when a user struggles to name a class/method/variable. Symptoms include -Manager/-Util suffixes, single-letter variables, process/handle/do verbs, primitive obsession, god methods with multiple responsibilities. Two modes — audit (broad scan, list opportunities) and improve (walk one specific identifier through the process).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md3.6 KB
  • audit-mode.md4.2 KB
  • improve-mode.md4.5 KB
  • reference.md9.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Evolutionary Naming

Overview

Naming is a process, not a single step. Names evolve through 7 progressive steps grouped into 3 phases. Match the depth of work to the user's actual story — don't run the full pipeline every time.

This skill is advisory. It reads code and proposes renames, transitions, and the commit message you'd write for each — it does not edit files or run git. The user applies the changes. Phrase every transition as a proposal, and suggest the commit message they would use, rather than claiming the rename is done.

Based on Arlo Belshee's "Naming as a Process" (CC BY 3.0). Updated edition: digdeeproots.com.

The Three Phases

PhaseStepsNature
Phase 1: Insight → NameMissing → Nonsense → Honest → Honest and CompleteUniversal. Pure naming. No structural change. Safe to walk continuously.
Phase 2: Name → StructureHonest and Complete → Does the Right ThingCodebase-specific. Requires structural refactoring. Ask permission.
Phase 3: Combine for DesignDoes the Right Thing → Intent → Domain AbstractionRequires reading call sites and domain context. Ask permission.

Choose Your Mode

This skill operates in two modes. Pick the one that matches the user's request.

User signalModeFile
Specific identifier named ("d を改善", "DocumentManager をどうにか", "this method")improve-modeimprove-mode.md
One clear target inside a code block + "リファクタリング" / "改善"improve-modeimprove-mode.md
"全体の命名を見直したい", "改善余地ある?", "命名レビュー", "scan", "audit", "リストだけほしい"audit-modeaudit-mode.md
Audit followup: "X だけ直して" after audit outputimprove-mode (target = X)improve-mode.md
Ambiguous (large code paste, no specific target, no "全体" language)Ask the user: "全体を監査しますか、特定の識別子を改善しますか?"

Mode = audit: Read audit-mode.md. Produce a structured table of all naming opportunities. Do not execute changes.

Mode = improve: Read improve-mode.md. Walk one identifier through phase transitions. Pause at phase boundaries.

Both modes share diagnostic criteria, transition mechanics, and red flags from reference.md.

When to Stop

How far to walk depends on the user's depth signal. The canonical signal → stop-at table lives in reference.md ("Depth Signals — How Far to Walk"); both modes read from it.

"You take the minimum steps to get the name to meet your need for the current story." — leaving names incomplete for colleagues to extend is a feature, not a flaw.

Files in This Skill

  • SKILL.md — this file. Router and overview.
  • reference.md — shared 7-step diagnosis table, transitions, red flags, applesauce/probably_/AndStuff guidance.
  • audit-mode.md — exhaustive scan workflow + output template.
  • improve-mode.md — interactive single-target workflow + pause protocol.

Read the mode file you selected, plus reference.md for diagnosis details.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고