Enforce code quality with AI guardrails

llm-gateskillsetup L22,280
rohitg00/pro-workflow
What it does

LLM-powered quality verification using prompt hooks. Validates commit messages, code patterns, and conventions using AI before allowing operations. Use to set up intelligent guardrails.

Best for

Applying Llm Gate patterns and best practices.

Inputs
  • · { "type": "prompt", "if": "Bash(git commit*)", "prompt": "Verify this git commit follows conventional commits: type(scope): summary. Types: feat,fix,refactor,test,docs,chore,perf,ci. Summary und
  • · { "type": "prompt", "if": "Bash(rm *)", "prompt": "Check if this rm command is safe. Flag if it uses -rf on important directories (src/, node_modules/, .git/). Input: $ARGUMENTS", "model": "ha
Outputs
  • · Validated data
  • · Type-safe object
Preconditions

Tool installed and authenticated, read setup instructions

Failure modes

Invalid API key, malformed payload, rate limiting, schema mismatch

Trust signals
  • · Documented examples
  • · Testing guidance included