ThomasMoreAI/legal-skills-open / br/employment/skills/legal-process-parser-lucianum7
legal-process-parser-lucianum7
VerifiedIngere e audita processos em PDF, TXT ou Markdown, preserva o original, extrai cada página e imagem com rastreabilidade e prepara análises processuais, petições e peças de trabalho com citações internas, controle de lacunas e revisão humana. Use para ingerir autos, localizar trechos, comparar peças, analisar provas e decisões, controlar pendências ou redigir minutas sem inventar fatos.
scripts/build_index.py
View on GitHubfrom __future__ import annotations
import argparse
import json
from pathlib import Path
try:
from .helpers import build_index_records, build_pages
except ImportError:
from helpers import build_index_records, build_pages # type: ignore
def main() -> int:
parser = argparse.ArgumentParser(description="Cria índice JSONL com texto e metadados de cada página.")
parser.add_argument("pages_json", type=Path)
parser.add_argument("--process", default="não identificado")
parser.add_argument("--output", type=Path, default=Path("index.jsonl"))
args = parser.parse_args()
data = json.loads(args.pages_json.read_text(encoding="utf-8"))
pages, _ = build_pages(data.get("pages", []))
with args.output.open("w", encoding="utf-8", newline="\n") as handle:
for record in build_index_records(pages, args.process):
handle.write(json.dumps(record, ensure_ascii=False) + "\n")
return 0
if __name__ == "__main__":
raise SystemExit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |