security-data-security
Use this skill when implementing data security: encryption at rest/transit, key management (KMS, HSM), data masking (static, dynamic), column-level security…
от j4flmao★ 47 звёзд на GitHub
Установить security-data-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Data Security Agent
Purpose
Implements data security controls: encryption, key management, masking, column-level security, and data anonymization for regulatory compliance.
Agent Protocol
Trigger
User request includes: data security, data encryption, data masking, column-level security, data privacy, GDPR, CCPA, data classification, data anonymization, tokenization, key management, KMS, HSM.
Protocol
- Classify data by sensitivity level.
- Design encryption strategy (at rest, in transit, in use).
- Select key management approach (KMS, HSM, BYOK).
- Implement data masking where applicable.
- Configure column-level security.
- Apply anonymization techniques for analytics.
- Document compliance controls.
Output
Data security framework with encryption strategy, key management, masking rules, compliance controls.
Response Format
## Data Security Framework
### Classification
Levels: [{public, internal, confidential, restricted}]
Coverage: [{data asset: classification level}]
### Encryption
At Rest: {AES-256 / envelope encryption}
In Transit: {TLS 1.2+ / mTLS}
Key Management: {KMS / HSM / BYOK}
Key Rotation: {every N days / automatic}
### Data Masking
Static Masking: {target datasets, masking rules}
Dynamic Masking: {role-based, query-time}
Tokenization: {format-preserving / random / vault-based}
### Column-Level Security
Database: {PostgreSQL / BigQuery / Snowflake}
Method: {row-level security / column ACL / dynamic masking}
Roles: [{role: accessible columns}]
### Anonymization
Technique: {k-anonymity / l-diversity / differential privacy}
Parameters: {k=N / epsilon=N}
GDPR/CCPA: {right to deletion / portability / access}
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Data classification levels defined and applied to all data assets.
- Encryption strategy covers at rest, in transit, and key management.
- Key management architecture with rotation schedule.
- Data masking rules applied to non-production and sensitive columns.
- Column-level security configured per role.
- Anonymization technique selected and validated.
- GDPR/CCPA compliance controls documented.
Workflow
Step 1: Data Classification
Define classification levels: Public (no impact), Internal (minor), Confidential (moderate), Restricted (severe). Classify all data assets: databases, files, streams, backups. Tag classified data in catalog.
Step 2: Encryption Strategy
- At rest: AES-256 with envelope encryption. Use KMS for key hierarchy. Encrypt databases, S3 buckets, EBS volumes, backups.
- In transit: TLS 1.2 minimum, prefer TLS 1.3. mTLS for service-to-service. Enforce on all connections.
- In use: Confidential computing (Intel SGX, AMD SEV) for sensitive workloads.
Step 3: Key Management
- KMS: Managed service (AWS KMS, GCP Cloud KMS, Azure Key Vault). Automatic key rotation. Access control via IAM.
- HSM: Hardware security module (AWS CloudHSM, Azure Dedicated HSM). FIPS 140-2 Level 3. For regulatory requirements.
- BYOK: Import your own key to KMS. Control key material. Rotation rotates within KMS.
Step 4: Data Masking
- Static masking: Create de-identified copies of production data for dev/test. Permanent transformation.
- Dynamic masking: Mask at query time based on role. No data modification. Use PostgreSQL
col_a > masking_column. - Tokenization: Replace sensitive data with tokens. Vault-based (lookup table) or format-preserving (algorithmic).
Step 5: Column-Level Security
PostgreSQL: Row-Level Security (RLS) policies per table. BigQuery: column ACL on authorized views. Snowflake: dynamic data masking with masking policies. Grant access based on data classification and role.
Step 6: Anonymization
- k-anonymity: Each record indistinguishable from k-1 others. Generalize or suppress quasi-identifiers.
- l-diversity: Each equivalence class has l distinct sensitive values. Prevents homogeneity attacks.
- Differential privacy: Add calibrated noise. Epsilon parameter controls privacy/utility trade-off.
Step 7: Compliance
GDPR: right to access (data portability), right to deletion (erase records), right to rectification. CCPA: right to know, right to delete, right to opt-out. Document data processing activities. Maintain data flow maps.
Data Classification Automation
Classification Levels and Criteria
classification_levels:
public:
description: "Data that can be freely shared with anyone"
examples: ["Marketing content", "Published research", "Product documentation"]
controls: ["No special controls beyond integrity"]
access: "Unrestricted"
internal:
description: "Data that should not be publicly exposed but has limited impact if leaked"
examples: ["Organizational charts", "Internal wikis", "Non-sensitive logs"]
controls: ["Acce
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/data-discovery-classification.md
- references/data-loss-prevention.md
- references/data-masking-classification.md
- references/data-privacy-compliance.md
- references/data-security-advanced.md
- references/data-security-fundamentals.md
- references/encryption-key-management.md
- references/encryption-key-mgmt.md
- references/privacy-by-design-engineering.md
FAQ
Что делает скилл security-data-security?
Use this skill when implementing data security: encryption at rest/transit, key management (KMS, HSM), data masking (static, dynamic), column-level security, data privacy (GDPR, CCPA), data classification, data anonymization, tokenization. This skill enforces: encryption strategy selection, key management architecture, masking rules, column-level access controls, anonymization technique, compliance controls. Do NOT use for: network security (firewalls, VPCs), identity and access management (IAM), application security scanning.
Как установить скилл security-data-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-data-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…