ck get-method-source — Reference
SkillDev toolsExtract a single C#, TypeScript, Kotlin, or Python method/property body with exact source spans. Use after ck signatures identifies the target member.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the ck get-method-source — Reference skill
What this skill tells your AI
The instructions your AI receives, as published by fredrik-c/contextking in skills/ck-get-method-source/SKILL.md and read by ahel’s review.
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.
Signals
- GitHub stars
- 22
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
ck-get-method-source- Source
- github.com/fredrik-c/contextking