Sponsor Suno AI Music arrow_forward
Slash Command

Compliance Docs Generate

Generates compliance documentation for HIPAA, GDPR, PCI DSS, and SOC 2

Type
Slash Command
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026

What Compliance Docs Generate is

Compliance Docs Generate is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.

Compliance Docs Generate gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.

How to install Compliance Docs Generate

Claude Code

  1. Download compliance-docs-generate.md from the repository.
  2. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
  3. Run it by typing / followed by its name.

Claude Cowork

  1. Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
  2. In Customize → Skills, click +, then upload the ZIP.
  3. Run it from any task with / and the skill name.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/packages/security-pro-pack/plugins/02-compliance/commands/compliance-docs-generate.md, shared under the repository's MIT license. Read the full file on GitHub.

Automatically generates comprehensive compliance documentation including policies, procedures, data flow diagrams, and audit-ready reports for HIPAA, GDPR, PCI DSS, and SOC 2.

What This Command Does

Instant Compliance Documentation:

  • Generates framework-specific policies and procedures
  • Creates data flow and network diagrams
  • Produces risk assessment templates
  • Builds audit-ready documentation packages
  • Customizes for your organization

Output: Complete compliance documentation package

Time: 15-30 minutes (vs weeks of manual writing)

When to Use This Command

Perfect For:

  • Preparing for compliance audit
  • Starting compliance program
  • Customer compliance questionnaire responses
  • RFP security documentation requirements
  • Annual compliance documentation updates

Use This When:

  • Customer requests security documentation
  • Auditor asks for policies and procedures
  • Board asks for compliance status
  • Building compliance program from scratch
  • Updating existing documentation

Usage

# Generate HIPAA documentation
/compliance-docs-generate --framework hipaa

# Generate GDPR documentation
/compliance-docs-generate --framework gdpr

# Generate PCI DSS documentation
/compliance-docs-generate --framework pci

# Generate SOC 2 documentation
/compliance-docs-generate --framework soc2

# Generate all frameworks
/compliance-docs-generate --framework all

# Customize with organization details
/compliance-docs-generate --framework hipaa --org "HealthCare Inc"

Shortcut:

/cdg --framework hipaa  # Generate HIPAA docs

Generated Documentation

HIPAA Documentation Package

Policies (12 documents):

  1. Security Management Process Policy
  2. Workforce Security Policy
  3. Information Access Management Policy
  4. Security Awareness and Training Policy
  5. Security Incident Response Policy
  6. Contingency Planning Policy
  7. Access Control Policy
  8. Audit Control Policy
  9. Integrity Control Policy
  10. Authentication Policy
  11. Transmission Security Policy
  12. Business Associate Agreement Template

Procedures (8 documents):

  1. Risk Assessment Procedure
  2. Risk Management Procedure
  3. Security Incident Response Procedure
  4. Workforce Termination Procedure
  5. Emergency Access Procedure
  6. Password Management Procedure
  7. Data Backup and Recovery Procedure
  8. Breach Notification Procedure

Diagrams (3 visualizations):

  1. Data Flow Diagram (PHI through systems)
  2. Network Architecture Diagram
  3. Incident Response Flowchart

Risk Assessment:

  1. Risk Analysis Template
  2. Risk Register
  3. Risk Treatment Plan

Example Output:

# HIPAA Security Management Process Policy

**Document Owner:** Chief Information Security Officer
**Version:** 1.0
**Effective Date:** October 10, 2025
**Review Cycle:** Annual

## 1. Purpose

This policy establishes the framework for identifying, analyzing, and managing risks to the confidentiality, integrity, and availability of electronic Protected Health Information (ePHI) in compliance with HIPAA Security Rule §164.308(a)(1).

## 2. Scope

This policy applies to:
- All workforce members (employees, contractors, volunteers)
- All systems storing, processing, or transmitting ePHI
- All third-party business associates handling ePHI
…

GDPR Documentation Package

Policies (8 documents):

  1. Data Protection Policy
  2. Privacy Policy (Public-Facing)
  3. Data Retention Policy
  4. Data Breach Response Policy
  5. Data Subject Rights Policy
  6. Consent Management Policy
  7. Data Transfer Policy
  8. Data Processing Agreement Template

Procedures (6 documents):

  1. Data Subject Access Request (DSAR) Procedure
  2. Right to Erasure Procedure
  3. Data Breach Notification Procedure
  4. Data Protection Impact Assessment (DPIA) Procedure
  5. Vendor Assessment Procedure
  6. Data Inventory Procedure

Registers (3 tracking documents):

  1. Data Processing Register (Article 30)
  2. Consent Register
  3. DSAR Request Log

Example GDPR Document:

# Data Subject Access Request (DSAR) Procedure

## 1. Purpose

To establish a procedure for handling Data Subject Access Requests (DSARs) in compliance with GDPR Article 15 (Right of Access).

## 2. Scope

This procedure applies to all requests from data subjects exercising their right to access personal data held by [Company Name].

## 3. DSAR Receipt

### 3.1 Recognition
DSARs may be received via:
- Email to [email protected]
- Written mail to registered office
- Through website privacy portal
- Verbal request (must be documented)
…

DSAR Received ↓ Log in DSAR Register ↓ Verify Identity ↓ Search All Systems ↓ Compile Personal Data ↓ Redact Third-Party Data ↓ Legal Review ↓ Generate DSAR Response ↓ Deliver to Data Subject ↓ Update DSAR Register


## 7. System Search

**Systems to Search:**
- Production database
- CRM system
- Email archives
- Support ticket system
- Marketing platform
- Analytics platform
- Third-party processors (AWS, Stripe, SendGrid)

**Search Criteria:**
- Name
- Email address
- Phone number
- User ID
- IP address
…

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Compliance Docs Generate?

Compliance Docs Generate is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Generates compliance documentation for HIPAA, GDPR, PCI DSS, and SOC 2

How do I install Compliance Docs Generate in Claude Code?

Download compliance-docs-generate.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.

Can I use Compliance Docs Generate in Claude Cowork?

Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.

Is Compliance Docs Generate safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.