← Back to list

def
by WilletJiang
⭐ 0🍴 0📅 Dec 23, 2025
SKILL.md
name: def description: Locate symbol definitions quickly (precise for Python via AST; conservative candidates for other languages) and print a bounded context packet.
def
Use this skill when
- You need definition locations for a symbol without opening files manually.
- You want minimal, high-signal context for review or refactor work.
Commands
# Auto (tries Python-precise, then other languages as candidates)
def MyClass .
# Prefer Python precision and include a small snippet
def MyClass . --lang py -C 2
# Methods / dotted qualnames (Python): find `Class.method`
def MyClass.__init__ mypkg --lang py -C 1
# Bias path ranking if you know where code likely lives
def MyClass . --prefer torch --prefer aten
Notes
- Python results are AST-validated (low false positives).
- Non-Python results are heuristic candidates; use
ctxto confirm if ambiguous.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon