Basinfy/Basinfy-SaaS-Studio / .agents/skills/saas-team-lgpd
saas-team-lgpd
UnverifiedOrchestrate DPO, database, auth, and frontend specialists for LGPD & ECA Digital compliance.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
SKILL.md
View on GitHub---
name: saas-team-lgpd
description: "Orchestrate DPO, database, auth, and frontend specialists for LGPD & ECA Digital compliance."
argument-hint: "[privacy feature or audit scope] [--review full|lean|solo]"
user-invocable: true
---
<!-- Generated from .claude/skills by scripts/sync-agent-skills.py. -->
## Running this workflow on this client
Run commands from the project root (use Git Bash on Windows if `bash` points to an unavailable WSL distro). Shared studio files live in `.claude/`; follow `.agents/PORTABLE-RUNTIME.md` and `.claude/docs/config-resolution.md` for client tools, delegation, and approval rules.
Run `bash .claude/hooks/yaml-helper.sh resolve_config --keys locale,review_mode,automation` and use its output below.
Resolved above — use as-is; `--review` overrides `review_mode` for this run.
# Team LGPD & Privacy Engineering
> **Locale & User Profile**: Match `locale` (`pt-BR` → natural Brazilian Portuguese questions/options, overriding English examples; `en` → English) and `user_profile` (`founder` → plain business language with `(Recomendado)` first, zero tech jargon; `developer` → technical). Keep code/tests in English.
Orchestrate the multidisciplinary privacy engineering and compliance team to implement end-to-end LGPD compliance (Lei 13.709/2018), ANPD regulations, and ECA Digital (Lei 15.211/2025).
**Argument check:** If no description is provided, output:
> "Usage: `/saas-team-lgpd [privacy feature or audit scope] [--review full|lean|solo]` — Describe the privacy feature or compliance scope (e.g. Full greenfield privacy-by-design setup, Legacy database gap analysis & ROPA, Consent ledger with Prisma, DSAR account deletion & data export endpoints, Incident response drill, Cookie banner & privacy preferences center)."
When this skill is invoked with a valid argument, orchestrate the team:
1. **Governance & Legal Assessment**:
- `dpo-privacy-specialist`: Identify data processing activities, map legal bases (Art. 7/11), conduct LIA for legitimate interest, prepare ROPA (Art. 37) and RIPD/DPIA (Art. 38) where high risk is detected. Update `.lgpd/STATUS.md`.
2. **Data Modeling & Storage Controls**:
- `database-architect` & `prisma-drizzle-specialist`:
- Model append-only `ConsentLedger` schema in Prisma with versioning and timestamp hashes.
- Implement data isolation, crypto-shredding keys, retention schedule, and secure cascading soft/hard delete for data subject requests.
- `appsec-engineer`:
- Enforce KMS encryption, AES-256-GCM, TLS 1.3, Argon2id, and immutable hash-chained audit logging (`.lgpd/audit-logging.md`).
3. **Authentication & Identity Verification**:
- `auth-security-specialist`:
- Secure authentication for DSAR requests to prevent unauthorized identity impersonation.
- Enforce ECA Digital age gating and parental verification links (Lei 15.211/2025).
4. **Frontend Privacy UI & Preferences**:
- `frontend-engineer`:
- Build granular, un-prechecked consent checkboxes on registration/forms.
- Implement self-serve Data Subject Access Request (DSAR) portal (`/settings/privacy`) for export (JSON) and account erasure.
- Create accessible Cookie Preferences Manager and banner.
5. **Quality Assurance & SLA Verification**:
- `qa-manual-tester`:
- Verify DSAR automated workflows adhere to statutory SLAs (15 calendar days maximum).
- Test consent revocation reactivity (ensuring marketing emails or third-party tracking cease immediately).
- Verify zero plain-text PII in application logs and crash dumps.
6. **Verdict**:
- Output: **COMPLETE** — privacy engineering controls implemented, living artifacts updated in `.lgpd/`, and verified against ANPD standards.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |