From cogitation
Prepares and requests code review with proper context. Searches EC for reviewer preferences and past feedback patterns. Use before finishing a branch or when ready for feedback on implementation.
npx claudepluginhub merewhiplash/engram-cogitator --plugin cogitationThis skill uses the workspace's default tool permissions.
Prepare changes for review with clear context.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Prepare changes for review with clear context.
Announce: "I'm using the requesting-review skill to prepare this for review."
Verify Ready → Load Context → Prepare → Dispatch Reviewer → Handle Response
Load project config:
ec_search:
query: project config
type: config
Before requesting review:
{test_command}
{lint_command}
{build_command}
If failures: Stop. Fix first using @debugging.
Search EC for relevant review history:
ec_search:
query: code review feedback
type: learning
ec_search:
query: review pattern
type: pattern
Note any prior feedback patterns to proactively address.
Gather what the reviewer needs:
git log --oneline main..HEAD
git diff --stat main..HEAD
Identify:
Use the code-reviewer agent:
Task: Code review for [feature name]
Agent: code-reviewer
## Context
[Brief description of what was implemented]
## Changes
[Output from git diff --stat]
## Key Decisions
- [Decision 1 and rationale]
- [Decision 2 and rationale]
## EC Context Consulted
- [Relevant decisions/patterns from EC]
## Areas Needing Attention
- [Specific file or pattern to scrutinize]
## Plan Reference
docs/plans/YYYY-MM-DD-<topic>.md
When reviewer returns:
If issues found:
@receiving-review to process feedbackIf approved:
"Code review passed. Ready to finish the branch?"
If yes → Use @finishing-branch
If review reveals a pattern worth remembering:
ec_add:
type: learning
area: code-review
content: [What reviewers commonly catch or request]
rationale: Recurring review feedback
Examples worth storing:
| Do | Don't |
|---|---|
| Provide context on decisions | Dump code without explanation |
| Highlight risk areas | Assume reviewer knows everything |
| Reference the plan | Skip verification before requesting |
| Keep scope focused | Request review of WIP code |
| Note EC context consulted | Ignore prior decisions |
@executing-plans (Step 5)code-reviewer agent, @receiving-review, @finishing-branch