claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Captures and retrieves PR-review findings in memory palaces. Use after PR review to store architectural decisions, patterns, and standards for future reference.
Claude Code
$ npx -y skills add athola/claude-night-market --skill review-chamber --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill review-chamber -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill review-chamber -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill review-chamber -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill review-chamber -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill review-chamber -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill review-chamber -a windsurf -y
name: review-chamber description: Captures and retrieves PR-review findings in memory palaces. Use after PR review to store architectural decisions, patterns, and standards for future reference. alwaysApply: false usage_patterns: - capture-review: After PR review completion, capture significant findings - search-decisions: Find past architectural decisions - pattern-lookup: Retrieve recurring issues and solutions - standards-reference: Access quality standards from past reviews dependencies: - memory-palace:knowledge-intake - sanctum:pr-review
Capture, organize, and retrieve knowledge from PR reviews within project memory palaces.
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.
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
After a PR review completes, evaluate findings for knowledge capture:
## 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?
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 |
Create structured entry with:
--- 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
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
# 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
# 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
When starting work in a code area:
## 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
The review-chamber integrates after Phase 6 (Generate Report):
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 GitHubUses 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 |
Extends search to include review-chamber:
python scripts/palace_manager.py search "authentication" \ --palace project-name \ --room review-chamber \ --type semantic
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.