本文へ移動
cccskills
無料GitHub で公開

pruner

Generate code context for coding tasks. Run before code changes, bug fixes, or refactoring to get execution paths, key files, symbols, tests, and snippets.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Pruner — Code Context Engine

Run one command to get context:

# Brief pointers (default)
pruner context /absolute/path/to/repo "<the user's ask>"

# Detailed output with execution paths and code snippets
pruner context /absolute/path/to/repo "<the user's ask>" --detail

Use an absolute repo path. Avoid cd ... && pruner context . in tool calls.

Workflow

  1. Run pruner context first — default output is brief pointers (~2K tokens).
  2. Work directly from the output.
  3. Use --detail if pointers aren't enough — adds execution paths and code snippets (~10-15K tokens).
  4. Read source files only if a snippet is truncated or you need nearby lines.
  5. Do not re-explore the same query with grep/glob right after pruner.

When to escalate

  • Read .pruner/context.md — if available, contains full execution paths and code snippets from the last run. Zero cost.
  • Run with --detail — regenerates focused output (~10-15K tokens). Use for understanding/debugging queries.
  • pruner show-symbol /path/to/repo "<name>" for callers/callees/signature.
  • pruner show-file /path/to/repo "<path>" for symbols/imports in one file.

Modes

  • --detail execution paths + code snippets (~10-15K tokens)
  • --brief metadata only (~2K tokens)
  • --full uncapped detail (~50-70K tokens on large repos)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

pruner

無料

Generate synthetic code context for LLM coding tasks. Automatically use this before making code changes, fixing bugs, refactoring, or answering questions about the codebase. Provides execution paths, relevant files, symbols, tests, and code snippets.

日本語の概要は準備中です。原文の説明を表示しています。

heikki-laitala/pruner162026年6月12日 更新

pruner

無料

Uses the local pruner indexer to gather relevant code context before making changes, debugging, refactoring, or answering questions about this repository.

日本語の概要は準備中です。原文の説明を表示しています。

heikki-laitala/pruner162026年6月12日 更新

heikki-laitala のスキルをすべて見る

このスキルの問題を報告する