跳到正文
Skillpedia
测试9.3k · #12296

md-audit

它能做什么

这项技能会检查当前文件夹中的代码,并按严重程度列出可能的问题。适合希望快速做只读检查的开发者。

适用场景

  • ✓当你想快速扫描漏洞、遗留代码或安全风险的时候。
  • ✓当你接手一个陌生的项目,想知道哪里可能有问题时。
  • ✓当你想在动手修改之前,先列出需要决定的问题时。

技能链接

https://github.com/HarnessMD/munder-difflin/blob/main/resources/skills/md-audit/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HarnessMD/munder-difflin/blob/main/resources/skills/md-audit/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请快速审计这个项目,告诉我你发现的最严重的问题。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会识别主要编程语言,搜索写死的密钥、被忽略的错误和未使用的导出等模式,然后按严重程度报告结果,不编辑任何文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Code Audit (read-only)

Perform a read-only code quality scan and return a findings report. Do NOT edit any files.

Steps:

  1. Scope — identify the primary language and entry points (package.json, Cargo.toml, go.mod, pyproject.toml, or similar).
  2. Scan — use Grep and Read to look for:
    • Unhandled promise rejections / ignored errors
    • Hard-coded secrets or credentials (keys, tokens, passwords)
    • TODO/FIXME/HACK comments that signal known debt
    • Dead exports (exported symbols with no in-repo import)
    • Obvious type-safety gaps (unchecked any, missing null guards)
  3. Report — output a findings list sorted by severity (Critical → High → Medium → Low):
    ## Audit Report — <project name>
    
    ### Critical
    - [file:line] <description>
    
    ### High
    - ...
    
    ### Summary
    <total count> findings across <file count> files scanned.
    
  4. Stop after reporting. Do not apply any fixes.
常见问题

它会修复问题吗?

不会。它在报告之后就停止,不做任何修复。

它能找出所有漏洞吗?

不能。它只查找常见模式,所以只是快速的初步检查,而不是完整的审查。

它能识别哪些项目?

它根据 package.json、Cargo.toml、go.mod 或 pyproject.toml 等文件识别项目类型。

详情

作者的原始描述

Read-only code quality audit — scan the current working directory for common issues (bugs, dead code, security hotspots, missing error handling) and return a prioritised findings report. No files are edited. Use when asked to "audit the code", "quick audit", "find issues", "code scan", or "what's wrong with this codebase". (munder-difflin)

repo: HarnessMD/munder-difflin

热度

GitHub 星标
9.3k
排名
#12296
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能