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/tests/test-versions.sh
View on GitHub#!/usr/bin/env bash
# Garante uma única versão do projeto: metadata.version do SKILL.md = de todos os commands/*.md,
# presente no CHANGELOG.md e, quando informada, igual à tag (ex.: v1.1.0).
# Uso: scripts/tests/test-versions.sh [tag]
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
TAG="${1:-}"
FAILURES=0
frontmatter_version() {
awk '
NR == 1 && $0 == "---" { in_fm = 1; next }
in_fm && $0 == "---" { exit }
in_fm && $0 ~ /^[[:space:]]+version:/ { sub(/^[[:space:]]+version:[[:space:]]*/, ""); gsub(/"/, ""); print; exit }
' "$1"
}
fail() {
printf " FAIL %s\n" "$1"
FAILURES=$((FAILURES + 1))
}
VERSION="$(frontmatter_version "${REPO_ROOT}/SKILL.md")"
if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "SKILL.md sem metadata.version válida (encontrado: '${VERSION}')."
exit 1
fi
echo "Versão do projeto (SKILL.md): ${VERSION}"
for file in "${REPO_ROOT}"/commands/*.md; do
command_version="$(frontmatter_version "$file")"
if [[ "$command_version" == "$VERSION" ]]; then
printf " ok %s\n" "commands/$(basename "$file")"
else
fail "commands/$(basename "$file") está em '${command_version}'"
fi
done
if grep -q "^## \[${VERSION}\]" "${REPO_ROOT}/CHANGELOG.md"; then
printf " ok CHANGELOG.md tem a seção [%s]\n" "$VERSION"
else
fail "CHANGELOG.md não tem a seção ## [${VERSION}]"
fi
if [[ -n "$TAG" ]]; then
if [[ "$TAG" == "v${VERSION}" ]]; then
printf " ok tag %s\n" "$TAG"
else
fail "a tag ${TAG} não corresponde à versão v${VERSION}"
fi
fi
if [[ "$FAILURES" -gt 0 ]]; then
echo "${FAILURES} inconsistência(s) de versão."
exit 1
fi
echo "Versões consistentes."
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 |