Security v1.0.0

minimalist-audit

Audit a codebase or directory for deletion candidates: dead code, unused dependencies, single-use abstractions, config...

divyeshjayswal 更新于 2026-07-04 1 浏览
下载 SKILL

技能说明

Audit a codebase or directory for deletion candidates: dead code, unused dependencies, single-use abstractions, config that never varies, and duplicated helpers. Use when the user says "minimalist audit" or asks what can be deleted from a project.

使用场景

Walk the target and produce a ranked deletion list. For each candidate: path — est. LOC removable — evidence — risk (low/med/high).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/minimalist-audit
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 13 kB
SKILL.md text/markdown
---
name: minimalist-audit
description: >
  Audit a codebase or directory for deletion candidates: dead code, unused
  dependencies, single-use abstractions, config that never varies, and
  duplicated helpers. Use when the user says "minimalist audit" or asks
  what can be deleted from a project.
license: MIT
---

# Minimalist Audit

Walk the target and produce a ranked deletion list. For each candidate:
`path — est. LOC removable — evidence — risk (low/med/high)`.

Look for:
1. Exports with zero references (verify by searching, don't guess).
2. Dependencies in the manifest never imported, or imported for one function the stdlib has.
3. Abstractions (interfaces, factories, base classes) with exactly one concrete user.
4. Config values that have never differed between environments.
5. Copy-pasted helpers that already exist elsewhere in the repo.
6. Commented-out code and "TODO later" scaffolding older than the file's median age.

End with a one-paragraph summary: total estimated removable LOC and the top
three lowest-risk deletions to start with. Never mark tests, validation, auth
or error paths as dead without proven zero references.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。