Skimless

io.github.pedroofrancaa由 GitHub 帳號 pedroofrancaa 發布v0.1.2更新於 Oct 24, 2026

Reading order for big pull requests: what to read first, what can wait. Offline, no model.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

Skimless 把過大的拉取請求差異整理成閱讀順序與發現清單,透過 MCP 在本機提供給 AI 助理。

可以做什麼
為差異請求閱讀順序與發現清單,讓助理知道哪些檔案先讀、哪些可以稍後,並為每個檔案附上以規則為基礎的發現,回應中形似金鑰的字串會被遮蔽。
適用情境
適合在審查大型或由代理產生的拉取請求時使用,讓助理依合理的優先順序處理差異,而不是逐一翻看檔案。它只是啟發式指引,不是審查結論。
執行需求
透過 npm 套件 skimless 以 npx 在本機以 stdio 執行,需要 Node.js 22 或更新版本。未宣告任何帳號、權杖、API 金鑰或環境變數,可離線使用且不呼叫模型。
安裝前請注意
它會讀取儲存庫中的差異並送入助理的上下文,不過 MCP 回應中形似金鑰的字串一律會被遮蔽。發現結果是啟發式的,清單安靜並不代表差異安全;它不會執行差異,也不會張貼留言。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Skimless,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Skimless

[CI] [npm] [License: MIT]

English · Português

The reading order for pull requests that got too big.

Skimless turns a diff into a packet: what to read first, which files can wait, and which lines deserve a human. It runs on your machine. It does not call a model, post a comment, or phone home.

Zero runtime dependencies. Node.js 22 or newer. A CLI, a GitHub Action, a library, and an MCP server for AI agents. Packets in English and Portuguese.

bash
npx skimless demo

[A Skimless review packet: headline, stats, and the reading order]

text
skimless  Do not skim this one14 files · +86 −8 · about 2 min. 5 high-priority findings.First pass: index.ts, fixture.ts, verify.ts.
 1  src/api/index.ts                  Public export changed 2  src/webhooks/fixture.ts           Secret-shaped string added 3  src/webhooks/verify.ts            Signature compared with == 4  .github/workflows/release.yml     Workflow grants write permissions 5  src/billing/invoice.ts            Billing path changed 6  test/webhooks/verify.test.ts      Test file deleted 7  migrations/2026_09_23_api_keys.sql 8  src/billing/charge.ts 9  package.json                      Dependency manifest changed10  Dockerfile11  test/billing/charge.test.ts       Can wait12  docs/webhooks.md                  Can wait13  package-lock.json                 Can wait14  src/generated/types.ts            Can wait

The sample verify.ts calls timingSafeEqual on a buffer compared with itself. Skimless has no rule for that. It puts the file third, under the live-shaped key, so a person sees it. That is the product: a path through the diff, not a verdict.

English packet · Pacote em português · A real diff: Express 4.21.2 → 5.0.0

Why this exists

Pull requests written with an agent get big. The reviewer opens the first file, gets tired, and approves the lockfile with the same glance they would give a migration. Skimless tells you where skimming is safe and where it is not: the public API first, the sharp edges next, the noise at the end. The score is a reading priority. A quiet packet does not prove the diff is safe.

Run it

bash
npx skimless demonpx skimless demo --lang pt --format html --out skimless.htmlnpx skimless review --base origin/main --format all --out skimless --fail-on high

Or install it once with npm install -g skimless and call skimless.

--format all writes skimless.html, skimless.md, and skimless.json. Secret-shaped strings are redacted unless you pass --no-redact. --fail-on defaults to none locally. In CI, use high.

On a generated 2,000-file diff, a review packet comes back in about 100 ms on a laptop. npm run bench prints the number for your machine.

js
import { redactPacket, reviewDiff } from "skimless";
const packet = redactPacket(reviewDiff(patch, { order: "story", lang: "pt", budgetMinutes: 25 }));packet.readingOrder.forEach((stop) => console.log(stop.path, stop.reason));

What the packet is

  • A reading order. story is the default: API and types, then auth, signing, billing, migrations, and CI, then manifests, then the rest, then tests, docs, lockfiles, and generated code. A high finding jumps its file up into the sharp band. risk sorts by score alone.
  • Findings with the rule id attached. Twenty-one rules, each one a sentence, covering JavaScript, TypeScript, Python, Ruby, Go, PHP, Java, Kotlin, Rust, and C#, plus GitHub Actions, GitLab CI, and other runners. See docs/rules.md.
  • An HTML file you can attach, a Markdown comment, and JSON for whatever you already run.

Copy examples/skimless.config.json to skimless.config.json to set the budget, ignore globs, and the CI failure level.

CI

yaml
- uses: actions/checkout@v4  with:    fetch-depth: 0- uses: pedroofrancaa/skimless@v1  with:    base: origin/${{ github.base_ref }}    fail-on: high

The action needs no token and posts no comment. The reading order and findings land in the job summary, on the pull request's Checks page. It passes inputs through the environment, then to git diff as arguments, never stitched into a shell string. docs/ci.md has the full workflow, every input, and a GitLab CI job.

Use it from an agent

skimless mcp is an MCP server. Claude Code, Cursor, VS Code, and other agents can ask for the reading order before they review a change, then read the files in that order.

bash
claude mcp add skimless -- npx -y skimless mcp

Skimless still does not call a model. It serves one. Secret-shaped strings are always redacted in MCP responses, so a live key in the diff never reaches the agent's context. docs/mcp.md has the setup for each client, the tool arguments, and prompts that work.

What it will not do

  • It will not execute the diff.
  • It will not call a model, and it will not pretend a heuristic is one. Agents can call Skimless; Skimless does not call them.
  • It will not catch every bug. The self-compare in the sample is the example we keep on purpose.
  • A quiet label is not an approval.

Development

bash
npm installnpm testnpm run checknode --experimental-strip-types src/cli.ts demo

Day to day, the CLI runs the TypeScript source directly. npm run build emits dist/, which is what npm ships.

Rules, reading order, and the library surface are described in docs/. The contributor notes are in CONTRIBUTING.md. The project is MIT, in GOVERNANCE.md terms: one maintainer at the start, decisions in the open, no pretended community.

License

MIT

來源:README.md,提交 dcd71b2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 23, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分