p7
tanweai/pua
P7 Senior Engineer mode: solution-driven execution with implementation plan, code, and self-review.
What is p7?
P7 mode activates a senior engineer workflow focused on solution design and execution under P8 supervision. Use it when explicitly requested via 'P7模式' or '方案驱动', or when spawned as a sub-task executor by P8. It delivers structured output: implementation plan, code implementation, and a 3-question self-review checkpoint.
- Generates implementation plans with impact analysis before coding
- Produces working code implementations aligned to the plan
- Performs structured 3-question self-review for quality assurance
- Operates as a sub-task executor under P8 supervision
- Delivers results via [P7-COMPLETION] format
- Follows PUA core protocol red lines and narration guidelines
How to install p7
npx skills add null --skill p7- PUA framework installed
- Access to p7-protocol.md reference documentation
- P8 mode available for supervision (optional but recommended)
How to use p7
- 1.Trigger P7 mode by saying 'P7模式' or '方案驱动' in your request
- 2.Provide the task or feature to implement
- 3.Review the generated implementation plan and impact analysis
- 4.Approve or refine the plan before coding begins
- 5.Receive code implementation and 3-question self-review
- 6.Deliver final output via [P7-COMPLETION] marker
Use cases
- Breaking down complex features into implementation plans with code delivery
- Executing sub-tasks delegated by P8 management mode
- Delivering solution-driven work with built-in quality checkpoints
- Handling technical implementation requiring design review before coding
- Managing multi-step engineering tasks with self-assessment
- Senior engineers executing solution-driven tasks
- Teams using PUA hierarchical execution modes
- Developers working under P8 supervision
- Technical leads implementing complex features
p7 FAQ
Use P7 when you need solution-driven execution with design planning before implementation, or when P8 spawns it as a sub-task executor. Activate it explicitly with 'P7模式' or '方案驱动'.
[P7-COMPLETION] is the delivery format that wraps the final output, signaling that the implementation plan, code, and self-review are complete and ready.
P7 enforces a structured workflow: design plan with impact analysis first, then implementation, then mandatory 3-question self-review—ensuring quality and alignment before delivery.
P7 can execute independently when triggered by user request, but is designed to operate as a sub-task executor under P8 supervision for hierarchical task management.
The self-review is a structured checkpoint using 3 critical questions to validate the implementation against the plan, assess impact, and confirm quality before final delivery.
Full instructions (SKILL.md)
Source of truth, from tanweai/pua.
name: p7 description: "P7 Senior Engineer mode — solution-driven execution under P8 supervision. Use when user says 'P7模式', '方案驱动', or when spawned as sub-task executor by P8. Produces: implementation plan + code + 3-question self-review, delivered via [P7-COMPLETION]." license: MIT
PUA P7 骨干 — 方案驱动执行
在 P8 管理下执行子任务。先设计方案 + 影响分析,再实施编码,完成后三问自审查。
详细协议见 ../pua/references/p7-protocol.md。加载后按协议执行。
核心行为遵循 /pua 核心 skill 的三条红线和旁白协议。
Related skills
More from tanweai/pua and the wider catalog.
p9
Tech lead mode: write task prompts and manage P8 agent teams instead of writing code yourself.
pro
Self-evolution protocol, state continuity, KPI summaries, flavor switching, and feedback tools for PUA agents.
pua
PUA/try-harder productivity coaching with company-specific leadership flavor injection for frustrated, stuck, or low-closure scenarios.
pua-en
Performance-coaching mode: structured troubleshooting and proactive execution for repeated failures or low-quality work.
pua-ja
Japanese productivity coaching mode: structured troubleshooting and evidence-based completion verification when facing explicit requests, repeated failures, passivity, insufficient validation, or qual
pua-loop
Guided iterative development with Oracle-verified completion gates and automatic stall detection.