基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mikailustuner/OmniRule --skill compliance-gdpr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Bun runtime: HTTP server, file I/O, SQLite, test runner, package manager, bundler — all-in-one JS toolchain.
Clerk: Drop-in auth UI, Organizations, User management, JWT templates, webhooks, Next.js middleware integration.
Gelişmiş masaüstü, tarayıcı ve işletim sistemi kontrol yeteneği. Görsel (koordinat tabanlı) fare/klavye otomasyonu, DOM manipülasyonu, pencere yönetimi, gelişmiş dosya, ağ ve süreç yönetimini kapsar.
| name | compliance-gdpr |
| description | Compliance: GDPR, SOC2, HIPAA, data privacy, retention policies, audit trails. |
| triggers | {"extensions":[".md",".yaml",".json"],"directories":["compliance/","security/","audit/"],"keywords":["gdpr","compliance","soc2","hipaa","privacy","data protection","audit","sox","pci-dss","retention"]} |
| auto_load_when | Implementing compliance controls or designing for regulatory requirements |
| agent | security-expert |
| tools | ["Read","Write","Bash"] |
Focus: GDPR, SOC2, HIPAA, audit, data privacy
GDPR Core Principles:
├── Lawful basis for processing
│ ├── Consent (opt-in)
│ ├── Contract performance
│ └── Legitimate interest
│ └── Each has different requirements
│
├── Data minimization
│ ├── Only collect what's needed
│ └── Don't over-collect
│ └── Document why each field
│
├── Purpose limitation
│ ├── Use data only for stated purpose
│ └── Don't repurpose without consent
│ └── Anonymize for analytics
│
├── Storage limitation
│ ├── Delete when no longer needed
│ └── Define retention periods
│ └── Right to erasure
│
└── Integrity & confidentiality
└── Security measures (encryption, access)
└── Pseudonymization where possible
Rights Implementation:
├── Right to access (Article 15)
│ └── User can request their data
│ └── Export in machine-readable format
│ └── Free within 30 days
│
├── Right to rectification (Article 16)
│ └── User can correct their data
│ └── Easy update mechanism
│
├── Right to erasure (Article 17)
│ └── "Right to be forgotten"
│ └── Delete all copies, backups
│ └── Exception: legal hold
│
├── Right to portability (Article 20)
│ └── Export in JSON/CSV format
│ └── Transfer to another provider
│
└── Consent management
└── Granular consent options
└── Easy withdrawal
└── Audit trail of consent
SOC 2 Trust Service Criteria:
├── Security
│ ├── Access controls
│ ├── Encryption
│ └── Logging & monitoring
│
├── Availability
│ ├── Uptime SLA
│ └── DR plan
│ └── Incident response
│
├── Processing Integrity
│ ├── Data accuracy
│ └── Processing controls
│ └── Error handling
│
├── Confidentiality
│ ├── Data classification
│ └── Encryption at rest
│ └── Access restrictions
│
└── Privacy
├── PII protection
└── Notice & choice
└── Data retention
Retention Patterns:
├── Define retention periods
│ ├── Transaction data: 7 years (financial)
│ ├── Logs: 90 days (operational)
│ ├── Backups: 30 days
│ └── PII: until consent withdrawn + 30 days
│
├── Automated deletion
│ ├── Scheduled jobs
│ ├── TTL in storage
│ └── Soft delete + hard delete
│
├── Legal hold
│ ├── Preserve data for litigation
│ └── Override retention
│ └── Document hold reason
│
└── Disposal verification
└── Certificate of destruction
└── Cryptographic erasure
└── Physical destruction for hardware
Audit Trail Requirements:
├── What to log
│ ├── Who accessed what data
│ └── What changes made
│ └── When, from where
│
├── Log retention
│ ├── 1+ year for compliance
│ └── Tamper-proof storage
│ └── Immutable
│
├── Documentation
│ ├── Data processing agreement (DPA)
│ ├── Privacy policy
│ └── Security policies
│
└── Evidence collection
├── Screenshots, configs
└── SOC 2 audit reports
└── Penetration test results
❌ No data inventory — don't know what PII you have
✅ Map all data, classify by sensitivity
❌ Storing everything forever — unnecessary liability
✅ Define retention, auto-delete
❌ No consent tracking — can't prove compliance
✅ Store consent with timestamp, version
❌ Manual deletion process — fails, forgotten
✅ Automate with TTL, scheduled jobs
❌ One consent for everything — not GDPR-compliant
✅ Granular consent per purpose
| Framework | Focus | Key Controls |
|---|---|---|
| GDPR | EU privacy | Consent, erasure, portability |
| SOC 2 | Trust services | Security, availability, privacy |
| HIPAA | US health | PHI protection, access controls |
| PCI DSS | Payment cards | Card data protection |
| ISO 27001 | Info security | ISMS framework |