justin/jww-skills

jww-bounded-investigation

Keep a written evidence ledger and delegate whole-repository searches during investigation that spans many files.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/justin/jww-skills --skill jww-bounded-investigation

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Bounded Investigation

Keep a multi-file investigation bounded by delegating broad discovery and recording the evidence needed to verify the conclusion. Targeted reads and narrow commands are assumed; they are not what this skill adds.

When to Use

Invoke this when the work is investigation and the relevant code is not yet located, such as:

  • a stack trace or error with no obvious owning file
  • a "why does X happen" question naming a behavior but no source
  • an audit or archaeology pass that will span many files

Skip it once the relevant files are identified, or for ordinary edits to known code.

Delegate Fan-Out Searches

Delegate a sweep to a read-only search agent when the harness provides one, delegation is authorized, and both conditions hold:

  • the location is unknown — many candidate files, uncertain naming, or a

whole-repository code search

  • you need the conclusion, not the surrounding code

Run the search yourself when the target is specific enough that the output is small, or when judging the surrounding code matters more than finding it. Keep synthesis and verification in the primary agent: inspect the cited source before relying on a delegated conclusion.

Keep an Evidence Ledger

Keep the ledger in your working notes or a scratch file for the session; it is not committed. Record one line per finding: the source, the observation, and what it rules in or out.

text
src/Session/Store.swift:88 — writes cache off the main actor — explains the
crash, rules out the decoder path

Record ruled-out branches and sources that were checked and added nothing. Without them, the same file gets read again later in the same investigation.

The ledger is the raw material for a handoff: its lines become the Decisions and Touched sections of jww-handoff, so keeping it makes that handoff nearly free to write.

Report

Lead with the conclusion, then the evidence that supports it and the caveats that affect trusting it. Cite by file and line so the reasoning can be rechecked without reproducing the search.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills