-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Skills #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Skills #170
Conversation
…for Ninth Circuit briefs - Implemented `update_statement.py` to update section text in `sections.json` from a new text file. - Created `copy_plain_sections.py` to copy verbatim sections from a tagged text file into `sections.json`. - Developed `ingest_brief_sections.py` for ingesting tagged brief drafts into `sections.json` without altering case info. - Added `common_authorities.md` and `standards_of_review.md` for reference materials related to civil rights and Ninth Circuit standards. - Introduced a comprehensive `FRAP28_OPENING_BRIEF.md` template for structuring Ninth Circuit opening briefs. - Established `universal-motion-brief` skill for generating motions and briefs from user-supplied DOCX templates using JSON data. - Included schemas for motions and briefs in JSON format to standardize data input. - Created `render_docx.py` script for merging JSON data into DOCX templates while preserving formatting.
Deep analysis of PimpJuice runner skeleton and inception training system: - Identified 6-route orchestration as core architecture - Documented 9-slot evidence card reasoning framework - Outlined missing pieces: session_state, eval_logger, inception_runner - Provided complete implementation roadmap for adversarial model training - Estimated 12-15 hours to completion This analysis documents Tyler's 80% complete multi-model training infrastructure and provides the glue code needed to make models learn from each other persistently. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR titled "Skills" introduces a comprehensive legal document formatting system for pro se litigants. The system provides Python-based tools to generate court-ready documents with proper formatting, jurisdiction-specific styling, and automated data collection capabilities.
Key Changes
- Added Python formatting utilities for DOCX generation and legal document processing
- Implemented jurisdiction-aware formatting system with court-specific rules
- Created data collection and persistence tools for case management
Reviewed changes
Copilot reviewed 98 out of 583 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
_formatting/python/render_docx_from_legalxml.py |
XML to DOCX converter for legal documents |
_formatting/python/pimp_collector.py |
Case data extraction and persistence system |
_formatting/python/generate_cover.py |
Ninth Circuit cover page generator |
_formatting/python/format_document.py |
Main DOCX formatter with court schemas |
_formatting/python/extract_docx_blocks.py |
DOCX paragraph extraction utility |
_formatting/python/document_builder.py |
Declaration document builder |
_formatting/jurisdictions/*.json |
Court-specific formatting rules |
_formatting/README.md |
Formatting scripts documentation |
SKILL.md |
Skill definition and usage guide |
README_MASTER.md |
Master system documentation |
PimpJuice_instructions/taxonomy/*.json |
Document taxonomy definitions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| This is a starter implementation for your app; extend as needed for TOC/TOA, footnotes, etc. | ||
| """ | ||
| import sys, json, os |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple imports should be on separate lines according to PEP 8 style guidelines.
| import sys, json, os | |
| import sys | |
| import json | |
| import os |
| Usage: | ||
| python extract_docx_blocks.py input.docx > blocks.json | ||
| """ | ||
| import sys, json |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple imports should be on separate lines according to PEP 8 style guidelines.
| import sys, json | |
| import sys | |
| import json |
| return 'LEGAL_H1' | ||
|
|
||
| # Check for numbered H2 patterns (I., II., A., B.) | ||
| import re |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The re module is imported inside the detect_heading_level method but is already imported at the top of the file (line 17). This duplicate import statement should be removed.
| import re |
| - **District Courts**: Times New Roman 12pt, double-spaced | ||
| - **Clackamas County**: Times New Roman 12pt | ||
|
|
||
| Court profiles are in: `PimpJuice_instructions/jurisdictions/courts.json` |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path reference is inconsistent with the actual file location which is _formatting/jurisdictions/courts.json based on the file structure shown in the diff.
| Court profiles are in: `PimpJuice_instructions/jurisdictions/courts.json` | |
| Court profiles are in: `_formatting/jurisdictions/courts.json` |
No description provided.