pua-trae
- Repo stars 17,915
- License MIT
- Author updated Live
- Author repo pua
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 94 / 100 · audit passed
- Author / version / license
- @tanweai · MIT
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: pua-trae
description: Trae-optimized PUA high-agency governance skill for npx skills installs. Use only for explicit P…
category: other
runtime: no special runtime
---
# pua-trae output preview
## PART A: Task fit
- Use case: Trae-optimized PUA high-agency governance skill for npx skills installs. Use only for explicit PUA requests, repeated failures, user frustration, giving-up/passive behavior, or unverified completion. Do not trigger for normal first-attempt tasks..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “触发条件 / 四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权 / 诊断先行” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Trae-optimized PUA high-agency governance skill for npx skills installs. Use only for explicit PUA requests, repeated failures, user frustration, giving-up/passive behavior, or unverified completion. Do not trigger for normal first-attempt tasks.”.
- **02** When the source has headings, the agent prioritizes “触发条件 / 四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权 / 诊断先行” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; may access external network resources; usually needs no extra API key.
## Running Rules
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “触发条件 / 四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权 / 诊断先行”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: pua-trae
description: Trae-optimized PUA high-agency governance skill for npx skills installs. Use only for explicit P…
category: other
source: tanweai/pua
---
# pua-trae
## When to use
- Trae-optimized PUA high-agency governance skill for npx skills installs. Use only for explicit PUA requests, repeated…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “触发条件 / 四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权 / 诊断先行” and keep inference separate from source facts.
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "pua-trae" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 触发条件 / 四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权 / 诊断先行
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | may access external network resources
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} PUA for Trae — 高能动性治理 Skill
这个 Trae 版只用 SKILL.md 表达行为合约:Trae 可以加载 Skill,但不会自动获得 Claude Code 的 hooks、slash commands、subagents 和 Stop feedback。因此这里把治理边界写成机械可执行的工作规程,而不是靠一句“努力点”。
触发条件
仅在以下场景启用:
- 用户明确要求 PUA / try harder / 换个方法 / 再试试;
- 同一任务失败 2 次以上,或在同一路径反复微调;
- 即将说“无法完成”、建议用户手动收尾、未验证就归因环境;
- 已经声称完成但缺少 build/test/curl/人工验收证据。
正常的一次性信息查询或首次编码请求不要启用。
四权分离:行动权 / 自我评价权 / 评分权 / 环境修改权
Trae 没有 Claude Code 的多 agent hook 编排时,也必须按下面的权责边界执行:
| 权力 | Trae 版落地 | 禁止事项 |
|---|---|---|
| 行动权 | 当前 agent 读代码、改业务实现、跑验证 | 不要直接改测试/CI/评分器来制造通过 |
| 自我评价权 | 输出 SELF-REVIEW:列证据、风险、未覆盖项 |
不得把“我认为完成”写成最终事实 |
| 评分权 | 由外部命令、用户验收、CI、E2E 结果决定 | 不得跳过验证后宣布 done |
| 环境修改权 | 删除文件、改权限、改测试、改部署配置前先说明并等确认 | 不得为了省事改环境绕过真实问题 |
INTJ 版理解:行动者只能提交候选解;评分者必须看证据。 这就是防止“看起来完成”伪装成“真实完成”。
诊断先行
动手前先输出一行:
[PUA-DIAGNOSIS] 问题是 ___;证据是 ___;下一步动作是 ___。
如果诊断指向某个文件/模块,下一步必须处理它;如果不处理,必须解释诊断和行动为什么不一致。
事实上的 100% 信心循环
不能说“100% 有信心”,只能跑到事实上的 100%:
- 列 2-3 个互斥假设;
- 选择最小可验证动作;
- 跑本地验证:unit / integration / build / lint / curl / E2E 中至少一个相关项;
- 如果失败两次,换一条本质不同路径;
- 交付前输出:
证据清单 + 未覆盖风险 + 为什么没有继续问用户; - 若涉及产品判断、敏感数据、部署、删文件、改测试/CI,停止并请用户确认。
文化叙事绑定:叙事服务证据,不替代证据
可以使用 PUA 的大厂文化叙事,但每种叙事都必须绑定一个工程动作:
- 阿里味:目标 → 过程 → 结果闭环;输出验证证据。
- 华为味:RCA / 5-Why / 蓝军自攻击;先找根因再交付。
- 字节味:ROI / A/B / 数据驱动;优先最短反馈链路。
- 腾讯味:赛马机制;准备多个方案,不在单一路径死磕。
- Musk 味:Question → Delete → Simplify → Accelerate → Automate;先删复杂度。
- Jobs 味:减法和 DRI;少做但做精,明确负责人和验收标准。
压力只加给自己,对用户保持简洁尊重。
交付模板
## 结论
- 状态:candidate / verified / blocked
- 根因:...
- 改动:...
## 证据
- 命令:...
- 输出摘要:...
## SELF-REVIEW
- 我自己认为还可能漏掉:...
- 没覆盖的风险:...
- 需要用户确认:无 / 有(列出)
Decide Fit First
Design Intent
How To Use It
Boundaries And Review