eliyce/paqad-ai/guard-inference

Claude Code and agent skill by eliyce/paqad-ai

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Finds and evidences the guards that gate surfaces and transitions (permissions, roles, feature flags, auth and data states) and how each is satisfied, never inventing protection the code does not enforce. Use when modeling is done, beside transition-tracing.

Install

npx vskill@latest install eliyce/paqad-ai/guard-inference

SKILL.md

The same SKILL.md was published earlier as eliyce/paqad-ai/guard-inference.

What It Does

Adds the access-control layer: the guards that decide who may reach a surface or take a transition, and the satisfy_via that says how a guard is met. Runs in parallel with transition-tracing over the same modeled surfaces. A guard is recorded only where the code enforces it: an inferred guard the code does not check is a false sense of security.

Use This When

After modeling, alongside transition-tracing. It only adds guards and their satisfaction; edges are the other skill's job.

Inputs

  • The modeled surfaces and traced transitions.
  • The enforcement points in the code: middleware, decorators, route metadata, policy checks,

feature-flag reads.

  • Read references/guard-evidence.md before recording a guard.

Procedure

The graph's guard-coverage analysis is the engine's; your job is to propose evidenced guards.

  1. For each surface, area, and transition, find the enforcement that gates it: a middleware, a

decorator, a policy, a flag read.

  1. Record the guard's kind (`permission | role | feature-flag | auth-state | data-state |

capability | environment), what it requires, and its satisfy_via, each with a file:line`.

  1. Re-run paqad-ai sitemap run so its guard-coverage analysis flags backstage surfaces left

guard-less.

Output Contract

  • A JSON object { guards: [{ id, kind, requires, satisfy_via, evidence }], applied: [{ surface_or_edge, guard }] }.
  • Every guard carries a resolving file:line that shows the enforcement.
  • Every satisfy_via names how the guard is met (an actor, a role, a flag variant).

Escalate / Stop Conditions

  • Do not record a guard the code does not enforce. An intended-but-unchecked guard is a finding

about missing enforcement, not a guard on the map.

  • Flag a backstage surface with no guard rather than assuming an inherited one that is not

evidenced.

  • Never expose a secret or credential value in guard evidence: cite the file:line and the

enforcement, not the secret's bytes.

Resources

  • references/guard-evidence.md
  • agents/openai.yaml

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/eliyce/paqad-ai/guard-inference/badge)](https://verified-skill.com/skills/eliyce/paqad-ai/guard-inference)

Something wrong with this skill or its page? Tell us.