Nm Memory Palace Review Chamber

v1.0.0

Capture and retrieve PR review knowledge in project memory palaces

0· 52·1 current·1 all-time
Security Scan
Capability signals
Requires OAuth tokenRequires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (review-chamber) align with requirements and instructions. The two declared config paths (night-market.memory-palace:knowledge-intake and night-market.sanctum:pr-review) are directly relevant to capturing PR findings and storing them in a project 'palace'. No unrelated binaries or secrets are requested.
Instruction Scope
SKILL.md instructs the agent to read sanctum:pr-review findings, evaluate/classify them, create structured entries, update palace indexes, and support search. These are within the stated purpose. One phrasing — 'Full source of all included files. Review these carefully...' — is a bit ambiguous about how much repository content to fetch, but fetching repo/PR files is reasonable for a PR-capture skill. There are no instructions to read unrelated system files or to exfiltrate data to external endpoints.
Install Mechanism
Instruction-only skill with no install spec and no code files to be executed. This minimizes disk-write/execution risk.
Credentials
No environment variables or external credentials are requested. The two required config paths map to the Night Market memory-palace and PR-review integrations and are proportionate to the functionality.
Persistence & Privilege
always:false and no claims of modifying other skills or global agent settings. The skill can be invoked autonomously (platform default), which is consistent with its purpose; nothing requests elevated or persistent system privileges.
Assessment
This skill appears coherent: it documents how to extract, score, and store PR-review knowledge into a project memory palace and only needs Night Market config hooks. Before installing, confirm that the Night Market integrations (especially sanctum:pr-review) have the intended scope and permissions (access to PR data and repo files) and that you trust where captured entries will be stored. If you are concerned about repository content exposure, review how /review-room and sanctum:pr-review are implemented in your environment (the SKILL.md references integrations like 'Claude Code' for full functionality). Otherwise there are no requested credentials or external downloads in this skill.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🦞 Clawdis
Confignight-market.memory-palace:knowledge-intake, night-market.sanctum:pr-review
latestvk976zdvm8jypdzfabgjqdczf6n84tesz
52downloads
0stars
1versions
Updated 6d ago
v1.0.0
MIT-0

Night Market Skill — ported from claude-night-market/memory-palace. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Table of Contents

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:

## 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 TypeTarget RoomCriteria
Architectural choicedecisions/BLOCKING + architectural context
Recurring issuepatterns/Seen before or likely to recur
Quality examplestandards/Exemplifies coding standards
Learning/insightlessons/Retrospective or post-mortem

Phase 3: Capture

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

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

# 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

# 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:

## 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:

CriterionWeightPR Review Application
Novelty25%New pattern or first occurrence
Applicability30%Affects future PRs in this area
Durability20%Architectural vs tactical
Connectivity15%Links to existing rooms
Authority10%Senior reviewer or domain expert

With knowledge-locator

Extends search to include review-chamber:

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

# 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 immediately - Context is freshest right after review
  2. Link related entries - Build the knowledge graph
  3. Use consistent tags - Enable cross-project discovery
  4. Review periodically - Prune outdated entries
  5. Surface proactively - Show relevant knowledge when starting related work

Module Reference

  • See modules/capture-workflow.md for detailed capture process
  • See modules/evaluation-criteria.md for knowledge worth assessment
  • See modules/search-patterns.md for query optimization

Troubleshooting

Common Issues

Command not found Ensure all dependencies are installed and in PATH

Permission errors Check file permissions and run with appropriate privileges

Unexpected behavior Enable verbose logging with --verbose flag

Comments

Loading comments...