Files
pua/.claude-plugin/plugin.json
T
xsser bb23af0da0 feat(v3): intelligent methodology routing + code-level behavioral detection
BREAKING: Version bumped to 3.0.0

## Methodology Router
- Auto-select best methodology by task type (Debug→Huawei RCA, Build→Musk Algorithm, Research→Baidu Search-First, Architecture→Amazon Working Backwards, etc.)
- Failure-mode switch chains: when current methodology fails, auto-switch to next (e.g., Spinning→Musk→Pinduoduo→Huawei)
- Pre-switch validation: 3 questions before switching to prevent invalid switches
- User manual flavor override always takes priority over auto-routing

## Hook System (Claude Code only)
- SessionStart: additionalContext JSON injection (system-level, not advisory) — injects behavioral protocol + methodology + router table + anti-rationalization table
- PostToolUse (Bash): consecutive failure detection with L1→L4 pressure escalation + methodology switch suggestions at L2, mandatory switch at L4
- UserPromptSubmit: frustration phrase interception (25 CN/EN trigger words) — injects PUA enforcement BEFORE model responds
- All hooks flavor-aware via shared flavor-helper.sh

## 13 Complete Methodologies
- NEW: methodology-amazon.md (Working Backwards + 6-Pager + Bar Raiser + Single-Threaded Owner)
- NEW: methodology-jd.md (Customer experience red line + flat ≤5 layers + data zero tolerance)
- NEW: methodology-xiaomi.md (参与感三三法则 + explosive product focus + loyalty→WOM→awareness path)
- NEW: methodology-router.md (routing rules + switch chains)
- FIXED: musk→methodology-tesla.md mapping (was missing)
- FIXED: jobs→methodology-apple.md mapping (was missing)
- All 13 flavors now have inline methodology in flavor-helper.sh + full methodology files

## SKILL.md Overhaul
- Removed hardcoded Alibaba-only aside protocol — now flavor-aware
- Added methodology router table (task type → recommended flavor)
- Updated pressure escalation table: L2 suggests methodology switch, L4 forces it
- Updated failure mode table with switch chains
- Added pre-switch validation (3 questions)
- Added methodology-router.md to mandatory reading list

## README/Landing
- Updated EN/CN/JP README with v3 section
- Updated 13 Corporate Flavors table to include methodologies
- Updated architecture diagram with hook system
- Updated landing page i18n.ts with v3 messaging
2026-03-24 18:56:06 +08:00

28 lines
1.1 KiB
JSON

{
"name": "pua",
"version": "3.0.0",
"description": "Forces high-agency exhaustive problem-solving with corporate PUA pressure. Triggers on user frustration, repeated failures, passive behavior, or quality complaints. Common triggers: try harder, figure it out, stop giving up, you keep failing, stop spinning, you broke it, why does this still not work, 加油, 别偷懒, 你再试试, 又错了, 降智了, 你又在原地打转, 你把之前的改坏了, 别让我手动处理, /pua. All task types.",
"author": {
"name": "探微安全实验室",
"url": "https://github.com/tanweai"
},
"homepage": "https://openpua.ai",
"repository": "https://github.com/tanweai/pua",
"license": "MIT",
"keywords": [
"pua",
"motivation",
"never-give-up",
"alibaba",
"corporate-culture",
"agent-team",
"p7-p8-p9-p10",
"self-evolution",
"pip",
"performance-improvement-plan",
"leaderboard",
"owner-consciousness",
"methodology"
]
}