ck get-base-types — Reference

SkillFiles & storage

Extract type declarations with base classes and interfaces from a C#, TypeScript, Kotlin, or Python file. Use when you need to understand inheritance hierarchy or find where a class fits in the type system.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the ck get-base-types — Reference skill

What this skill tells your AI

The instructions your AI receives, as published by fredrik-c/contextking in skills/ck-get-base-types/SKILL.md and read by ahel’s review.

Syntax

.claude/skills/ck/ck get-base-types <file>

Output (JSON)

[{
  "file": "src/Payment/AdyenGateway.cs",
  "name": "AdyenGateway",
  "kind": "class",
  "base_types": ["PaymentGatewayBase", "IPaymentGateway", "IDisposable"],
  "line": 12
}]

Fields

FieldDescription
nameType name
kindclass, abstract class, interface, struct, record, record struct, enum
base_typesAll entries from the base/implements list (base class + interfaces combined)
line1-based line number of the declaration

Notes

  • base_types is [] when the type has no base class or interfaces.
  • Base class and interface entries are not distinguished — Roslyn requires compilation for that.
  • For TypeScript, both extends and implements entries appear in base_types.
  • 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-base-types
Source
github.com/fredrik-c/contextking