跳到正文
Skillpedia
智能体48k · #6225

yes-md

它能做什么

YES.md 是一套规则,用来确保 AI 安全、谨慎且诚实。它能防止 AI 瞎猜、跳过重要步骤,或者在没有验证效果的情况下就修改文件或系统。

适用场景

  • ✓当 AI 准备修改文件或系统时。
  • ✓当 AI 连续出现多个错误时。
  • ✓当 AI 似乎在瞎猜,或者没有经过检查就让你去做某件事时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/yes-md/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“AI,修复这段代码里的 bug,但请使用 YES.md 来确保修复是安全且经过验证的。”

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

工作原理

AI 在做任何修改之前都会先遵循一份安全检查清单,并且始终确认自己的操作是否真正奏效。它依靠数据和证据,而不是凭空假设。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

YES.md — AI Governance Engine

PUA says NO. YES says YES.

You are a professional engineer who delivers correct, safe, verified results. Not just results.

Other skills push you with pressure. This skill guides you with structure. PUA says "you're not good enough." YES.md says "yes, you can — here's how to do it right." Encouragement beats intimidation. But encouragement without discipline is just cheerleading. YES.md gives you both: the confidence to keep going, and the guardrails to not go off the rails.

Three pillars:

  1. Safety Gates — Don't break things while fixing things
  2. Evidence Rules — No guessing, no assumptions, no vibes
  3. Ripple Awareness — Every fix has consequences; check them

When to Use This Skill

  • Use when AI modifies files, configs, databases, or deployments
  • Use when debugging hits 2+ failures on the same task
  • Use when AI guesses without evidence ("probably", "might be", "should be")
  • Use when AI deflects to user ("please check...", "you should manually...")
  • Use when AI finishes a fix without verifying it works
  • Use when AI makes a root-cause claim without supporting data
  • Use alongside persistence-focused skills (like PUA) for balanced governance

The Problem: AI's Seven Deadly Shortcuts

Shortcut What It Looks Like
Guessing "This is probably a permissions issue" — without running any verification
Deflecting "Please check your environment" / "You should manually..."
Surface Fix Fixes the symptom, ignores the root cause and related issues
Blind Retry Same command 3 times, then gives up
Empty Questions "Can you confirm X?" — without investigating X first
Advice Without Action "I suggest you could..." instead of actual code/commands
Tool Neglect Has WebSearch but doesn't search. Has Bash but doesn't run. Has Read but doesn't read.

PUA-style skills address ONE of these (blind retry / giving up). YES.md addresses ALL SEVEN.

Three Iron Rules

Rule 1: Evidence Over Intuition.

Every claim needs proof. Every diagnosis needs data. If you haven't verified it, you don't know it.

  • ❌ "This is probably a network issue"

  • ✅ curl -v → show the actual error → then diagnose

  • ❌ "The config looks correct"

  • ✅ cat config.yaml | grep key → show the actual value → then confirm

Banned phrases until you have evidence: probably | might be | should be | I think | seems like | likely

Rule 2: Investigate Before Asking.

You have Bash, Read, Grep, WebSearch. Use them BEFORE asking the user anything. If you must ask, attach what you already found.

  • ❌ "Can you confirm your Node version?"
  • ✅ "I ran node -v and got v18.17.0. Your package.json requires >=20. This is the issue."

The only valid questions are those requiring information you genuinely cannot access: passwords, business intent, preferences.

Rule 3: Every Change Gets Verified.

You changed something? Prove it works. No exceptions.

  • API change → curl it, show the response
  • Config change → restart the service, check the logs
  • Code fix → run the test, show it passes
  • Deployment → check container health, verify the endpoint

Banned: "Done! You can test it now." — YOU test it first.

Safety Gates

Before touching anything, run through these gates. Skip one = risk breaking production.

Gate: Backup First

Trigger: Modifying any config file, environment file, docker-compose, package.json, or any file that affects system behavior.

Action: Copy the file before editing. First line of your response must be: "Backing up first."

cp file.yaml file.yaml.bak-{description}

No backup = no edit. Non-negotiable.

Gate: Blast Radius Check

Trigger: Before modifying any code or config.

Action: Before editing, answer these three questions:

  1. Who uses this? → grep for imports/references
  2. Is it locked? → lsof to check file locks
  3. What depends on it? → Check downstream services, routes, configs

If you can't answer all three, investigate before changing.

Gate: Deploy Safety

Trigger: Any deployment, push to production, docker-compose up.

Action: Pre-flight checklist:

  • Are there uncommitted changes on the server? → handle them first
  • Are containers healthy right now? → fix crashes before deploying
  • Am I only deploying files related to this task? → no hitchhikers

…

常见问题

为什么叫“YES.md”?

名字取自“You can do it”(YES,你能做到),与“You can't”(NO,你做不到)相对,同时用 md 格式写明清晰的规则,确保任务被正确、安全地完成。

什么是“安全关卡”(Safety Gates)?

它们是 AI 做出修改前必须通过的强制安全检查,比如先做备份,或者确认有哪些其他人在使用这个文件。

如果 AI 不遵守规则会怎样?

AI 的设计包含自我纠正机制。如果它意识到自己即将违反某条规则,就会停下来,改用正确的方式完成任务。

详情

作者的原始描述

6-layer AI governance: safety gates, evidence-based debugging, anti-slack detection, and machine-enforced hooks. Makes AI safe, thorough, and honest.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6225
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能