跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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 的全部技能

报告此技能的问题