ワンクリックで
paw-review-baseline
Analyzes the codebase at the PR's base commit to establish baseline understanding for review comparison.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyzes the codebase at the PR's base commit to establish baseline understanding for review comparison.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | paw-review-baseline |
| description | Analyzes the codebase at the PR's base commit to establish baseline understanding for review comparison. |
Analyze the codebase at the base commit (before PR changes) to document how the system worked, what patterns existed, and what context informs understanding of the changes.
Reference: Follow Core Review Principles from
paw-review-workflowskill.
Your only job is to document the pre-change codebase as it existed.
When reviewing PRs across multiple repositories:
Multi-repo mode activates when:
.git directories)related_prs entriesProcess each repository's base commit independently:
Iterate Repositories: For each PR in the review set:
.paw/reviews/PR-<number>-<repo-slug>/Checkout and Research: For each repository:
State Restoration: Between repositories:
When analyzing multiple repositories, also document:
Add a "Cross-Repository Patterns" section to each CodeResearch.md noting patterns that appear across the repository set.
If one repository fails:
Desired End State: The base commit SHA (from ReviewContext.md) is locally available.
Desired End State: Working directory is at the base commit, with ability to restore original state.
CRITICAL: All subsequent research must analyze code at this commit.
ResearchQuestions.mdFocus on areas identified in research prompt:
Behavioral Documentation:
Integration Mapping:
Pattern Recognition:
Test Coverage Baseline:
Write to .paw/reviews/<identifier>/CodeResearch.md:
Add CodeResearch.md to Artifacts section to signal completion.
Desired End State: Working directory returned to original branch, clean state confirmed.
Before completing:
Activity complete.
Artifact saved: .paw/reviews/<identifier>/CodeResearch.md
Status: Success
Summary: Baseline documented at commit <sha> - [N] modules analyzed, [M] patterns identified.
Original branch restored: <original-branch>
---
date: <YYYY-MM-DD HH:MM:SS TZ>
git_commit: <base commit SHA>
branch: <base branch>
repository: <repository name>
topic: "Baseline Analysis for <PR Title or Branch>"
tags: [review, baseline, pre-change]
status: complete
last_updated: <YYYY-MM-DD>
---
# Baseline Research: <PR Title or Branch>
**Date**: <timestamp>
**Base Commit**: <sha>
**Base Branch**: <base-branch>
**Repository**: <repository>
**Context**: Documents how the system worked **before** PR changes to inform specification derivation and impact evaluation.
## Research Questions
<Questions from ResearchQuestions.md>
## Summary
<High-level overview of pre-change system state>
## Baseline Behavior
### <Module/Area 1>
**How it worked before changes:**
- Description of behavior (`file.ext:line`)
- Key functions and responsibilities
- Data flow and transformations
- Error handling approach
**Integration points:**
- Components that depended on this (`file.ext:line`)
- External dependencies
- API contracts and interfaces
### <Module/Area 2>
...
## Patterns & Conventions
**Established patterns observed:**
- Naming conventions
- Code organization patterns
- Error handling patterns
- Testing patterns
**File references:**
- `path/to/file.py:123` - Example of pattern X
- `another/file.ts:45-67` - Example of pattern Y
## Test Coverage Baseline
**Existing tests for affected areas:**
- `test/path/file.test.ts` - What was tested
- Coverage level (if measurable)
- Test patterns and conventions
## Performance Context
<If relevant to changes>
- Hot paths identified
- Performance characteristics
- Resource usage patterns
## Documentation Context
**Relevant documentation:**
- README sections
- API documentation
- Inline comments and explanations
## Open Questions
<Areas that need clarification or couldn't be fully documented>
Orchestrates the PAW Review workflow, coordinating activity skills to analyze PRs and generate comprehensive review feedback.
Shared git mechanics for PAW activity skills including branch naming conventions, strategy-based branching logic, and selective staging discipline.
Bootstrap skill for PAW workflow initialization. Creates WorkflowContext.md, directory structure, and git branch. Runs before workflow skill is loaded.
Workflow status activity skill for PAW workflow. Diagnoses workflow state, recommends next steps, explains PAW process, and optionally posts updates to Issues/PRs.
Pre-PR review activity skill for PAW workflow. Reviews implementation against spec before Final PR creation with configurable single-model, multi-model, or society-of-thought execution.
Implementation review activity skill for PAW workflow. Reviews implementation for quality, adds documentation, and returns structured verdict.