hoc-super-prefix-method-name
The super-prefixes a method name may carry before its verb, and what each one promises about how the method behaves. Use when naming or reviewing a method…
от openreachtech★ 17 звёзд на GitHub
Установить hoc-super-prefix-method-name в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Super-Prefix: Method Name
A method name may carry a prefix before its verb, marking what kind of behavior the method is. The verb says what the method does; the super-prefix says how it goes about it, and it is what tells one member from its siblings at the call site.
It is called super because it goes in front of the word that already leads the name. A
method name opens with its verb, so a prefix placed ahead of it stands one level above what the
name begins with: an adjective before the verb, as with deep~ and bulk~, or a verb before
the verb, as with invoke~.
| Super-prefix | What it marks |
|---|---|
bulk~ |
The method carries out a single-item behavior for many items at once |
deep~ |
The method realizes a recursion: it calls itself as it descends into a nested structure |
invoke~ |
The method calls a method of a delegate, and does nothing else |
- The prefix comes before the verb and leaves the rest of the name alone. Everything behind
it follows the naming convention, the transitive-verb-plus-object rule included, so it is
deepLoadFiles()rather thandeepLoad().
bulk~
| behavior | bulk~ |
|---|---|
createEntity() |
bulkCreateEntities() |
fetchResult() |
bulkFetchResults() |
// bulk~: the many-at-once member, standing beside the one that takes a single item
bulkSaveCustomers ({ customers }) { /* ... */ }
saveCustomer ({ customer }) { /* ... */ }
bulk~says a single-item member exists beside it. The prefix is what tells the two apart at the call site, so it is worn by the many-at-once member and never by the one that takes a single item — a lonebulk~with nothing to contrast with is naming a distinction the class does not make.
deep~
| behavior | deep~ |
|---|---|
buildClause() |
deepBuildClause() |
kickOutNull() |
deepKickOutNull() |
deep~is worn by the member that realizes the recursion. It makes explicit that the method calls itself. Where in its body the call to itself sits does not decide it.- The plain-named entry point in front of it wears no prefix. How a recursion is laid out
behind its entry point belongs to
/hoc-methods-recursion.
invoke~
| behavior | invoke~ |
|---|---|
launchRequest() |
invokeLaunchRequest() |
validate() |
invokeValidate() |
- What it calls is a method of a delegate, and calling it is the member's whole body. What a
delegate is, why its call is isolated in a member of its own, where the
try/catchgoes and why the member stays private belong to/hoc-classes-delegation. - The rest of the name is the delegate's own method name, unchanged.
invokeLaunchRequest()calls the delegate'slaunchRequest(), andinvokeValidate()calls itsvalidate(). A member that calls a delegate's method under a name of its own, with a verb or an object the delegate does not use, is not aninvoke~: it takes the name the naming convention gives it. - What it is read for here is the name.
invoke~is worn by the member the delegation convention isolates, and by nothing else: a member that also builds what it passes on or handles what comes back is not aninvoke~, whatever it calls.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hoc-super-prefix-method-name?
The super-prefixes a method name may carry before its verb, and what each one promises about how the method behaves. Use when naming or reviewing a method that handles many items at once, realizes a recursion, or calls a delegate. The rest of a method name belongs to the naming convention; how a recursion is laid out, to the method recursion convention; how the call to a delegate is isolated, to the delegation convention.
Как установить скилл hoc-super-prefix-method-name?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hoc-super-prefix-method-name запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…