How ojuliocouto/gerador-contratos works
gerador-contratos is a distributable Claude Code skill for producing Brazilian-law service contracts in the AI automation niche, auditing them, then sending them to Autentique for signature. Its main workflow takes provider and client/contract data plus a contract template, generates Markdown and PDF, runs an automatic structural check and a mandatory adversarial legal review, then sends the PDF for signature. The README also documents setup, three contract types, and legal reference material. Source excerpts show generator, checker, and signature API behavior; other documented capabilities are represented without inferring unsampled internal calls.
Main entry points: gerar.py Contract generator · clausulas.md Clause library · autentique.py Signature submission · auditar.py Structural audit
Components 19
Contract workflow
- Claude skill guidance
SKILL.md - Provider profile
perfil.exemplo.json - Contract data
- Contract generator
scripts/gerar.py - Filled contract
- Rendered PDF
- ReportLab renderer
scripts/gerar.py - WeasyPrint renderer
scripts/gerar.py
Contract content
- Service template
templates/prestador-servico.md - Mentorship template
templates/mentoria.md - Consulting template
templates/consultoria.md - Clause library
references/clausulas.md
Legal assurance
- Structural audit
scripts/auditar.py - Four-agent legal audit
references/auditoria-adversarial.md - Pre-send checklist
references/checklist-juridico.md - Creator review
Signature
- Signature submission
scripts/autentique.py - Autentique
Other components
- Contract creator
Connections 25
- Contract creator → Claude skill guidance: follows workflow
README.md - Claude skill guidance → Contract generator: guides generation
README.md - Contract creator → Provider profile: configures once
README.md - Contract creator → Contract data: provides details
README.md - Contract generator → Provider profile: reads profile
README.md - Contract generator → Contract data: reads data
README.md - Contract generator → Service template: fills template
README.md - Contract generator → Mentorship template: fills template
README.md - Contract generator → Consulting template: fills template
README.md - Contract generator → Filled contract: writes Markdown
scripts/gerar.py - Contract generator → ReportLab renderer: selects renderer
scripts/gerar.py - Contract generator → WeasyPrint renderer: selects renderer
scripts/gerar.py - ReportLab renderer → Rendered PDF: renders PDF
scripts/gerar.py - WeasyPrint renderer → Rendered PDF: renders PDF
scripts/gerar.py - Structural audit → Filled contract: checks document
README.md - Structural audit → Contract data: checks LGPD need
scripts/auditar.py - Filled contract → Four-agent legal audit: undergoes review
README.md - Four-agent legal audit → Creator review: returns findings
README.md - Pre-send checklist → Creator review: supports review
- Creator review → Signature submission: approves for sending
README.md - Signature submission → Rendered PDF: uploads PDF
scripts/autentique.py - Signature submission → Autentique: creates signature request
scripts/autentique.py - Clause library → Service template: informs clauses
- Clause library → Mentorship template: informs clauses
- Clause library → Consulting template: informs clauses