agentleFS
KadirHarmancKadirHarmanc/nazar-skill/skills/compliance/SKILL.md

compliance

Skill0 starsChanged 8 months agoMITView on GitHub

Check regulatory compliance (GDPR, SOC2, PCI-DSS, HIPAA). Use when user says 'compliance check', 'GDPR kontrol', 'KVKK', 'SOC 2', 'PCI-DSS', 'HIPAA', 'uyumluluk kontrol', 'regulatory check'.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user explicitly mentions GDPR, KVKK, SOC 2, PCI-DSS, or HIPAA, use that framework.

    line 12
  2. Distinctive:

    If the user says "compliance check" without specifying, detect the relevant framework:

    line 15
  3. Distinctive:

    If multiple frameworks are relevant, ask the user which to prioritize or offer to run all applicable frameworks.

    line 45
  4. Distinctive:

    Read the corresponding framework file:

    line 49
  5. Very specific:

    GDPR/KVKK: Read skills/compliance/frameworks/gdpr.md

    line 51
  6. Distinctive:

    COMPLIANT: All criteria met

    line 64
  7. Distinctive:

    NOT APPLICABLE: Check does not apply to this project

    line 67
  8. Distinctive:

    After the report, suggest:

    line 134
  9. Distinctive:

    Consider the project's deployment environment (cloud provider, region) for compliance context.

    line 143
  10. Distinctive:

    Do not report compliance for items you cannot verify from code alone.

    line 146

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Nazar Compliance Check Skill

You are performing a regulatory compliance audit at the code level. Follow these instructions systematically.

Step 1: Determine Compliance Framework

Option A: User specifies a framework If the user explicitly mentions GDPR, KVKK, SOC 2, PCI-DSS, or HIPAA, use that framework.

Option B: Auto-detect from project context If the user says "compliance check" without specifying, detect the relevant framework:

  1. GDPR/KVKK indicators:
    • European user base (.eu, .de, .fr, .tr domains)
    • Cookie consent implementation
    • Privacy policy references
    • Data export/deletion features
    • Turkish language content (KVKK)
    • EU/TR payment processors
  2. SOC 2 indicators:
    • SaaS application
    • Multi-tenant architecture
    • Enterprise customer features
    • Audit logging
    • SSO/RBAC implementation
  3. PCI-DSS indicators:
    • Payment processing (Stripe, Braintree, PayPal)
    • Credit card data handling
    • E-commerce functionality
    • Card number fields/patterns
  4. HIPAA indicators:
    • Health/medical data fields
    • Patient records
    • HL7/FHIR references
    • Healthcare terminology
    • PHI/ePHI references

If multiple frameworks are relevant, ask the user which to prioritize or offer to run all applicable frameworks.

Step 2: Load the Framework Reference

Read the corresponding framework file:

  • GDPR/KVKK: Read skills/compliance/frameworks/gdpr.md
  • SOC 2: Read skills/compliance/frameworks/soc2.md
  • PCI-DSS: Read skills/compliance/frameworks/pci-dss.md
  • HIPAA: Read skills/compliance/frameworks/hipaa.md

Step 3: Systematic Compliance Check

For each check item in the loaded framework:

  1. Run all grep patterns from the framework item against the project codebase using the Grep tool.
  2. For each match, use Read to examine context (at least 15 lines).
  3. Apply pass/fail criteria from the framework to determine compliance status.
  4. Classify each item:
    • COMPLIANT: All criteria met
    • PARTIAL: Some criteria met, gaps identified
    • NON-COMPLIANT: Criteria not met, significant gaps
    • NOT APPLICABLE: Check does not apply to this project

Step 4: Generate Compliance Report

Present findings in this format:

## Compliance Audit Report

**Framework:** [GDPR/KVKK | SOC 2 Type II | PCI-DSS v4.0 | HIPAA]
**Project:** [project name]
**Audit Date:** [current date]

### Compliance Summary

| # | Check Item | Status | Risk Level |
|---|-----------|--------|------------|
| 1 | [item name] | COMPLIANT/PARTIAL/NON-COMPLIANT/N/A | HIGH/MEDIUM/LOW |
| 2 | ... | ... | ... |

**Overall Score:** X/Y checks compliant (Z%)

---

### Detailed Findings

#### 1. [Check Item Name]

**Status:** COMPLIANT / PARTIAL / NON-COMPLIANT / NOT APPLICABLE

**Evidence Found:**
- [What was found in the codebase, with file:line references]

**Gaps Identified:**
- [What is missing or insufficient]

**Risk Assessment:**
- Likelihood: [HIGH/MEDIUM/LOW]
- Impact: [HIGH/MEDIUM/LOW]
- Risk Level: [CRITICAL/HIGH/MEDIUM/LOW]

**Remediation:**
- [Specific steps to close the gap]
- [Code example if applicable]

**Priority:** P1/P2/P3/P4

---

[Repeat for each check item]

### Compliance Gap Analysis

| Gap | Risk | Remediation | Effort | Priority |
|-----|------|-------------|--------|----------|
| ... | ... | ... | Low/Med/High | P1-P4 |

### Recommendations

1. **Immediate (P1):** [Critical gaps that must be addressed now]
2. **Short-term (P2):** [High-risk gaps for next sprint]
3. **Medium-term (P3):** [Medium-risk improvements]
4. **Long-term (P4):** [Best practice enhancements]

Step 5: Offer Next Steps

After the report, suggest:

  • "Use /nazar:security-audit for a deeper OWASP security analysis"
  • "Use /nazar:fix to auto-fix applicable compliance gaps"
  • Specific third-party tools for advanced compliance testing

Important Notes

  • Compliance is not just a code-level concern. Note when organizational/process controls are needed beyond code.
  • Be specific about what constitutes compliance vs. non-compliance for each check.
  • Consider the project's deployment environment (cloud provider, region) for compliance context.
  • For GDPR/KVKK: consider both the technical implementation and the legal requirements.
  • For HIPAA: clearly distinguish between Required and Addressable specifications.
  • Do not report compliance for items you cannot verify from code alone; note them as "Requires organizational verification".
  • Provide actionable, specific remediation steps with code examples where possible.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.