بنقرة واحدة
pwrl-work
Execute implementation work efficiently through 4-phase micro-skill pipeline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Execute implementation work efficiently through 4-phase micro-skill pipeline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Extract, classify, deduplicate, structure, and save learnings from code, commits, tasks, and documentation
Create structured implementation plans with three tiers (Fast/Standard/Deep). Pure skill pipeline orchestrator—no agent routing.
Review code changes through 4-phase micro-skill pipeline (scope, prepare, analyze, report)
Verify repository state and confirm session completion before committing.
Create a clear session commit with state and next steps. Orchestrates checkpoint and commit micro-skills, optionally chains to pwrl-learnings.
Extract actionable learnings from code, commits, tasks, documentation, errors, and reviews.
استنادا إلى تصنيف SOC المهني
| name | pwrl-work |
| description | Execute implementation work efficiently through 4-phase micro-skill pipeline |
| argument-hint | [Task file, plan doc path, or work description. Leave blank to use latest plan/task] |
Execute implementation work through a deterministic 4-phase pipeline: triage input, prepare environment, implement with test-first discipline, and review code quality.
ask_user_question, ask_user, ask_user_input, vscode/askQuestions or any available extension/tool for user interaction for all decisionsTransform task files, plans, or prompts into completed working code through systematic execution:
/pwrl-work
/pwrl-work docs/tasks/to-do/2026-06-11-U2-email-validation.md
/pwrl-work docs/plans/2026-06-11-003-skill-architecture.md
/pwrl-work "add email validation to user signup"
Direct sequence of 4 micro-skills with deterministic artifact flow:
Input
↓
Phase 0: pwrl-work-triage
├ Input: task file, plan file, bare prompt, or empty
├ Output: triage artifact (unit_id, files, acceptance_criteria, dependencies)
↓
Phase 1: pwrl-work-prepare
├ Input: triage artifact
├ Processing: repo verification, ambiguity resolution, branch strategy, verification commands
├ Output: prepare artifact (branch, verification_commands, environment state)
↓
Phase 2: pwrl-work-execute
├ Input: prepare artifact
├ Processing: scaffolding, test-first implementation, quality gates
├ Output: execute artifact (files changed, tests passing, build/lint status)
↓
Phase 3: pwrl-work-review
├ Input: execute artifact
├ Processing: scope check, diff review, test review, documentation check
├ Output: review artifact (approval status, ready_to_ship)
↓
COMPLETE
Each phase produces an explicit artifact (YAML frontmatter + structured data) consumed by the next phase. Enables resumability, traceability, and independent testing.
Phase 0: Triage — Validate input, classify work, extract requirements, set interaction mode. See pwrl-work-triage/SKILL.md.
Phase 1: Prepare — Verify repository, resolve ambiguities, setup branch and environment. See pwrl-work-prepare/SKILL.md.
Phase 2: Execute — Implement with test-first discipline, verify quality gates. See pwrl-work-execute/SKILL.md.
Phase 3: Review — Verify scope, review code quality, get approval. See pwrl-work-review/SKILL.md.
Interaction mode (detailed | smart | yolo) is set in Phase 0 (via pwrl-work-triage Step 5) and read at the start of each subsequent phase. The mode is stored in the triage artifact's interactionMode field and propagated through every downstream phase. Determines whether confirmation steps execute or are skipped.
detailed — Pause at every phase transition (Triage → Prepare → Execute → Review); show generated artifacts; require explicit approval to proceed. Best for complex work, unfamiliar codebases, and learning.smart — Phases run automatically; pause only when the next phase produces a HIGH-risk operation (destructive git, irreversible API calls, schema-breaking migrations). v1 simplification: behaves like Yolo with a single confirmation prompt at workflow start. See docs/learnings/pattern/interaction-mode-three-mode-propagation-2026-06-29.md §"Future Refinements" for the full risk-classification roadmap.yolo — Every phase runs automatically; only the final review report is shown. Fastest. Best for straightforward, well-understood work and time-sensitive hotfixes.Exception: Error recovery steps always pause the pipeline, regardless of mode. Downstream phases that still assume a legacy two-value enum must treat any value other than detailed as yolo until upgraded; smart is new as of 2026-06-29.
For comprehensive error scenarios, recovery strategies, and escalation rules, see references/error-handling.md.
pwrl-work-triage/references/triage-input-protocol.md — Phase 0 specificationpwrl-work-prepare/references/prepare-environment-protocol.md — Phase 1 specificationpwrl-work-execute/references/execute-implementation-protocol.md — Phase 2 specificationpwrl-work-review/references/review-quality-protocol.md — Phase 3 specification/pwrl-plan first