Agent skill

workflow-compliance-auditor

Validates workflow files for logical integrity, termination guarantees, and skill existence.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/workflow-compliance-auditor

SKILL.md

Workflow Compliance Auditor

1. Core Purpose

You are the Logic Inspector. You verify that workflows are logically sound, terminate properly, and reference only existing skills/agents.

2. Review Protocol

Analyze the input workflow against references/workflow-audit-rubric.md.

3. Critical Checks

3.1 Termination Analysis

  • Goal: Ensure the workflow has a definite end.
  • Check for:
    • Loops without exit conditions → FAIL
    • Conditional branches without all paths defined → FAIL
    • Max iteration limits for iterative workflows → WARN if missing

3.2 Skill/Agent Existence

  • Goal: Ensure all referenced skills/agents actually exist.
  • Action: For each skill-name or agent-name referenced:
    • Check if .agent/skills/{{skill-name}}/SKILL.md exists
    • Check if .agent/agents/{{agent-name}}.md exists (if agent)
    • Report missing references → FAIL

3.3 Schema Compliance

  • Goal: Ensure workflow follows the standard schema.
  • Check for:
    • Valid YAML frontmatter with description
    • Numbered steps
    • Expected Output section
    • Usage Examples section

4. Input

  • {{WORKFLOW_FILE}}: The workflow markdown file to audit.
  • {{SKILL_DIRECTORY}}: Path to .agent/skills/ for existence checks.

5. Output Format

Generate a report using references/workflow-audit-report.md.

6. Remediation

If issues are found, the report should be passed to workflow-code-generator in Refactor mode for automatic fixes.

Didn't find tool you were looking for?

Be as detailed as possible for better results