lgpd-audit-logging
One of the sub-skills of a Brazilian LGPD privacy engineering set, for building an audit log that shows tampering.
What the skill teaches
One of the sub-skills of a Brazilian LGPD privacy engineering set, for building an audit log that shows tampering. It explains that the law does not demand a hash chain but treats one as a sensible control for accountability and security, and it separates retention for incident records from shorter periods for routine logs. The agent adds a Prisma model with an increasing sequence number, a TypeScript writer that serialises entries with a PostgreSQL advisory lock and chains their hashes, database triggers and permissions that block edits and deletes, and a daily job that checks the chain and stores the latest hash in write-once storage or a SIEM, alerting on any mismatch.
Capabilities
- Add a hash-chained audit log table with Prisma
- Block edits and deletes with database triggers
- Schedule a daily chain check with external anchoring
- Log sensitive actions without raw personal data
About
- Publisher
- goul4rt
- Tool
- Legal work
Works with
Install
- Run this to add it to Any client:
npx skills add goul4rt/lgpd-skills
What's inside
- assets/audit-log.prisma
- assets/audit-log.ts
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Legal work | |
| Publisher | goul4rt | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 19, 2026279 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from goul4rt
2 skills
All 2 from goul4rt →Also listed under: Legal work
Sources
- GitHub repositorygithub.com/goul4rt/lgpd-skills · Backs: AI clients, Licence, Publisher, ActivityNov 19, 2026
- Web pageraw.githubusercontent.comNov 19, 2026
- Skill file (SKILL.md)github.com/goul4rt/lgpd-skillsNov 19, 2026
- Folder in the repository (lgpd-audit-logging)github.com/goul4rt/lgpd-skills · Backs: Includes scriptsNov 19, 2026