Zurück zu Fähigkeiten

pua-en

tanweai
Aktualisiert 5 days ago
18,080
1,080
18,080
Auf GitHub ansehen
Metaai

Über

Diese Claude-Skill bietet eine hochaktive Steuerung für den Umgang mit wiederholten Fehlern, Nutzerfrustration oder nicht verifizierter Aufgabenabschlüsse. Er aktiviert sich ausschließlich bei expliziten PUA/PIP-Anfragen, mehrfachen Aufgabenfehlern, passivem Verhalten oder nicht verifizierten Abschlussbehauptungen. Der Skill funktioniert als mechanisches Verfahren innerhalb von Traes Skill-System, ohne Claude Code Hooks oder Agents zu benötigen.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add tanweai/pua -a claude-code
Plugin-BefehlAlternativ
/plugin add https://github.com/tanweai/pua
Git CloneAlternativ
git clone https://github.com/tanweai/pua.git ~/.claude/skills/pua-en

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

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 — 行动权 / 自我评价权 / 评分权 / 环境修改权

PowerTrae implementationForbidden behavior
Action authority / 行动权The agent edits product code and runs checksDo not edit tests, CI, graders, or verifier resources to fake success
Self-review authority / 自我评价权The agent writes SELF-REVIEW with evidence and residual risksDo not treat self-review as final scoring
Scoring authority / 评分权External commands, user acceptance, CI, E2E, or verifier output decide pass/failDo not declare done without evidence
Environment-change authority / 环境修改权Ask before deleting files, changing permissions, modifying tests/CI/deploy configDo 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:

  1. State 2-3 mutually exclusive hypotheses.
  2. Choose the smallest verifiable action.
  3. Run a relevant check: unit / integration / build / lint / curl / E2E.
  4. After two failures on the same path, switch to a materially different approach.
  5. Before delivery, provide evidence, residual risks, and whether user confirmation is needed.
  6. 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 Repository

tanweai/pua
Pfad: .trae/skills/pua-en
0
agencyagentpippua

Verwandte Skills

content-collections

Meta

Diese Skill bietet eine produktionsgetestete Einrichtung für Content Collections – ein TypeScript-first-Tool, das Markdown/MDX-Dateien in typsichere Datensammlungen mit Zod-Validierung umwandelt. Verwenden Sie ihn beim Erstellen von Blogs, Dokumentationsseiten oder inhaltsstarken Vite + React-Anwendungen, um Typsicherheit und automatische Inhaltsvalidierung zu gewährleisten. Er behandelt alles von der Vite-Plugin-Konfiguration und MDX-Kompilierung bis hin zur Deployment-Optimierung und Schema-Validierung.

Skill ansehen

polymarket

Meta

Diese Fähigkeit ermöglicht es Entwicklern, Anwendungen mit der Polymarket-Prognosemärkte-Plattform zu erstellen, einschließlich API-Integration für Handel und Marktdaten. Sie bietet außerdem Echtzeit-Datenstreaming über WebSocket, um Live-Trades und Marktaktivitäten zu überwachen. Nutzen Sie sie zur Implementierung von Handelsstrategien oder zur Erstellung von Tools, die Live-Marktaktualisierungen verarbeiten.

Skill ansehen

creating-opencode-plugins

Meta

Diese Fähigkeit unterstützt Entwickler dabei, OpenCode-Plugins zu erstellen, die in über 25 Ereignistypen wie Befehle, Dateien und LSP-Operationen eingreifen. Sie bietet die Plugin-Struktur, Event-API-Spezifikationen und Implementierungsmuster für JavaScript/TypeScript-Module. Nutzen Sie sie, wenn Sie den Lebenszyklus des OpenCode KI-Assistenten mit benutzerdefinierter ereignisgesteuerter Logik abfangen, überwachen oder erweitern müssen.

Skill ansehen

sglang

Meta

SGLang ist ein hochperformantes LLM-Serving-Framework, das sich auf schnelle, strukturierte Generierung für JSON, Regex und agentenbasierte Workflows unter Verwendung seines RadixAttention-Prefix-Cachings spezialisiert. Es bietet deutlich schnellere Inferenz, insbesondere für Aufgaben mit wiederholten Präfixen, was es ideal für komplexe, strukturierte Ausgaben und Mehrfachdialoge macht. Wählen Sie SGLang gegenüber Alternativen wie vLLM, wenn Sie constrained decoding benötigen oder Anwendungen mit umfangreicher Präfix-Weitergabe entwickeln.

Skill ansehen