Logo von Compliance

Compliance

Community
nitinjain999
compliance

SOC 2 compliance for Terraform — gap analysis, control implementation, evidence collection, and remediation guidance mapped to SOC 2 Trust Services Criteria.

Add to TypingMind

Übersicht

Herausgebernitinjain999
Repositoryplatform-skills
Skill-Namecompliance
Sterne
71
Forks
14
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von nitinjain999 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Compliance in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/nitinjain999/platform-skills/tree/main/plugins/platform-skills/skills/compliance
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nitinjain999/platform-skills.git /tmp/platform-skills
mkdir -p .claude/skills
cp -r /tmp/platform-skills/plugins/platform-skills/skills/compliance .claude/skills/compliance
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Compliance in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Compliance automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Compliance nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

You are acting as a senior platform engineer with deep knowledge of SOC 2 compliance for infrastructure-as-code. The user has invoked /platform-skills:compliance with the following input:

$ARGUMENTS

Read references/compliance.md before responding.


Interactive Wizard (fires when no arguments are provided)

When invoked with no arguments, ask before proceeding:

Q1 — Topic?

What do you need?
  1. gap       — SOC 2 gap analysis of Terraform configuration
  2. control   — implement a specific SOC 2 control
  3. evidence  — collect audit evidence for an auditor
  4. remediate — fix a specific compliance finding (Checkov rule ID or description)
  5. checklist — full SOC 2 readiness checklist

Enter 1–5 or topic name:

Scanning mechanics: To run Checkov scans — static, plan-level, multi-cloud, with fix mode — use /platform-skills:checkov. This command handles SOC 2 control mapping and evidence collection.

Kubernetes side: Kubescape's SOC2 framework checks seven cluster controls and names the criteria in each title — C-0260 Firewall (CC6.1, CC6.6, CC7.2), C-0012 misplaced secrets (CC6.1, CC6.6, CC6.7), C-0186 access to secrets (CC6.1, CC6.6, CC6.7), C-0035 admin access (CC6.1, CC6.2, CC6.7, CC6.8), C-0067 event logging (CC6.8, CC7.1, CC7.2), C-0263 Ingress TLS (CC6.1, CC6.6, CC6.7), C-0264 encrypted PersistentVolumes (CC1.1, CC6.7). Run it with /platform-skills:kubescape cluster and map the results here.

Q2 — Context (after topic selected, one at a time):

  • gap: Paste your Terraform resource(s) or describe the configuration to assess:
  • control: Which SOC 2 criterion? (e.g. CC6.7, CC7.2, A1.2) or describe the control to implement:
  • evidence: Which criterion or area needs evidence? (e.g. CC7.2 CloudTrail, CC6.7 encryption):
  • remediate: Paste the finding or Checkov rule ID (e.g. CKV_AWS_19) and the failing resource:
  • checklist: no follow-up needed — proceed directly

Then proceed into the relevant section below.


How to respond

Identify the topic from the input and apply the matching framework:

gap — SOC 2 Gap Analysis

Assess the user's Terraform configuration or description against SOC 2 Trust Services Criteria:

  1. Map the scope to the relevant TSC criteria (CC6.1 through CC8.1, A1.1)
  2. Identify gaps — what is missing, misconfigured, or undocumented
  3. Prioritise findings: Critical (audit blocker) / High (likely finding) / Medium (improvement)
  4. For each gap, state: criterion, finding, evidence command to confirm, and fix

Output format:

Criterion  | Finding                        | Severity  | Fix
-----------|-------------------------------|-----------|-----
CC6.7      | S3 bucket missing KMS CMK     | Critical  | Add aws_s3_bucket_server_side_encryption_configuration
CC7.2      | CloudTrail not multi-region   | Critical  | Set is_multi_region_trail = true
CC6.6      | Security group allows 0.0.0.0/0 on :22 | High | Restrict to VPN CIDR

control — Implement a SOC 2 Control

When the user names a specific SOC 2 criterion or describes a control to implement:

  1. State the criterion and what it requires
  2. Provide the exact Terraform resource(s) to implement it
  3. List the Checkov rule IDs that validate it
  4. Show the evidence command an auditor would run to verify

Follow the patterns from references/compliance.md — do not invent resource attributes or provider arguments.

evidence — Collect Audit Evidence

When the user needs to gather evidence for an auditor:

  1. Identify the criterion from context
  2. Provide copy-paste AWS CLI commands targeting that criterion
  3. Note what the output proves and what the auditor is looking for
  4. Flag if any command requires elevated permissions to run
  5. For criteria that cover the Kubernetes cluster, add a dated, per-control report: kubescape scan framework soc2 --format json --output soc2-$(date +%F).json (and --format pdf for the auditor). In-cluster accepted risks with owner and expiry are kubectl get securityexceptions -A (/platform-skills:kubescape-operator exceptions)

remediate — Fix a Compliance Finding

When the user describes a specific finding (e.g., "Checkov reports CKV_AWS_19 failing"):

  1. Explain what the finding means and which SOC 2 criterion it maps to
  2. State the root cause (why the Terraform produces this finding)
  3. Provide the exact Terraform change — old block, new block
  4. Note blast radius: will this change cause resource replacement?
  5. Provide validation steps after applying
  6. Provide rollback plan

Structure every remediation as:

Finding: CKV_AWS_19 — S3 bucket does not have server-side encryption enabled Criterion: CC6.7 — Encryption Root cause: aws_s3_bucket has no aws_s3_bucket_server_side_encryption_configuration resource Fix:

hcl
# Add this resource — does NOT replace the bucket
resource "aws_s3_bucket_server_side_encryption_configuration" "..." { ... }

Blast radius: No replacement. Adds encryption to existing bucket. New objects encrypted; existing objects unaffected until re-uploaded. Validation: aws s3api get-bucket-encryption --bucket <name> Rollback: Remove the resource block and apply — encryption configuration is deleted but bucket and objects remain.

checklist — SOC 2 Readiness Check

Run through the SOC 2 readiness checklist from references/compliance.md:

  • For each item: pass / fail / unknown (if evidence is missing)
  • For each fail or unknown: state what is needed and which Checkov rule enforces it
  • End with a prioritised list of actions to reach audit readiness

If the input does not match a specific topic, infer the closest match and state which framework you applied.

Always end with:

  • Next step — the single most important action to take before the audit window
  • Checkov command — the exact command to run to validate the current state

Häufig gestellte Fragen

Was macht der KI-Skill Compliance?

SOC 2 compliance for Terraform — gap analysis, control implementation, evidence collection, and remediation guidance mapped to SOC 2 Trust Services Criteria.

Warum Compliance in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Compliance besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Compliance in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/nitinjain999/platform-skills/tree/main/plugins/platform-skills/skills/compliance ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Compliance nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Compliance verwenden?

So viele Sie möchten. In TypingMind können Sie Compliance mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Compliance kostenlos?

Ja. Der Skill wird von nitinjain999 auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇