intent-revealing-names

intent-revealing-names is a skill for Claude Code from msbaek/msbaek-claude-plugins. It costs 190 tokens per session (4,955 once invoked), scanned A, original, MIT.

A refactoring workflow for making long methods easier to understand by organizing their steps and improving their names.

In plain words
What is it for?
It is for restructuring one long method, extracting smaller methods, and applying a six-stage approach to more honest and descriptive names.
Why use it?
It makes a method's responsibilities clearer and helps reveal what the code is intended to do.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the msbaek-tdd plugin — 28 skills, 10 agents, 2 hooks shipped together

Good fit It is for restructuring one long method, extracting smaller methods, and applying a six-stage approach to more honest and descriptive names.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add msbaek/msbaek-claude-plugins
Claude Code
/plugin install msbaek-tdd

Made for: Claude Code.

Or install msbaek-tdd, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for intent-revealing-names

README.md
[![agentmods](https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/intent-revealing-names/github.svg)](https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/intent-revealing-names)
Your own site
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/intent-revealing-names"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/intent-revealing-names/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for intent-revealing-names

Your own site · 80×15
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/intent-revealing-names"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/intent-revealing-names.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00190 $0.04955
Opus 5.5 $0.00076 $0.01982
Sonnet 5.5 $0.00038 $0.00991
Haiku 4.5 $0.00019 $0.00496

Measured 2mo ago against content hash caa196104932, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

intent-revealing-names scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

msbaek-tdd/skills/intent-revealing-names/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Intent-Revealing Names — 이름 주도 관통 리팩토링

이름 없는 긴 메서드 하나를 대상으로, grouping → comment → 정직한 이름 → extract → 의도 드러내는 이름 → 도메인 추상화를 하나의 연속 흐름으로 관통한다.

이름을 신뢰한다면 어떨까요? 이름을 읽어도 메서드를 읽을 필요가 없는 세상을 상상해 보세요. — Arlo Belshee

핵심 명제

  • intent(의도) = why(왜). 좋은 이름은 코드가 *무엇을 하는가(what)*가 아니라 *왜 부르는가(why)*를 드러낸다.
  • 이름은 리팩터링의 결과가 아니라 진단 수단이다. 이름을 정직하게 만들려는 시도 자체가 구조적 문제(SRP 위반, 원시 집착)를 드러내고, 그 진단이 Extract Method·값 객체 도입으로 이어진다.
  • comment는 extract될 메서드 이름의 초안이다 (Kent Beck: "좋은 이름이 떠오르지 않으면 먼저 주석으로 의도를 표현하라 — Extract Method의 전 단계").
  • 전환점은 3 → 5단계: 3단계까지 "무엇을(what)"을 정직하게 누적하고, 5단계에서 "왜(why)"로 전환한다. 이 전환이 있어야 "이름만 읽으면 본문을 읽을 필요가 없는" 상태가 된다.

GOAL

  • 성공 = 대상 긴 메서드가 목차(table of contents)로 축약되고, 각 이름이 why를 드러내며, 모든 테스트가 통과하고, 되돌리기 쉬운 단위 커밋으로 남는다.
  • 상위 메서드의 이름이 what 나열이 아니라 why(호출 이유)를 드러냄
  • 추출된 각 private helper가 하나의 식별 가능한 책임만 수행 (Composed Method)
  • 남은 원시 집착(Primitive Obsession)이 식별되어 후속 스킬로 인계됨 (승격 자체는 이 스킬 밖)
  • 동작 변경 없이 구조만 개선됨

CONSTRAINTS

  • 계열: Tidy — 후보 보고 후 승인 없이 적용 (../../references/refactoring-procedure.md §0·§3-A)

Hard Rules (공유)

  • 동작 변경 금지 — 구조·이름만 개선, 기능 변경 없음
  • 테스트 수정 금지 — 변경이 테스트를 실패시키면 즉시 되돌리기
  • 작은 단계 + 매 단계 테스트 — 한 번에 하나의 변형만 적용하고 green 확인
  • 명시적 git add — git add -A 금지, 변경 파일만 명시
  • 사용자 확인 — 대상 메서드 확정과 5·6단계 진입은 사용자와 합의

이 스킬 고유 규칙

  • 대상은 하나의 긴 메서드 — 파일 전체 검토가 아니라, 지정된(또는 가장 냄새나는) 긴 메서드 하나에 집중
  • rename을 마지막에 일괄 수행하지 않는다 — 이름 진화(3단계)가 extract(4단계)를 유발하고, extract 후 다시 rename(5단계)한다. 이 인터리빙이 이 스킬의 본질이다
  • Extract는 국소(local)에 한정 — 대상 메서드를 같은 클래스 내 private helper로 분할하는 것까지. 클래스 분리·도메인 이동 등 대규모 구조 변경은 /system-wide-refactoring 전담 (이 스킬은 self-contained 연속 흐름)
  • 6단계는 가르치되 인계 — 운영상 이 스킬은 5단계(Intent Revealing)까지 실행하고, 6단계(Domain Abstraction)는 방향만 보여준 뒤 원시 집착을 지목해 값 객체·도메인 이동을 후속 스킬(/discover-value-object 등)로 인계한다. 승격을 이 스킬 흐름 안에서 실행하지 않는다

6단계 관통 프로세스 — "주문 처리" 예제

e-commerce "주문 처리" 예제로 6단계를 처음부터 끝까지 진행한다. 각 단계는 목적 + 코드 상태 + 다음 단계로 넘어가게 만드는 트리거(냄새) 로 구성된다.

출발점 — 이름 없는 긴 메서드

Read the full file on GitHub · 278 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +1 lines caa196104932
  2. 2mo ago Changed 15c86b8d6c60
  3. 3mo ago Changed 47363b7b8ead
  4. 3mo ago First seen · 277 lines · 190 tokens per session scan A 65e84d8afc94

Subscribe to this mod's changes

intent-revealing-names is a skill published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 190 tokens to every session and 4,955 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

intent-revealing-names compared with skills from other repositories

intent-revealing-names next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
intent-revealing-namesmsbaek/msbaek-claude-pluginsSkill81mo agoMITA190Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k13d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k2d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill9772d agoMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k21d agoMITA162Claude Code, Codex