跳到正文
Skillpedia
安全6.6k · #13784

audit

它能做什么

审查代码库或其中某个部分,按严重程度报告已确认的问题,并注明位置和建议的修复方法。适合希望对代码风险做出客观评估的开发者。

适用场景

  • ✓当你想全面审查项目的安全性、正确性和维护状况时。
  • ✓当你需要在发布前检查系统的某一部分时。
  • ✓当你想要一份已确认的发现清单,且代码不被改动时。

技能链接

https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/audit/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请审核我应用中的登录部分是否存在安全和正确性问题,暂时不要修改任何代码。”

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

工作原理

该技能会界定审查范围,追踪输入从进入到经过验证、再到被使用的全过程,并在报告前确认每一个可疑问题。发现按严重程度列出,未经验证的线索则单独保留。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Establish the audit scope, then trace the relevant runtime paths. For a findings-only request, leave code unchanged; carry out fixes when the user has requested them.

  1. Identify entry points, state owners, external inputs, and teardown paths within the requested scope.
  2. Follow inputs through validation and consumers. In this TUI, inspect applicable session projections, plugin capabilities, file access, terminal escape handling, and long-session resource bounds. Prioritize paths whose failure can lose state, cross a trust boundary, or leave the terminal unusable. Check dependencies and lockfiles for known vulnerabilities against advisory data.
  3. Confirm suspected defects against callers, existing guards, and focused regressions. Check exports, registries, and supported compatibility paths before declaring code dead. Explain a simplification in terms of current requirements and the behavior it preserves.
  4. Report confirmed findings by severity with location, trigger, impact, and a concrete remedy. Keep unverified leads separate. For a cross-layer failure, a short input → boundary → effect trace may be enough to explain it.
  5. State the areas examined, checks actually run, and material gaps. No findings means none found in that scope, not proof that the whole project is safe. An audit can finish without findings or a forced list of healthy areas.
常见问题

它会修改我的代码吗?

对于只要求查找问题的请求,不会。只有在你要求时才会修复。

没有发现问题是否意味着项目是安全的?

不是。没有发现问题仅适用于该技能所检查的范围。

它会检查依赖项吗?

如果依赖项在审查范围内,会检查。它会将依赖项与已知的安全公告进行比对。

详情

作者的原始描述

Audit the repository or a broad subsystem for security, correctness, and maintainability risks. Use for audit requests or /audit; use review for a specific change and vuln-check for a security-only assessment.

repo: ccch1mneyyy/dsh-TUI

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能