ck-get-method-source
Extract a single C#, TypeScript, Kotlin, or Python method/property body with exact source spans. Use after ck signatures identifies the target member.
от Fredrik-C★ 24 звезды на GitHub
Установить ck-get-method-source в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ck get-method-source — Reference
Syntax
.claude/skills/ck/ck get-method-source <file> <ExactMemberName> [--type <TypeName>] [--mode <mode>]
<ExactMemberName> must match exactly — copy it from ck signatures output.
Refund will NOT match RefundPaymentAsync.
Modes
| Mode | Returns |
|---|---|
signature_plus_body |
Full member (default) |
signature_only |
Signature line only |
body_only |
Body block only |
body_without_comments |
Body with comments stripped |
Output (JSON)
[{
"file": "src/Payment/Processor.cs",
"member_name": "ProcessPayment",
"containing_type": "PaymentProcessor",
"signature": "public async Task<Result> ProcessPayment(PaymentRequest req)",
"start_line": 42, "end_line": 87,
"content": "..."
}]
Tips
- Add
--type ClassNameto disambiguate overloads across types. - After you reach this step, continue with targeted file/member reads in the same area; do not bounce back to
expand-folderfor that folder unless you intentionally reset direction with a newfind-filesquery. - For files <50 lines, use
ck read-full-file <file>directly. - No index required — always reads live from disk.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ck-get-method-source?
Extract a single C#, TypeScript, Kotlin, or Python method/property body with exact source spans. Use after ck signatures identifies the target member.
Как установить скилл ck-get-method-source?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ck-get-method-source запускает скрипты?
Нет, скилл состоит только из инструкций (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…