pua-en
について
このClaude Skillは、繰り返される失敗、ユーザーの不満、または未検証のタスク完了に対処するための高度な自律的なガバナンスを提供します。明示的なPUA/PIPリクエスト、複数回のタスク失敗、受動的行動、または未検証の完了主張に対してのみ起動します。このスキルは、Claude Codeフックやエージェントを必要とせず、Traeのスキルシステム内で機械的な手続きとして動作します。
クイックインストール
Claude Code
推奨npx skills add tanweai/pua -a claude-code/plugin add https://github.com/tanweai/puagit clone https://github.com/tanweai/pua.git ~/.claude/skills/pua-enこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
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 (...)
GitHub リポジトリ
関連スキル
content-collections
メタこのスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。
polymarket
メタこのスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。
creating-opencode-plugins
メタこのスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。
sglang
メタSGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。
