regulatory-templates

Generate BACEN and RFB regulatory templates through a three-gate workflow.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665 --skill regulatory-templates-withmartian-sandbox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regulatory-templates
Source: https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665/tree/main/finops-team/skills/regulatory-templates
Command: npx skills add https://github.com/withmartian-sandbox/ghrc-x-3126672651424eddb640ecc81321a665 --skill regulatory-templates-withmartian-sandbox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill orchestrates a zero-tolerance Brazilian regulatory template workflow, ensuring compliant BACEN and RFB submissions by enforcing a disciplined, 3-gate process.

Core Features & Use Cases

  • Modular three-gate architecture: setup, gate1 (analysis and field mapping), gate2 (validation), gate3 (template generation) with in-memory context flow and no intermediate files.
  • Dynamic template specifications loaded from centralized configs; supports BACEN CADOCs (4010, 4016, 4111), RFB e-Financeira, DIMP, APIX templates; full automation from analysis to .tpl creation.
  • Robust governance for regulatory submissions with audit-friendly reports, error handling, and deterministic outcomes.

Quick Start

Initialize the setup sub-skill and run gates 1 through 3 to produce a BACEN/RFB .tpl template.

Frequently Asked Questions about regulatory-templates

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

FAQPage Schema
How do I automate BACEN CADOC template generation for compliance submissions?

Automating BACEN CADOC template generation requires running a structured 3-gate workflow that handles analysis, validation, and .tpl creation in memory without intermediate files. This process supports CADOC 4010, 4016, and 4111 formats, ensuring deterministic and audit-friendly outcomes.

What is the workflow for generating RFB e-Financeira and DIMP regulatory templates?

The RFB e-Financeira and DIMP regulatory template workflow involves a strict three-gate process: setup, analysis with field mapping, validation, and final template generation. It maintains context in-memory throughout, loading specifications dynamically from centralized configs to produce compliant .tpl files.

Can I generate BACEN APIX templates without creating intermediate files?

Generating BACEN APIX templates without intermediate files is supported by maintaining an in-memory context flow across the entire 3-gate architecture. This approach eliminates file I/O between the setup, analysis, validation, and generation stages, ensuring a deterministic and clean execution environment.

How does the 3-gate validation process work for Brazilian regulatory reporting?

The 3-gate validation process for Brazilian regulatory reporting sequentially executes setup, field analysis, and template generation. It leverages finops-analyzer for the first two gates to map and validate data, then uses finops-automation for the third gate to produce the final compliant template.

What BACEN and RFB regulatory formats are supported for automated template creation?

Automated template creation supports BACEN CADOCs 4010, 4016, and 4111, alongside APIX, e-Financeira, and DIMP mappings. These formats are loaded from centralized configurations, enabling end-to-end automation from initial analysis to final template file generation.

Do I need finops-analyzer to validate BACEN compliance templates?

Yes, finops-analyzer is required for the first two gates of the workflow to perform analysis and field mapping validation. The third gate relies on finops-automation to finalize the template generation, ensuring the regulatory submission meets strict compliance requirements.