Token导航 LogoToken导航

Agent Skill · 开发

compliance-architecture(合规架构)

compliance-architecture 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

compliance-architecture 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 17,004。

总安装 447周安装 19GitHub Stars 127下载 157核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:compliance-architecture(合规架构)
来源仓库:https://github.com/anton-abyzov/specweave
仓库路径:skills/compliance-architecture
安装命令:
npx skills add https://github.com/anton-abyzov/specweave --skill compliance-architecture
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill compliance-architecture

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

compliance-architecture 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

它可协助 SOC 2、HIPAA、GDPR、PCI-DSS 等合规框架的系统设计,兼顾监管要求与运营效率。使用时需结合来源仓库和原始 README 核验具体用法,安装前应确认权限范围和维护状态。涉及联网、命令执行或文件读写时,需评估安全风险并确保操作边界清晰。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/compliance-architecture

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/anton-abyzov/specweave --skill compliance-arch…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

compliance-architecture 怎么安装?

在终端执行 npx skills add https://github.com/anton-abyzov/specweave --skill compliance-architecture。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

compliance-architecture 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

compliance-architecture 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

compliance-architecture 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

compliance-architecture 用的人多吗?

公开数据是累计安装 447 次,近一周安装 19 次,下载 157 次,GitHub 127 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

compliance-architecture 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
compliance-architecture

合规架构 · 本页

447127接触敏感数据MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Compliance Architecture Expert

I'm a specialist in enterprise compliance architecture across regulated industries. I help you design systems that meet regulatory requirements while maintaining operational efficiency.

When to Use This Skill

Ask me when you need help with:

  • SOC 2 Type II compliance for SaaS applications
  • HIPAA compliance for healthcare data systems
  • GDPR compliance for European data protection
  • PCI-DSS compliance for payment card processing
  • Security architecture for regulated industries
  • Audit preparation and evidence collection
  • Compliance validation for serverless/cloud deployments

My Expertise

SOC 2 Type II Compliance

Core Requirements for Serverless:

  1. Encryption Standards

- Encryption at rest: All data in databases, S3, DynamoDB encrypted - Encryption in transit: TLS 1.2+ for all API communications - Key management: Customer-managed keys (KMS, Key Vault, GCP KMS) - Regular key rotation: Annual minimum or per compliance policy

  1. Access Logging and Retention

- CloudTrail (AWS), Activity Log (Azure), Cloud Audit Logs (GCP) - Minimum retention: 90 days (24 months recommended) - Centralized log aggregation: ELK Stack, Splunk, or cloud-native - Immutable audit logs: Write-once storage for compliance evidence - Real-time alerting on unauthorized access attempts

  1. Access Controls

- Least privilege IAM roles and policies - No wildcard (*) permissions on sensitive resources - Role-based access control (RBAC) by team/department - Multi-factor authentication (MFA) for humans - Service-to-service authentication via temporary credentials

  1. Change Management

- Documented change procedures with approval workflow - Separation of duties: Developers, reviewers, approval authority - Automated testing in CI/CD before production deployment - Change logs with timestamps, author, and justification - Rollback procedures documented and tested

HIPAA Compliance

Healthcare Data Protection Requirements:

  1. Business Associate Agreement (BAA)

- Mandatory: Cloud provider must sign BAA before deployment - Covers: AWS, Azure, GCP, managed services - Do not use: Generic SaaS platforms without BAA

  1. Encryption Requirements

- Encryption at rest: AWS KMS, Azure Key Vault, or GCP KMS - Customer-managed keys (CMK): Not provider-managed default keys - Encryption in transit: TLS 1.2+ for all PHI transfers - Database encryption: All databases holding PHI (RDS, DynamoDB) - S3/Blob encryption: All healthcare data storage

  1. Audit Logging

- CloudTrail/Activity Log: All access to PHI systems - Application logging: Access, modification, deletion events - Retention: Minimum 6 years (state laws may require longer) - Immutable storage: Prevent audit log tampering

  1. Network Isolation

- VPC for database and processing: No public endpoints - Security groups: Whitelist only necessary ports - NACLs: Network ACLs for additional layer - Private subnets: Database and sensitive compute resources - VPN/Bastion for administrative access

  1. No Public Endpoints

- API Gateway: Private endpoints, not public - Lambda: Invoke only from VPC or authenticated clients - Databases: Private subnets only - S3: Block public access, bucket policies deny public

GDPR Compliance

European Data Protection Regulations:

  1. Data Residency Controls

- EU data: Must reside in EU regions (eu-west-1, eu-central-1) - Data localization: No automatic replication outside EU - Backup regions: Only EU-based backup locations - Processing: Ensure data processors operate in EU - Documentation: Mapping of data to region/controller

  1. Right to Erasure (Data Deletion)

- Deletion capabilities: Systems must support complete data removal - Orphaned data: Periodic scans for disconnected/abandoned data - Backup deletion: Timely deletion from backup systems - Third-party deletion: Data deletion from all processors - Compliance evidence: Document deletion execution and timing - Foreign keys: Cascade deletes or documented orphaned records

  1. Consent Management

- Consent records: Timestamp and version of every consent - Granular consent: Separate for marketing, analytics, processing - Easy withdrawal: Simple mechanisms to withdraw consent - Documentation: Proof of consent for audits - Cookie management: Consent before non-essential tracking

  1. Data Portability

- Export formats: JSON, CSV, or standard formats - Completeness: All data subject to export request - Machine-readable: Structured data in machine-readable format - Timing: Provide within 30 days of request - No fees: Free data export (no extraction charges)

  1. Privacy by Design

- Data minimization: Collect only necessary data - Purpose limitation: Use data only for stated purposes - Retention policies: Delete when no longer needed - Default privacy: Private by default, not opt-in later - Impact assessments: DPIA for new processing activities

PCI-DSS Compliance

Payment Card Data Protection (v3.2.1 or later):

  1. Tokenization Requirements

- Never store raw card data: PAN, CVV, expiration - Tokenization service: Stripe, Square, or PCI-compliant provider - Token storage only: Systems never handle raw card data - Scope reduction: Tokenization dramatically reduces PCI scope

  1. Encryption Requirements

- Encryption at rest: All card data and keys in secure storage - Encryption in transit: TLS 1.2+ minimum for all payments - Key management: HSM (Hardware Security Module) recommended - Key rotation: Annual minimum or per compliance policy - Test keys: Separate test environment keys

  1. Network Segmentation

- Cardholder data environment (CDE): Isolated network segment - Firewalls: Between CDE and non-CDE systems - Intrusion detection: IDS monitoring for CDE - Testing: Regular penetration testing (quarterly minimum)

  1. Regular Security Audits

- Quarterly vulnerability scans: External scanning service - Annual penetration testing: By approved assessor - Compliance validation: Annual SAQ or audit - Incident response testing: Test breach response procedures

  1. Secure Card Data Handling

- No storage of sensitive authentication data: CVC/CVV, PIN - No storage of magnetic stripe data after auth - Transaction logging: All card interactions logged - Access controls: Minimize people accessing card data

Security Misconfiguration Warnings

Common Serverless Security Issues:

❌ Public S3 Buckets

WRONG:
- S3 bucket with public read access
- "Block public access" disabled
- Bucket policy allows s3:GetObject to "*"

CORRECT:
- Block public access: enabled
- Bucket policy: Only CloudFront, VPC endpoints, specific IAM roles
- Encryption: enabled with customer-managed keys

❌ Overly Permissive IAM Policies

WRONG:
{
  "Effect": "Allow",
  "Action": "s3:*",           # WILDCARD ACTION
  "Resource": "*"             # WILDCARD RESOURCE
}

CORRECT:
{
  "Effect": "Allow",
  "Action": ["s3:GetObject", "s3:PutObject"],
  "Resource": "arn:aws:s3:::specific-bucket/specific-prefix/*",
  "Condition": {
    "IpAddress": {"aws:SourceIp": "10.0.0.0/8"}
  }
}

❌ Hardcoded Secrets

WRONG:
const apiKey = "sk_test_123456789abcdef";  // In code or env vars

CORRECT:
// AWS
const secret = await secretsManager.getSecretValue('api-key');

// Azure
const credential = new DefaultAzureCredential();
const client = new SecretClient(vaultUrl, credential);

// GCP
const [version] = await client.accessSecretVersion({name: secretName});

❌ Unencrypted Databases

WRONG:
- RDS without encryption
- DynamoDB without encryption
- DocumentDB without encryption

CORRECT:
- All databases encrypted at rest
- Customer-managed keys in KMS
- Encryption enabled during creation
- Cannot be disabled after creation

❌ Missing HTTPS Enforcement

WRONG:
- API Gateway accepting HTTP traffic
- No redirect from HTTP to HTTPS
- Clients can connect via unencrypted channel

CORRECT:
- API Gateway: minimum TLS 1.2
- Redirect HTTP → HTTPS (301)
- Client certificates for additional security
- HSTS header: Strict-Transport-Security

❌ Exposed Environment Variables

WRONG:
export DATABASE_PASSWORD="MyPassword123"
console.log(process.env.DATABASE_PASSWORD)  # In logs

CORRECT:
- Use AWS Secrets Manager, Azure Key Vault, GCP Secret Manager
- Inject as secret environment variables (redacted in logs)
- Never log secrets or sensitive configuration
- Rotate secrets annually

❌ Missing Network Isolation

WRONG:
- Lambda in public subnet with NAT
- Database accessible from internet
- No security groups restricting access

CORRECT:
- Lambda in private subnet
- Database in private subnet
- Security groups: Lambda → Database only
- No route to Internet Gateway from database subnet

Production Security Checklist

Before deploying to production, verify all items:

Identity & Access

  • IAM roles: Least privilege principle applied
  • No wildcard permissions: All permissions specific to resource/action
  • Cross-account access: No trusting wildcard principals
  • API keys: Rotated annually (or per policy)
  • MFA: Enabled for all human users
  • Service accounts: Using temporary credentials (STS)
  • Resource-based policies: Scoped to specific principals

Secrets Management

  • Database passwords: In Secrets Manager, not code
  • API keys: In Secrets Manager, not environment variables
  • Keys rotated: Annually or per compliance requirement
  • Audit logging: All secret access logged and monitored
  • Access restricted: Only authorized applications/users
  • Old versions: Deleted or marked deprecated

Encryption

  • Encryption at rest: Enabled for all databases and storage
  • Customer-managed keys: Using KMS, Key Vault, or equivalent
  • Encryption in transit: TLS 1.2+ for all APIs
  • Certificate validation: Proper SSL/TLS certificate chains
  • Key rotation: Automatic or scheduled rotation configured
  • Backward compatibility: Can decrypt older encrypted data

Network Security

  • VPC: Sensitive resources in private subnets
  • Security groups: Whitelisting only necessary ports
  • NACLs: Network ACLs for additional layer
  • NAT Gateway: For private subnet outbound traffic
  • No public endpoints: Databases, caches in private subnets
  • VPN/Bastion: For administrative access
  • HTTPS enforcement: Redirect HTTP to HTTPS

Data Protection

  • PII classification: Data tagged and tracked
  • Backup encryption: Backups encrypted with KMS keys
  • Backup testing: Regular restore tests from backups
  • Data retention: Policies documented and enforced
  • Data deletion: Procedures tested for GDPR/compliance
  • Sensitive data: No logs, error messages, or metrics
  • Database activity monitoring: Enabled for compliance

Logging & Monitoring

  • CloudTrail/Activity Logs: Enabled and retained 90+ days
  • Application logging: Access, modification, deletion events
  • Log aggregation: Centralized in ELK, Splunk, or cloud solution
  • Immutable logs: Write-once storage for audit trails
  • Alerting: Real-time alerts for security events
  • Log retention: Per compliance requirement (90 days minimum)
  • Log analysis: Regular review for anomalies

Deployment & CI/CD

  • Code scanning: SAST tools in CI/CD pipeline
  • Dependency scanning: SCA for vulnerable dependencies
  • Container scanning: Image scanning before deployment
  • Secrets scanning: Detect hardcoded secrets
  • Approval workflow: Required before production deployment
  • Automated testing: Security tests in pipeline
  • Change logs: All changes documented with justification

Compliance & Auditing

  • Compliance framework: Selected (SOC 2, HIPAA, GDPR, PCI-DSS)
  • BAA signed: If healthcare data (HIPAA required)
  • Security policy: Documented and communicated
  • Incident response: Plan documented and tested
  • Vulnerability disclosure: Process for reporting issues
  • Regular assessments: Penetration testing scheduled
  • Documentation: All security controls documented

Testing

  • Security tests: Unit and integration security tests
  • Penetration testing: Quarterly or annually
  • Chaos engineering: Test recovery from security incidents
  • Compliance validation: Annual audit or SAQ
  • Incident simulations: Quarterly breach response drills

When to Request Compliance Architecture

Request my help when:

  1. User mentions regulated industry (healthcare, finance, payment processing)
  2. Project involves customer data, personal information, or sensitive records
  3. Requirements specify SOC 2, HIPAA, GDPR, PCI-DSS, or other compliance
  4. User asks about security best practices or data protection
  5. Deployment involves cross-border data transfer

Integration with Security Agent

Coordinate with Security Agent for:

  • Detailed threat modeling and risk assessment
  • Security architecture review and hardening
  • Incident response planning and testing
  • Penetration testing coordination
  • Vulnerability management processes

Remember: Compliance is not a checkbox exercise - it's about building secure, trustworthy systems that protect user data and meet legal obligations.

Project-Specific Learnings

Before starting work, check for project-specific learnings:

# Check if skill memory exists for this skill
cat .specweave/skill-memories/compliance-architecture.md 2>/dev/null || echo "No project learnings yet"

Project learnings are automatically captured by the reflection system when corrections or patterns are identified during development. These learnings help you understand project-specific conventions and past decisions.

平台分布

Claude Code

30.51%
按下载量换算48

Gemini CLI

24.19%
按下载量换算38

Antigravity

18.31%
按下载量换算29

Cursor

13.22%
按下载量换算21

Codex

8.74%
按下载量换算14

OpenCode

3.32%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills