evolutionary-naming

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

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.
Based on Arlo Belshee's "Naming as a Process" (CC BY 3.0). Updated edition: digdeeproots.com.
命名是一个过程,而非单一步骤。 命名会通过7个递进步骤演进,分为3个阶段。根据用户实际需求调整工作深度——无需每次都执行完整流程。
基于Arlo Belshee的《命名即过程》(CC BY 3.0)。更新版本: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.
阶段步骤特性
阶段1:洞察→命名缺失→无意义→如实→如实且完整通用阶段。纯命名调整。无需修改代码结构。可随时安全进行。
阶段2:命名→结构如实且完整→做正确的事针对特定代码库。需要进行结构性重构。需征得用户许可。
阶段3:结合以实现设计做正确的事→意图→领域抽象需要阅读调用场景和领域上下文。需征得用户许可。

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-mode
improve-mode.md
One clear target inside a code block + "リファクタリング" / "改善"improve-mode
improve-mode.md
"全体の命名を見直したい", "改善余地ある?", "命名レビュー", "scan", "audit", "リストだけほしい"audit-mode
audit-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
.
此技能有两种工作模式。请根据用户的请求选择对应模式。
用户信号模式文件
指定了具体标识符(如“改善
d
”、“优化DocumentManager”、“这个方法”)
改进模式
improve-mode.md
代码块中有明确的优化目标 + “重构”/“改善”改进模式
improve-mode.md
“想要重新审视整体命名”、“有改进空间吗?”、“命名评审”、“扫描”、“审计”、“只要列表”审计模式
audit-mode.md
审计后续:审计输出后用户提出“只修改X”改进模式(目标=X)
improve-mode.md
需求模糊(粘贴大段代码、无特定目标、无“整体”相关表述)询问用户:“您需要对整体进行审计,还是改进特定标识符?”
模式=审计: 阅读
audit-mode.md
。生成包含所有命名优化点的结构化表格。不执行修改操作。
模式=改进: 阅读
improve-mode.md
。针对单个标识符逐步完成阶段转换。在阶段边界处暂停。
两种模式均共享
reference.md
中的诊断标准、转换机制和警示标志。

When to Stop (improve-mode depth signals)

何时停止(改进模式的深度信号)

User signalStop at
"急いでる" / "bug fix" / "とりあえず"Honest (mid Phase 1)
"改善して" / generic renameHonest and Complete (end of Phase 1)
"リファクタリング"Does the Right Thing (Phase 2)
"設計から見直したい" / "ドメイン的に整理"Intent or Domain Abstraction (Phase 3)
"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.
用户信号停止阶段
“赶时间” / “bug修复” / “先凑合用”如实(阶段1中期)
“进行改进” / 通用重命名如实且完整(阶段1结束)
“重构”做正确的事(阶段2)
“想从设计层面重新审视” / “按领域整理”意图或领域抽象(阶段3)
“你只需采取最少步骤让名称满足当前任务需求。”——让名称处于未完成状态以便同事后续扩展,这是一种设计优势,而非缺陷。

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.
  • SKILL.md
    —— 本文件。路由与概述。
  • reference.md
    —— 共享的7步诊断表、转换规则、警示标志、applesauce/probably_/AndStuff相关指南。
  • audit-mode.md
    —— 全面扫描工作流 + 输出模板。
  • improve-mode.md
    —— 交互式单目标工作流 + 暂停规则。
请阅读你选择的模式文件,以及
reference.md
获取详细诊断信息。