data-security-and-privacy-architecture
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Designs classification, access, masking, privacy, entitlement and sensitive-data controls. Use when securing shared data, defining privacy controls, or classifying datasets.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-wcagSkill
- agentic-ux-patternsSkill
- ai-model-governanceSkill
- api-design-and-lifecycleSkill
- apply-laws-of-aiSkill
- bdd-practiceSkill
- browser-testing-with-devtoolsSkill
- business-capability-modelingSkill
- business-information-concept-modelingSkill
- capability-maturity-assessmentSkill
- cdc-and-source-to-stream-ingestionSkill
- ci-cd-and-automationSkill
- cloud-platform-architectureSkill
- code-review-and-qualitySkill
- cognitive-bias-reviewSkill
- conceptual-data-modelingSkill
- context-engineeringSkill
- data-contract-designSkill
- data-governance-and-qualitySkill
- data-integration-and-interoperabilitySkill
- data-lifecycle-and-retention-managementSkill
- data-lineage-and-provenanceSkill
- data-product-dashboard-designSkill
- data-product-designSkill
- ddd-practiceSkill
- deprecation-and-migrationSkill
- design-system-practiceSkill
- documentation-and-adrsSkill
- dora-four-keysSkill
- dry-principleSkill
- eip-integration-validationSkill
- evaluation-and-monitoringSkill
- event-driven-architectureSkill
- event-governance-and-lineageSkill
- event-modelingSkill
- event-streaming-platform-designSkill
- exception-handling-and-recoverySkill
- finops-practiceSkill
- frontend-state-and-interaction-designSkill
- git-workflow-and-versioningSkill
- goal-setting-and-monitoringSkill
- guardrails-safety-patternsSkill
- human-in-the-loopSkill
- idea-refinementSkill
- incident-response-and-postmortemsSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- integration-message-constructionSkill
- inter-agent-communication-a2aSkill
- kiss-principleSkill
- knowledge-graph-ragSkill
- knowledge-retrieval-ragSkill
- krag-evaluation-governanceSkill
- krag-ingestion-graph-constructionSkill
- krag-retrieval-answeringSkill
- krag-system-designSkill
- lakehouse-and-medallion-architectureSkill
- learning-and-adaptationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use when data contains sensitive, personal, confidential, regulated or high-value information.
- Distinctive: line 25
Test denial and misuse cases.
- Distinctive: line 61
Do not rely on UI-only access controls or broad shared credentials.
- Distinctive: line 62
Do not treat privacy compliance as solved by encryption alone.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Security and Privacy Architecture
When to use
Use when data contains sensitive, personal, confidential, regulated or high-value information.
Objective
Produce a practical, concise, traceable architecture artefact that a coding agent can use to guide implementation or review.
Procedure
- Classify data by sensitivity and purpose.
- Identify users, roles and access needs.
- Define entitlement model and approval flow.
- Define masking, tokenisation or encryption.
- Define row/column/object-level controls.
- Define logging, monitoring and access evidence.
- Define retention/privacy obligations.
- Test denial and misuse cases.
Required outputs
- Classification model
- Access matrix
- Entitlement workflow
- Masking/encryption requirements
- Audit/access evidence
- Negative tests
Best-practice alignment
Apply DAMA-DMBOK2-style separation of data governance, architecture, modelling, security, integration/interoperability, master/reference data, metadata and quality. For cloud/shared data, apply CDMC-style expectations: ownership, classification, entitlement/access evidence, lineage/provenance, lifecycle/retention, quality controls and auditable evidence.
Quality checks
- Access is least privilege.
- Sensitive fields are identified.
- Denial paths are tested.
- Sensitive values are not logged.
- Access evidence is auditable.
Privacy compliance procedure
This is an operational procedure for agents, not legal advice.
- Map personal data categories, purposes and systems involved in the change.
- Confirm a lawful basis or organisational policy basis for processing where applicable.
- Trigger a DPIA (data protection impact assessment) when processing is high risk (large-scale sensitive data, systematic monitoring, automated decisions with legal effect).
- Define data-subject rights handling (access, rectification, erasure/DSAR paths) and response owners.
- Align retention, deletion and transfer controls with
data-lifecycle-and-retention-management. - Record evidence (classification, access logs, DPIA reference, retention rules).
Avoid
Do not rely on UI-only access controls or broad shared credentials. Do not treat privacy compliance as solved by encryption alone.
Related skills
data-lifecycle-and-retention-management— retention and deletionthreat-modeling— abuse and exfiltration threatshuman-in-the-loop— approval for high-risk processing
References
- DAMA-DMBOK (DAMA International)
- EDM Council CDMC (Cloud Data Management Capabilities)
- ICO UK GDPR guidance
Verification
- Required artefacts produced and linked to scope.
- Decisions, assumptions and risks stated explicitly.
- Quality checks or validation performed.
- Privacy compliance steps considered (DPIA trigger, data-subject rights, evidence).
- Files changed reported with traceability preserved.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

