replica-rmc

Generate RMC/RCC contestation replicas from process folders with DOCX drafting and evidence validation.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/gabrielcardosodeaguiar45-oss/claude-skills-azevedolima --skill replica-rmc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: replica-rmc
Source: https://github.com/gabrielcardosodeaguiar45-oss/claude-skills-azevedolima/tree/main/replica-rmc
Command: npx skills add https://github.com/gabrielcardosodeaguiar45-oss/claude-skills-azevedolima --skill replica-rmc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, python-docx, fitz, lxml, argparse, json, re, ipaddress, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Esta Skill automatiza a produção integral de uma réplica à contestação em ações de RMC/RCC (cartão consignado), transformando a pasta do processo (PDF consolidado ou já fatiado) em documentos finais prontos para revisão.

Core Features & Use Cases

  • Orquestração end-to-end da réplica: fatiamento quando necessário, extração determinística de fatos e geração do .docx.
  • Validação ancorada em evidências: validação do texto produzido contra _facts.json e o conteúdo dos PDFs, com identificação de pontos críticos.
  • Regras jurídicas do escritório: aplica regras editoriais e de adaptação (ex.: Cambria obrigatório, estrutura, listas e checagens específicas de bancos e cenários).

Quick Start

Envie ao assistente a pasta do processo RMC/RCC e peça para gerar a réplica usando o comando /replica-rmc apontando para o caminho da pasta.

Frequently Asked Questions about replica-rmc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate legal drafting of an RMC replica to contestation from process PDFs?▼

Automating an RMC replica involves orchestrating PDF fatiation, deterministic facts extraction, and DOCX drafting to transform a process folder into a ready-to-review document. The skill handles end-to-end generation, applying rule-conformant formatting like Cambria font.

What is deterministic facts extraction and how does it validate evidence in legal drafting?▼

Deterministic facts extraction creates a _facts.json source of truth from process PDFs, which is then used for evidence validation. Validate_against_facts verifies the generated replica text against these extracted facts and original PDF text to identify critical points.

Does this legal drafting workflow support process folders for specific Brazilian states?▼

Yes, this legal drafting workflow supports process PDFs or folders specifically for AM, AL, BA, and MG states. It applies tailored editorial rules and bank scenario checks to generate the RMC/RCC replica for these jurisdictions.

How do I format a generated legal replica to meet specific office editorial rules in DOCX?▼

To format a legal replica in DOCX, the skill applies rule-conformant formatting constraints such as mandatory Cambria font, specific structure requirements, and list checks. It outputs a fully formatted document ready for review.

Can I use python-docx and pymupdf to process and slice consolidated process PDFs for replication?▼

Yes, the workflow utilizes pymupdf and fitz for PDF processing and fatiation, alongside python-docx for drafting the final replica. These dependencies enable seamless extraction and document generation from consolidated process folders.

What are the limitations of using automated extraction for RMC replica generation?▼

Automated extraction requires a mandatory SKILL entrypoint with YAML frontmatter and relies on deterministic extract_facts output as the source of truth. Limitations include dependency on accurate PDF text and the need for manual review of critical points identified during validation.