ThomasMoreAI/legal-skills-open / br/data-protection/skills/lgpd-enterprise-auditor-brunolagoa
lgpd-enterprise-auditor-brunolagoa
FlaggedAuditoria de conformidade LGPD (Lei nº 13.709/2018) orientada a evidências, com ECA Digital e plataformas digitais — checklist em 17 domínios, severidade, score 0–100 e relatório com plano de adequação. Use quando o usuário pedir auditoria, diagnóstico ou adequação à LGPD/ANPD de um sistema, SaaS, site, app mobile, pipeline DevSecOps ou sistema de IA/LLM.
scripts/update-example-report.sh
View on GitHub#!/usr/bin/env bash
# Reaplica o modelo do relatório em HTML ao exemplo público, mantendo os dados do exemplo.
# Rodar sempre que reports/html-report-template.html mudar.
# Uso: scripts/update-example-report.sh [relatorio.html]
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
TEMPLATE="${REPO_ROOT}/.agents/lgpd-enterprise-auditor/reports/html-report-template.html"
REPORT="${1:-${REPO_ROOT}/examples/saas-demo/relatorio-auditoria-lgpd.html}"
PLACEHOLDER='{"_modelo": true}'
[[ -f "$TEMPLATE" ]] || { echo "Modelo não encontrado: ${TEMPLATE}"; exit 1; }
[[ -f "$REPORT" ]] || { echo "Relatório não encontrado: ${REPORT}"; exit 1; }
TMP_DIR="$(mktemp -d)"
trap 'rm -rf "$TMP_DIR"' EXIT
# Dados: as linhas entre a abertura do bloco "lgpd-dados" e o </script> que o fecha.
awk '
/<script type="application\/json" id="lgpd-dados">/ { in_data = 1; next }
in_data && /^<\/script>/ { exit }
in_data { print }
' "$REPORT" > "${TMP_DIR}/data.json"
[[ -s "${TMP_DIR}/data.json" ]] || { echo "Bloco de dados vazio em ${REPORT}"; exit 1; }
if grep -qxF "$PLACEHOLDER" "${TMP_DIR}/data.json"; then
echo "O relatório ainda está com o bloco de dados do modelo; nada a reaplicar."
exit 1
fi
awk -v data="${TMP_DIR}/data.json" -v placeholder="$PLACEHOLDER" '
$0 == placeholder { while ((getline line < data) > 0) print line; next }
{ print }
' "$TEMPLATE" > "${TMP_DIR}/report.html"
mv "${TMP_DIR}/report.html" "$REPORT"
echo "Modelo reaplicado em ${REPORT}"
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: 196k | Updated | Claude CodeCodex | Verified | Install |