بنقرة واحدة
deepreviews
Reference documentation for DeepWork Reviews
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reference documentation for DeepWork Reviews
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Welcome new DeepWork users on Pi and introduce native Pi workflows
Record a workflow by doing it, then turn it into a DeepWork job
Start or continue DeepWork workflows using native Pi tools
Set up DeepWork Reviews using .deepreview config files
Start structured planning that produces an executable DeepWork plan
Create and manage DeepSchemas with validation and review generation
| name | deepreviews |
| description | Reference documentation for DeepWork Reviews |
Use this skill when you need reference material for .deepreview rules, review strategies, DeepSchema-generated reviews, workflow quality gates, or review pass caching.
Read deepwork/docs/README_REVIEWS.md before answering detailed questions or editing review configuration.
DeepWork Reviews define automated review policies using .deepreview files placed anywhere in a project. A review detects changed files, matches them against rules, and generates focused review tasks for Pi agents or Pi subagents.
Reviews run:
/review or deepwork_get_review_instructions.deepwork_finished_step validates step outputs.change_cycle reviews by default; PR-only rules use lifecycle.cadence: pull_request and are run with PR review mode, e.g. /review --pr or deepwork_get_review_instructions with review_cadence: "pull_request".Running reviews can be expensive because review tasks may launch focused reviewer agents. Prefer running them after a material set of changes is complete, when explicitly requested, or when confirming a PR is in good form. For configuration or schema validation where you only need to confirm which tasks would be generated, call deepwork_get_review_instructions with autostart_reviews_if_possible: false.
deepwork_get_review_instructions — generate review tasks. autostart_reviews_if_possible defaults to true; set it to false to preview or validate tasks without launching reviewers.deepwork_get_configured_reviews — list configured rules for the current scope.deepwork_mark_review_as_passed — cache a passing review result for unchanged files.This native Pi package uses Pi tools directly; it does not use MCP.
.deepreview Examplepython_quality:
description: "Review Python files for maintainability and correctness."
match:
include:
- "**/*.py"
exclude:
- "**/generated/**"
review:
strategy: individual
instructions: |
Review this file for correctness, clear error handling, and maintainability.
Use lifecycle.cadence: pull_request for broad final reviews that should stay separate from normal change-cycle reviews.
pr_summary:
description: "Review the PR as a whole based on the changed file set."
lifecycle:
cadence: pull_request
match:
include:
- "**/*"
review:
strategy: all_changed_files
cache:
invalidates_on: changed_file_set
additional_context:
all_changed_filenames: true
instructions: |
Provide a PR-level summary and risk review. Do not perform a line-level implementation review.
review.cache.invalidates_on defaults to file_content. Use changed_file_set when a passed review should remain valid while file contents churn, and should rerun only when the reviewed changed-file set changes.
Configure pass-cache behavior under review.cache.invalidates_on:
file_content — default. Re-run when reviewed file contents or inline review content change.changed_file_set — re-run when the reviewed changed-file set changes. Inline review content still invalidates the cache when present.individual — one review task per matched file.matches_together — one review task for all matched files.all_changed_files — if any file matches, review every changed file.DeepSchemas can generate review rules from their semantic requirements. These generated rules participate in /review and workflow quality gates alongside .deepreview rules.
When a workflow step declares review criteria, deepwork_finished_step can return needs_work with review feedback. Fix the output and submit the step again unless the user explicitly authorizes an override.