redigir-peca

Plans and drafts legal pleadings from case summaries, diagnostics, and verified legal sources.

50|17|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/emidio-trancoso/advocacia-aberta --skill redigir-peca-emidio-trancoso
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: redigir-peca
Source: https://github.com/emidio-trancoso/advocacia-aberta/tree/main/.agents/skills/3.1-redigir-peca
Command: npx skills add https://github.com/emidio-trancoso/advocacia-aberta --skill redigir-peca-emidio-trancoso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Drafting a legal pleading from scattered case materials risks weak structure, invented citations, and arguments aimed in the wrong direction. This Skill enforces a two-phase workflow — plan first, draft only after approval — so every petition, answer, appeal, or opinion is built on a validated strategy and cites only verified sources. ## Core Features & Use Cases - Two-phase workflow: First builds the central syllogism, ranks theses by evidentiary strength, and proposes the document structure for user validation; only then drafts the full piece. - Type-adaptive structure: Adjusts the skeleton for petitions, answers, replies, appeals, counter-arguments, closing statements, opinions, extrajudicial notices, and contracts. - Anti-hallucination rules: Statutes, precedents, and testimony quotes enter the text only when copied verbatim from verified case files (LEGISLACAO.md, JURISPRUDENCIA.md, transcripts); anything unverified is marked [verificar na fonte]. - Use Case: A lawyer needs a contestação for case 0001234-56.2025.8.16.0151. The Skill reads the case summary and diagnosis, proposes a thesis hierarchy and structure, waits for approval, then drafts the answer with CREAC-structured arguments and integrated rebuttals, saving it as pecas/contestacao-v1.md. ## Quick Start Ask the assistant to draft a contestação for the case folder casos/0001234-56.2025.8.16.0151 using the existing summary, diagnosis, and legal research files.

Frequently Asked Questions about redigir-peca

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

FAQPage Schema
How do I draft a legal pleading with an AI assistant?▼

Provide the case folder path and the pleading type, for example a contestação or appeal. The Skill first proposes a central syllogism, ranked theses, and document structure for your approval, then drafts the full piece only after you validate the plan.

What types of legal documents can this workflow draft?▼

It handles petitions, answers, replies, appeals, counter-arguments, closing statements, legal opinions, extrajudicial notices, and contracts. The structure adapts to each type, since an appeal's skeleton differs from a petition's or a contract's.

How does it prevent invented citations in legal drafting?▼

Statutes and precedents enter the text only when copied verbatim from verified files like LEGISLACAO.md and JURISPRUDENCIA.md, and testimony quotes must match transcripts with timestamps. Anything unverified is marked [verificar na fonte] instead of being fabricated.

What inputs are required before drafting a pleading?▼

The case folder must contain SUMARIO.md, DIAGNOSTICO.md, LEGISLACAO.md, and JURISPRUDENCIA.md, plus opposing pleadings or transcripts when applicable. Missing inputs trigger prerequisite skills or a draft mode without precise literal citations.

Can it work without a case folder in a chat conversation?▼

Yes, conversation mode works with attached materials and research returned earlier in the chat. The piece is delivered as a file at the end instead of being saved into a case directory, and the same verbatim-sourcing rules apply.