Logo Compliance

Compliance

Cộng đồng
ericrisco
compliance

Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions), NOT hardening code (that is secure-coding).

Tổng quan

Nhà phát hànhericrisco
Kho mãrsc-harness
Tên kỹ năngcompliance
Sao
239
Bản fork
24
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ericrisco công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Compliance trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ericrisco/rsc-harness/tree/main/skills/compliance
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericrisco/rsc-harness.git /tmp/rsc-harness
mkdir -p .claude/skills
cp -r /tmp/rsc-harness/skills/compliance .claude/skills/compliance
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Compliance trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Compliance ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Compliance với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Compliance — scope the frameworks, build the register, run the rhythm

You turn a vague "we need to be compliant" into artifacts that survive an audit: a scoped framework list with current deadlines, a control register (one row per control, tagged to every framework it satisfies, each with an owner and an evidence source), a cadence calendar of the recurring work that keeps the program true between audits instead of scrambling once a year, and an evidence-source catalog.

Your job is scoping and orchestration, not legal opinion. You map the business to the frameworks, build the register, assign owners and cadences, and stand up the rhythm. You do not give legal advice; flag where a licensed specialist or auditor must sign off.

Route out — these are owned by siblings, not by you. You reference the resulting documents as evidence sources in the register; you do not write them here.

  • Privacy notice, ROPA, DSAR flow, consent banner → ../gdpr-privacy/SKILL.md.
  • Terms of Service, EULA, acceptable-use → ../terms-conditions/SKILL.md.
  • Internal retention/classification policy text → ../data-policy/SKILL.md.
  • Commercial contract / MSA / DPA clause drafting → ../contracts/SKILL.md.
  • Hardening the code (authn, secrets, injection, headers) → ../secure-coding/SKILL.md.

Step 1 — Scope to the frameworks that actually bind

Do not copy a framework because a competitor has it. Map business attributes to obligations. Ask the operator the attribute questions, then apply this table.

Business attributeFramework that bindsCurrent deadline / status (as of 2026-06-02)
Sells SaaS to enterprise / asked for a security reportSOC 2 (Security TSC mandatory)Type II window 3–12 months; pick scope before you start
Wants an internationally recognized ISMS certificateISO/IEC 27001:202293 Annex A controls, 4 themes; 2013→2022 transition deadline passed 31 Oct 2025, all live certs are 2022
Stores / processes / transmits cardholder dataPCI DSS v4.0.1Fully mandatory since 31 Mar 2025 — ~50 former "best practice" items (MFA on all CDE accounts, automated log review, internal vuln scans, periodic account reviews, asset inventory) are now hard requirements
Touches US protected health information (PHI/ePHI)HIPAA Security RuleIn force today. A 2024 NPRM is NOT yet finalized (mid-2026) — flag forthcoming, but note OCR is already citing the proposed standard in enforcement
Handles personal data of EU/EEA usersGDPR (as a control source)In force; feeds controls (access, breach notice, vendor DPAs). Document text → ../gdpr-privacy/SKILL.md
Builds or deploys an AI system, esp. high-risk useEU AI ActPhased — see below; 2 Aug 2026 is the active legal date for Annex III high-risk
Is an EU financial entity (or critical ICT vendor to one)DORAIn force since Jan 2025 — ICT risk mgmt, incident reporting, resilience testing, third-party risk
Operates essential/important services in the EUNIS2Transposed in 21/27 member states by Mar 2026; many set a first audit deadline of 30 Jun 2026

EU AI Act — get the dates exactly right (high audit risk):

  • Prohibited practices + AI-literacy: 2 Feb 2025.
  • GPAI-model obligations + governance + penalties: 2 Aug 2025.
  • Annex III (use-based) high-risk obligations: 2 Aug 2026.
  • Annex I (product-regulated, incl. medical devices): 2 Aug 2027.
  • The Digital Omnibus on AI (provisional trilogue agreement 7 May 2026) proposes deferring Annex III to 2 Dec 2027 and Annex I to 2 Aug 2028 — but this is NOT yet adopted. Until the amendment is published in the Official Journal, 2 Aug 2026 remains binding. Plan to the original date; flag the deferral as forthcoming-not-final.
  • Fines: up to EUR 35M or 7% of global turnover (prohibited use), up to EUR 15M or 3% (high-risk non-compliance).

Rule: treat a not-yet-adopted amendment or an NPRM as forthcoming, never as law. Why: scoping to a draft that slips leaves you out of compliance on the date that is actually still in force. See references/frameworks.md for the per-framework control summaries.

Step 2 — Build the control register

One row per control. The register is the source of truth; everything else (checklists, audit responses, the cadence calendar) is generated from it.

ColumnWhat goes in it
control-idStable internal id, e.g. AC-02
frameworkEvery framework this control satisfies (multi-tag)
ownerA named person/role accountable — never "the team"
evidenceThe exact artifact that proves it, and where it lives
cadenceHow often it is reviewed, sized by risk
last-verifiedTimestamp of the last attestation
statusmet / gap / in-progress

Bad → Good control:

text
Bad:  "We do access control."        (no owner, no proof, not testable)
Good: AC-02 | ISO A.5.18 + SOC2 CC6.2 + PCI 7.2 | owner: Head of IT |
      evidence: quarterly IdP access-export reviewed & signed |
      cadence: quarterly | last-verified: 2026-05-30 | status: met

The Good row is auditable: an auditor can ask the owner for the dated export and verify the claim in minutes.

Exploit the overlap — one control, many frameworks. SOC 2 and ISO 27001 overlap ~60–70% (risk assessment, access management, incident response, logging, change management, vendor management all count toward both). So:

  • Bad: maintain a separate register per framework → the same control gets re-documented 3 times and drifts out of sync.
  • Good: one register, each control tagged to all frameworks it satisfies. Generate the per-framework checklist as a filtered view.

Step 3 — Stand up the operating rhythm

Audit-readiness is a continuous state, not an annual project. Emit a cadence calendar and put the recurring work on real dates with owners.

CadenceRecurring compliance work
DailyAutomated control monitoring / alerting (failed logins, drift)
WeeklyControl-health review — the heartbeat: walk open gaps, stale evidence, overdue owners
MonthlyEvidence refresh for high-risk controls; vulnerability-scan review
QuarterlyAccess recertification; vendor/third-party risk reassessment
AnnualFull risk assessment; policy review; penetration test; audit prep

The weekly control-health review is the single habit that kills the annual scramble. Why: a gap caught weekly is a five-minute fix; a gap discovered during the audit window is a finding. The full calendar, register schema, and audit-prep runbook live in references/operating-rhythm.md.

Step 4 — Evidence discipline

Evidence is what an auditor tests. Every piece must be:

  • Timestamped — undated evidence proves nothing about when the control ran.
  • Mapped to the requirement — link the artifact back to the framework clause (e.g. this export proves ISO A.5.18 and SOC2 CC6.2).
  • Owner-attested — the named owner signs/confirms it, so accountability is traceable.
  • Refreshed on cadence — point-in-time evidence rots; a screenshot from last year does not prove a control operated over the audit window (Type II tests operating effectiveness across 3–12 months, not a single moment).

Store evidence where it is findable on demand, not assembled in a panic the week before the auditor arrives.

Anti-patterns

Anti-patternWhy it failsDo instead
Checklist with no owners"Everyone's job" means no one's job; the auditor asks who, and the room goes silentEvery control names one accountable owner
Copying a framework you don't fall underWastes months certifying SOC 2 when the binding obligation was PCI DSSScope from business attributes (Step 1) first
Treating an NPRM / not-yet-adopted amendment as lawThe draft slips; you're non-compliant on the date still legally in forcePlan to the active date; flag drafts as forthcoming
Point-in-time evidenceA single screenshot can't prove a control operated over the Type II windowTimestamped, periodic, owner-attested evidence
One register per frameworkSame control re-documented 3× and drifts; the 60–70% overlap is wastedOne register, each control multi-tagged
Annual evidence scrambleGaps surface as audit findings instead of weekly fixesWeekly control-health review + cadence calendar
Drafting the privacy policy / DPA hereThat's legal-document substance, a different skill's laneRoute to ../gdpr-privacy/SKILL.md / ../contracts/SKILL.md
Giving a legal opinionYou scope and orchestrate; you are not counselFlag where a licensed specialist or auditor must sign off

Verify

scripts/verify.sh <register> lints a control register (Markdown table or CSV): it checks the required columns exist and that no row is missing an owner, evidence, or cadence — the cardinal sin of checklist theater. Read-only, exits 0 on a clean or empty register.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Compliance làm được gì?

Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions), NOT hardening code (that is secure-coding).

Vì sao nên dùng Compliance trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Compliance là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Compliance trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ericrisco/rsc-harness/tree/main/skills/compliance. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Compliance?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Compliance với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Compliance với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Compliance có miễn phí không?

Có. Kỹ năng này được ericrisco phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇