review-chamber
Captures and retrieves PR-review findings in memory palaces. Use after PR review to store architectural decisions, patterns, and standards for future reference.
What this skill does
## Table of Contents
- [Overview](#overview)
- [Room Structure](#room-structure)
- [Workflow Phases](#workflow-phases)
- [Phase 1: Knowledge Detection](#phase-1:-knowledge-detection)
- [Knowledge Detection Checklist](#knowledge-detection-checklist)
- [Phase 2: Classification](#phase-2:-classification)
- [Phase 3: Capture](#phase-3:-capture)
- [Decision Title](#decision-title)
- [Decision](#decision)
- [Context (from PR discussion)](#context-(from-pr-discussion))
- [Captured Knowledge](#captured-knowledge)
- [Connected Concepts](#connected-concepts)
- [Phase 4: Integration](#phase-4:-integration)
- [Usage Examples](#usage-examples)
- [Capture After PR Review](#capture-after-pr-review)
- [Search Past Decisions](#search-past-decisions)
- [Surface Relevant Knowledge](#surface-relevant-knowledge)
- [Relevant Review Knowledge](#relevant-review-knowledge)
- [Integration Points](#integration-points)
- [With sanctum:pr-review](#with-sanctum:pr-review)
- [With knowledge-intake](#with-knowledge-intake)
- [With knowledge-locator](#with-knowledge-locator)
- [Evaluation Rubric](#evaluation-rubric)
- [Worth Capturing (Score ≥ 60)](#worth-capturing-(score-≥-60))
- [Skip (Score < 60)](#skip-(score-<-60))
- [CLI Reference](#cli-reference)
- [Best Practices](#best-practices)
# PR Review Chamber Skill
Capture, organize, and retrieve knowledge from PR reviews within project memory palaces.
## When To Use
- Capturing PR review knowledge for future reference
- Building review pattern libraries from past reviews
## When NOT To Use
- Quick self-reviews of trivial changes
- Automated CI checks that cover the review scope
## Overview
The Review Chamber is a dedicated room within each project palace that stores valuable knowledge extracted from PR reviews. It transforms ephemeral PR discussions into persistent, searchable institutional memory.
## Room Structure
```
review-chamber/
├── decisions/ # Architectural choices from PR discussions
├── patterns/ # Recurring issues and their solutions
├── standards/ # Quality bar examples and coding conventions
└── lessons/ # Post-mortems and learnings
```
**Verification:** Run the command with `--help` flag to verify availability.
## Workflow Phases
### Phase 1: Knowledge Detection
After a PR review completes, evaluate findings for knowledge capture:
```markdown
## Knowledge Detection Checklist
For each finding from sanctum:pr-review, evaluate:
- [ ] **Novelty**: Is this a new pattern or first occurrence?
- [ ] **Applicability**: Will this affect future PRs in this area?
- [ ] **Durability**: Is this architectural (capture) or tactical (skip)?
- [ ] **Connectivity**: Does it link to existing palace rooms?
```
**Verification:** Run the command with `--help` flag to verify availability.
### Phase 2: Classification
Route findings to appropriate subrooms:
| Finding Type | Target Room | Criteria |
|-------------|-------------|----------|
| Architectural choice | `decisions/` | BLOCKING and architectural context |
| Recurring issue | `patterns/` | Seen before or likely to recur |
| Quality example | `standards/` | Exemplifies coding standards |
| Learning/insight | `lessons/` | Retrospective or post-mortem |
### Phase 3: Capture
Create structured entry with:
```yaml
---
source_pr: "#42 - Add authentication"
date: 2025-01-15
participants: [author, reviewer1, reviewer2]
palace_location: review-chamber/decisions
related_rooms: [workshop/auth-patterns, library/security-adr]
tags: [authentication, jwt, security]
---
## Decision Title
### Decision
Chose JWT tokens over server-side sessions.
### Context (from PR discussion)
- Reviewer asked: "Why not use sessions?"
- Author explained: stateless scaling requirements
- Discussion refined: added refresh token rotation
### Captured Knowledge
- **Pattern**: JWT + refresh tokens for stateless auth
- **Tradeoff**: Complexity vs. horizontal scaling
- **Application**: Use for all API authentication
### Connected Concepts
- [[auth-patterns]] - Updated with JWT best practices
- [[security-adr-003]] - Referenced this decision
```
**Verification:** Run the command with `--help` flag to verify availability.
### Phase 4: Integration
After capture, update related palace rooms:
1. Add bidirectional links to related entries
2. Update tags in project palace index
3. Notify if this contradicts existing entries
## Usage Examples
### Capture After PR Review
```bash
# Automatic: sanctum:pr-review triggers capture
/pr-review 42
# → Review posted to GitHub
# → Knowledge capture evaluates findings
# → Significant decisions stored in review-chamber
# Manual: Explicitly capture from PR
/review-room capture 42 --room decisions
```
**Verification:** Run the command with `--help` flag to verify availability.
### Search Past Decisions
```bash
# Find authentication decisions
/review-room search "authentication" --room decisions
# Find patterns in a specific area
/review-room search "error handling" --room patterns --tags api
# List recent entries
/review-room list --limit 10 --room standards
```
**Verification:** Run the command with `--help` flag to verify availability.
### Surface Relevant Knowledge
When starting work in a code area:
```markdown
## Relevant Review Knowledge
Starting work in `auth/` directory...
**Past Decisions:**
- [#42] JWT token decision → decisions/jwt-over-sessions
- [#67] Rate limiting pattern → patterns/api-throttling
**Quality Standards:**
- [#55] Error response format → standards/api-errors
**Known Patterns:**
- [#38] Token refresh edge case → patterns/token-refresh-race
```
**Verification:** Run the command with `--help` flag to verify availability.
## Integration Points
### With sanctum:pr-review
The review-chamber integrates after Phase 6 (Generate Report):
```
**Verification:** Run the command with `--help` flag to verify availability.
Phase 6: Generate Report
↓
[HOOK] Evaluate findings for knowledge capture
↓
For each significant finding:
├── Classify into room type
├── Create ReviewEntry
├── Add to project palace
└── Update connections
↓
Phase 7: Post to GitHub
```
**Verification:** Run the command with `--help` flag to verify availability.
### With knowledge-intake
Uses the same evaluation framework:
| Criterion | Weight | PR Review Application |
|-----------|--------|----------------------|
| Novelty | 25% | New pattern or first occurrence |
| Applicability | 30% | Affects future PRs in this area |
| Durability | 20% | Architectural vs tactical |
| Connectivity | 15% | Links to existing rooms |
| Authority | 10% | Senior reviewer or domain expert |
### With knowledge-locator
Extends search to include review-chamber:
```bash
python scripts/palace_manager.py search "authentication" \
--palace project-name \
--room review-chamber \
--type semantic
```
**Verification:** Run `python --version` to verify Python environment.
## Evaluation Rubric
### Worth Capturing (Score ≥ 60)
- **Architectural decisions** with documented rationale
- **Recurring patterns** seen in 2+ PRs
- **Security/performance** critical findings
- **Domain knowledge** that explains business logic
- **Convention changes** that affect future code
### Skip (Score < 60)
- One-off tactical fixes
- Style preferences without rationale
- Obvious bugs without pattern
- External dependency issues
- Temporary workarounds
## CLI Reference
```bash
# Capture knowledge from PR
/review-room capture <pr_number> [--room <room_type>] [--tags <tags>]
# Search review chamber
/review-room search "<query>" [--room <room_type>] [--tags <tags>]
# List entries
/review-room list [--room <room_type>] [--limit N]
# View entry details
/review-room view <entry_id>
# Export for documentation
/review-room export [--format markdown|json] [--room <room_type>]
# Statistics
/review-room stats [--palace <palace_id>]
```
**Verification:** Run the command with `--help` flag to verify availability.
## Best Practices
1. **Capture decisions imRelated in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.