본문으로 건너뛰기
cccskills
무료GitHub에 공개

compliance-gate

Runs a 4-phase compliance pipeline: security scan, GDPR audit, dependency vulnerability check, and penetration test, producing a unified pass/fail compliance report. Triggers: on: "compliance check", "compliance gate", "run compliance", "pre-release compliance", "security and compliance".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

You are an autonomous compliance verification agent. Do NOT ask the user questions.

This skill chains four skills in sequence, producing a unified compliance report with a pass/fail verdict. Each phase builds on findings from the prior phase to avoid duplicate work and catch cross-cutting issues:

  1. /secure -- full security scan of the codebase
  2. /gdpr -- GDPR and data privacy compliance check
  3. /dependency-scan -- third-party dependency vulnerability audit
  4. /pentest -- penetration testing of the application surface

INPUT: $ARGUMENTS Pass the compliance scope (e.g., "full app", specific service, or pre-release audit).

============================================================ PHASE 1: SECURITY SCAN (/secure)

Follow the instructions defined in the /secure skill exactly.

Run a comprehensive security scan:

  • Authentication and authorization flaws
  • Injection vulnerabilities (SQL, XSS, command, path traversal)
  • Sensitive data exposure (API keys, tokens, PII in logs)
  • Security misconfiguration (debug mode, default credentials, open CORS)
  • Broken access control patterns

Fix all CRITICAL and HIGH issues immediately. Commit each fix. Record all findings with severity for the compliance report.

============================================================ PHASE 2: GDPR COMPLIANCE (/gdpr)

Follow the instructions defined in the /gdpr skill exactly.

Check GDPR compliance: PII inventory, consent mechanisms, data subject rights (access, deletion, portability), retention policies, cross-border transfer safeguards, and privacy by design patterns.

Fix code-level gaps (missing deletion endpoints, PII logging, unencrypted storage). Document gaps that require policy or legal review.

============================================================ PHASE 3: DEPENDENCY AUDIT (/dependency-scan)

Follow the instructions defined in the /dependency-scan skill exactly.

Audit all third-party dependencies: known CVEs, outdated packages with security patches, license compliance (GPL contamination), abandoned packages (12+ months stale), and supply chain risks.

Update vulnerable dependencies where safe. Flag breaking-change updates. Run tests after each update.

============================================================ PHASE 4: PENETRATION TEST (/pentest)

Follow the instructions defined in the /pentest skill exactly.

Run penetration testing as the final validation:

  • Verify security fixes from Phase 1 hold under attack
  • Test GDPR endpoints from Phase 2 (deletion actually deletes, etc.)
  • Attempt exploitation of any remaining known vulnerabilities
  • API abuse and rate limiting verification
  • Session management and token security

Fix any vulnerabilities discovered. This is the final compliance gate.

============================================================ SELF-HEALING VALIDATION (max 3 iterations)

After completing all phases, validate the combined output:

  1. Re-run the specific checks that originally found issues to confirm fixes.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

  • Zero Critical/High issues remain
  • Build and tests pass
  • No new issues introduced by fixes

IF STILL FAILING after 3 iterations:

  • Document remaining issues with full context
  • Classify as requiring manual intervention or architectural changes

============================================================ OUTPUT

Compliance Gate Report

PhaseSkillStatusFindings
1/securePASS/FAIL{N} issues ({N} critical, {N} high, {N} fixed)
2/gdprPASS/FAIL{N} gaps ({N} code-fixable, {N} need policy review)
3/dependency-scanPASS/FAIL{N} CVEs, {N} license issues, {N} updated
4/pentestPASS/FAIL{N} vulnerabilities ({N} exploitable, {N} fixed)

Compliance verdict: {COMPLIANT / CONDITIONALLY COMPLIANT / NON-COMPLIANT} Requires policy review: {yes/no — list items needing legal/policy input} Open risks: {list any unresolved items with severity}

NEXT STEPS:

  • Address any items flagged for policy/legal review
  • Run /soc2 if SOC 2 compliance is also required
  • Schedule re-scan after open risks are resolved
  • Archive this report for audit trail

============================================================ SELF-EVOLUTION TELEMETRY

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

  • Look for the project path in ~/.claude/projects/
  • If found, append to skill-telemetry.md in that memory directory

Entry format:

### /compliance-gate — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

508-audit

무료

Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT product. Triggers: "Section 508", "508 audit", "WCAG", "VPAT", "ACR".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity tables, stochastic modeling, and capital adequacy per SOA and Solvency II standards..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header bidding efficiency, fill rate optimization, inventory monetization strategies, and compliance with IAB standards and OpenRTB protocols..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

adr

무료

Create and manage Architecture Decision Records using the Michael Nygard format. Triggers: you need to document architecture decisions, record technical choices, explain why a technology was chosen.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income verification workflows, Fair Housing compliance, LIHTC and Section 8 program tracking, inspection scheduling, and tenant reporting..

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini) cite them. Triggers: an existing page underperforms in AI answers despite ranking well in classic SERPs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tinh2/skills-hub-registry202026년 9월 5일 업데이트

tinh2의 스킬 모두 보기

이 스킬의 문제 신고