skills/council/guardian/data-classification/SKILL.md
Use when classifying data elements by sensitivity tier and defining per-tier handling requirements. Covers data inventory, sensitivity classification, PII flow mapping, encryption and masking specifications, and cross-boundary transfer documentation. Do not use for regulatory gap analysis (use compliance-review) or audit logging design (use audit-trail-design).
npx skillsauth add dtsong/my-claude-setup data-classificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Classify data elements by sensitivity tier, define handling requirements for each tier, and map PII flows to ensure appropriate protections are applied throughout the data lifecycle.
Reads data models, schemas, and architecture documentation for classification analysis. Does not modify schemas, apply encryption, or access production data stores directly.
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Catalog every data element in scope. For each element, document:
Assign each data element to a sensitivity tier:
For each PII element, trace the complete data flow:
Specify the minimum controls required for each sensitivity tier:
Document every case where data moves across trust boundaries:
Define specific technical controls for each data element:
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
| Data Element | Source | Sensitivity Tier | PII? | Regulatory Scope | Owner | |---|---|---|---|---|---| | Email address | User input | Confidential | Yes | GDPR, CCPA | User Service | | Session token | System | Restricted | No | SOC2 | Auth Service | | Page views | System | Internal | No | — | Analytics | | ... | ... | ... | ... | ... | ... |
| Tier | Access Control | Encryption (Rest) | Encryption (Transit) | Log Masking | Retention | Audit Level | |---|---|---|---|---|---|---| | Public | Open | Optional | TLS 1.2+ | None | Unlimited | None | | Internal | Role-based | Optional | TLS 1.2+ | None | 2 years | Read-only | | Confidential | Role-based + MFA | AES-128+ | TLS 1.2+ | Masked | Defined per type | Read/Write | | Restricted | Need-to-know + MFA | AES-256 | TLS 1.2+ / mTLS | Never logged | Minimum viable | Full (who/what/when) |
[User Input] ──TLS──▶ [API Gateway] ──mTLS──▶ [User Service]
│
[Encrypted DB]
│
┌───────────────┼───────────────┐
▼ ▼ ▼
[Analytics] [Email SaaS] [Backup Store]
(anonymized) (DPA in place) (AES-256)
development
Use when the council needs to surface organizational knowledge buried across multiple internal sources (wikis, design docs, ADRs, past tickets, postmortems, chat archives, code repos). Plans where to look, what to cross-reference, and how to synthesize findings into evidence the council can act on. Do not use for external market research (use competitive-analysis), library evaluation (use library-evaluation), or technology trend assessment (use technology-radar).
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Interactive wizard to craft effective prompts using Claude Code best practices