agentleFS
jggomezjggomez/expert-ai-developer-skills/skills/compliance-verifier/SKILL.md

compliance-verifier

Skill30 starsChanged 4 days agoApache-2.0View on GitHub

Guides the final quality assurance and compliance verification of a project. Trigger when checking non-functional requirements, static code analysis, test coverage, and security compliance before release.

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify that 100% of tests pass without skipped or failing assertions.

    line 27
  2. Distinctive:

    Verify dependency vulnerability advisories if new dependencies were introduced.

    line 33
  3. Distinctive:

    Verify adherence to defined Quality Attribute Drivers (QADs) such as latency limits, concurrency models, and resource constraints.

    line 36
  4. Distinctive:

    Check for memory leaks, unclosed streams, unhandled async task rejections, or runaway loops.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “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

Compliance Verifier Skill

Overview

This skill ensures that software deliverables pass all quality gates, static analysis checks, security audits, and non-functional requirements (NFRs) before final merge or release. It acts as the Principal Release & Compliance Auditor, evaluating readiness objectively and issuing formal verdicts (APPROVED or REJECTED with explicit remediation steps).

When to Use

Trigger Scenarios

  • Final quality gate check before merging a Pull Request or cutting a release.
  • Verifying compliance against security benchmarks (OWASP Top 10, secret scanning, credential leaks).
  • Auditing Non-Functional Requirements (latency budgets, concurrency, memory limits, maintainability).
  • Evaluating test coverage and static analysis results across a codebase.

When NOT to Use

  • Active implementation and coding: Route to code-implementer or test-driven-development.
  • Authoring E2E test scenarios: Route to qa-tester.
  • Drafting Architectural Decision Records: Route to senior-architect-engineering.
  • Trivial standalone typo fixes: Quick manual verification is sufficient.

Process

Phase 1: Code Quality & Static Analysis Audit

  1. Execute repository linters, type-checkers, and style formatters (e.g., ruff, mypy, eslint, dart analyze).
  2. Verify that 100% of tests pass without skipped or failing assertions.
  3. Review test coverage reports to ensure critical business logic is covered.

Phase 2: Security & Secret Leak Audit

  1. Scan the repository and diff for exposed credentials, tokens, or private keys.
  2. Inspect data access and query patterns for injection flaws (SQL, command injection) or broken authorization checks.
  3. Verify dependency vulnerability advisories if new dependencies were introduced.

Phase 3: Non-Functional Requirements (NFR) Validation

  1. Verify adherence to defined Quality Attribute Drivers (QADs) such as latency limits, concurrency models, and resource constraints.
  2. Check for memory leaks, unclosed streams, unhandled async task rejections, or runaway loops.

Phase 4: Formal Audit Verdict

Issue an official audit report:

  • APPROVED: Issued only when all quality gates, security scans, and tests pass completely.
  • REJECTED: Issued if any critical vulnerability, test failure, or NFR violation is detected, accompanied by numbered, actionable remediation instructions.

Usage

Verification Commands

# Example static analysis and security checks
ruff check .
mypy .
pytest --cov=. --cov-fail-under=80

Example Prompts

  • "Run a full compliance audit on this PR branch: check test coverage, static analysis, secret scans, and NFRs."
  • "Verify if our new authentication endpoint complies with OWASP guidelines and project security standards."
  • "Audit the repository before release and provide a formal APPROVED/REJECTED verdict with findings."

Host Execution Instructions

  • Claude Code: Direct the agent to execute test and linting commands, review outputs, and formulate the compliance report.
  • Antigravity: Launch as the final compliance subagent (compliance-verifier) before closing a development loop or merging.

Red Flags

  • Issuing an APPROVED verdict without executing test suites or linters.
  • Treating hardcoded secrets or disabled lint rules as acceptable "temporary" debt.
  • Ignoring test coverage drops or unhandled edge cases.
  • Issuing a REJECTED verdict without providing clear, actionable remediation steps.

Verification

  • 100% of automated tests pass cleanly with zero failures.
  • Linters and type checkers report zero errors or unhandled warnings.
  • Secret scanner detects zero leaked API keys, tokens, or credentials.
  • NFRs and performance criteria verified against project specifications.
  • Formal audit report produced with an unambiguous APPROVED or REJECTED verdict.

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.

Reviews can't be read right now.

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.