letter-review-pipeline
CommunityStreamline attorney review to approved letters
System Documentation
What problem does it solve?
Centralizes and enforces the attorney review workflow for AI-generated legal letters so paid or unlocked drafts move securely from payment through attorney claim, inline editing, decision, and subscriber delivery. It reduces manual coordination, preserves an auditable trail of actions and notes, and ensures approved letters produce a branded, downloadable PDF without blocking the approval flow.
Core Features & Use Cases
- Payment unlock handling for free-first, pay-per-letter, and subscription bypass, integrated with Stripe webhooks.
- Review queue with claim semantics, role-guarded procedures for attorneys and admins, and inline edit versioning.
- Five core review actions: claim, save edit, approve, reject, and request changes, each producing audit log entries and notifications.
- Non-blocking PDF generation using PDFKit with storage upload and resilient error handling so approvals are not rolled back on PDF failures.
- Audit trail and visibility controls that separate internal notes from user-visible messages and enforce subscriber-safe data access.
- Admin controls for assigning reviewers, forcing status transitions, fetching full audit details, and retrying pipeline jobs.
Quick Start
Claim letter 123 from the review queue, save an attorney edit summarizing changes, and approve it to trigger PDF generation and subscriber notification.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: letter-review-pipeline Download link: https://github.com/jamilahmedansari/www.talk-to-my-lawyer.com-/archive/main.zip#letter-review-pipeline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.