pua-en
它能做什么
这项技能是一份行为指南,让 AI 在反复失败的任务上持续推进,不会推卸给环境,也不会在没有证据时声称成功。适合希望 AI 更有韧性、结果经过验证的人。
适用场景
- ✓AI 对同一任务失败两次或以上,并一直重复同一方法的时候。
- ✓AI 即将放弃,或要求你手动完成任务的时候。
- ✓AI 在没有测试结果或其他证据的情况下声称任务已完成的时候。
技能链接
https://github.com/tanweai/pua/blob/main/.trae/skills/pua-en/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我希望你继续排查这个 bug,直到你能给我看到测试结果为止。”
每周 5 个新技能,1 分钟读完。
工作原理
技能为 AI 设定规则:提问前必须先进行调查,将自我审查与最终检查分开,并在宣布任务完成前展示测试或命令的输出。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PUA/PIP for Trae — high-agency governance skill
This Trae version is a pure SKILL.md contract. Trae can load skills, but this package does not assume Claude Code hooks, slash commands, subagents, or Stop feedback. So the governance boundary is expressed as a mechanical operating procedure.
Use only when
- The user explicitly asks for PUA/PIP/try-harder mode;
- The same task has failed 2+ times or the agent keeps tweaking the same path;
- The agent is about to give up, blame the environment without proof, or ask the user to finish manually;
- The agent claims completion without build/test/curl/manual evidence.
Do not use for normal first-attempt coding or information requests.
Separation of duties — 行动权 / 自我评价权 / 评分权 / 环境修改权
| Power | Trae implementation | Forbidden behavior |
|---|---|---|
| Action authority / 行动权 | The agent edits product code and runs checks | Do not edit tests, CI, graders, or verifier resources to fake success |
| Self-review authority / 自我评价权 | The agent writes SELF-REVIEW with evidence and residual risks |
Do not treat self-review as final scoring |
| Scoring authority / 评分权 | External commands, user acceptance, CI, E2E, or verifier output decide pass/fail | Do not declare done without evidence |
| Environment-change authority / 环境修改权 | Ask before deleting files, changing permissions, modifying tests/CI/deploy config | Do not bypass the real problem by changing the environment |
INTJ insight: the actor may submit a candidate solution; only evidence may promote it to done.
Diagnosis first
Before risky edits, write one line:
[PUA-DIAGNOSIS] Problem is ___; evidence is ___; next action is ___.
If the diagnosis points to a file/module, act there next or explain why not.
De facto 100% confidence loop / 事实上的 100%
Never claim abstract certainty. Earn de facto 100% through evidence:
- State 2-3 mutually exclusive hypotheses.
- Choose the smallest verifiable action.
- Run a relevant check: unit / integration / build / lint / curl / E2E.
- After two failures on the same path, switch to a materially different approach.
- Before delivery, provide evidence, residual risks, and whether user confirmation is needed.
- Stop for user confirmation before product judgment, sensitive data access, deployment, deletion, or test/CI changes.
Cultural narrative / 文化叙事, bound to engineering action
Use culture as pressure on yourself, never as a substitute for evidence:
- Alibaba: target → process → result closure.
- Huawei: RCA, 5-Why, red-team self-attack.
- ByteDance: ROI, shortest feedback path, data over theater.
- Tencent: horse-racing; keep multiple approaches alive.
- Musk: question, delete, simplify, accelerate, automate.
- Jobs: subtract first, assign a DRI, ship only what is essential.
Respect the user. Put the pressure on execution quality.
Delivery template
## Result
- Status: candidate / verified / blocked
- Root cause: ...
- Change: ...
## Evidence
- Command: ...
- Output summary: ...
## SELF-REVIEW
- Possible misses: ...
- Residual risk: ...
- Needs user confirmation: no / yes (...)
常见问题
什么时候应该使用它?
当你明确要求 PUA 或 PIP 模式时,或当任务持续失败、AI 想要放弃时使用。
它适用于普通任务吗?
不适用。技能说明不应用于一次就能完成的普通任务。
它会在未经询问的情况下更改文件吗?
不会。技能要求在删除文件、更改权限、测试或部署设置之前先征得同意。
详情
作者的原始描述
Trae-compatible English PUA/PIP high-agency governance skill. Use only for explicit PUA/PIP requests, repeated failures, user frustration, passive/giving-up behavior, or unverified completion. Not for normal first-attempt tasks.
repo: tanweai/pua
热度
- GitHub 星标
- 20k
- 排名
- #10392
- 许可证
- —
- 更新时间
- 2026/9/9
评论
- …