Skip to content
Back to skills

Conform

ASecurity

Checks whether a pending changeset conforms to existing decisions and guardrails before it lands. Use before committing or merging, e.g. "does this diff conform to our guardrails", "check this PR against what we've decided", "conform check the last 3 PRs".

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
developmentrailsgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add vivantel/kms --skill conform --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Conform?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Conform
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vivantel-conform/badge)](https://www.skillsdirectory.com/skills/vivantel-conform)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: conform
description: Checks whether a pending changeset conforms to existing decisions and guardrails before it lands. Use before committing or merging, e.g. "does this diff conform to our guardrails", "check this PR against what we've decided", "conform check the last 3 PRs".
---

Given a pending changeset, flag anything in it that violates an existing guardrail — before it's committed or merged. Read-only: reports findings, never edits the changeset or the knowledge base.

## Determining the target

No argument and something's staged: the staged diff (`git diff --staged`). No argument and nothing's staged: the diff against the branch's upstream/base. A number ("last 3 PRs", "last 5 commits"): resolve to that many merged PRs or commits and diff across the combined range. A branch name, commit range, or PR reference: use it directly.

## Checking conformance

1. Search `<knowledge dir>/{decisions,guardrails}/` for anything relevant to what the diff touches — by keyword, topic, path overlap, the same approach `query` uses.
2. For each relevant guardrail, check whether the diff's actual changes appear to violate it. Cite the guardrail by path; cite the decision behind it too, for context on *why*, the same way `query` cites a superseding decision alongside the original.
3. If nothing relevant is found, say so plainly rather than implying the knowledge base had an opinion it doesn't.
4. A `status: draft` guardrail or decision is reported as "proposed", never as a violation.
5. If the diff touches the knowledge directory, run `shared/lint_check.py` (this skill's directory) on the post-diff tree (staged: the working tree; a range: a temporary checkout of its head) and report its lines too.
6. List facts whose `source` or `scope.component` path-overlaps the diff as "re-verify". Flag a fact whose body names a value the diff changes as "may be falsified" — advisory, never a claim.
7. Report every finding — don't stop at the first. Group by guardrail violated, one line per finding with the file/hunk and what's wrong. End with one plain line: safe to commit, or what to fix first.

## Out of scope

Judging the content of the knowledge base's own artifacts — `lint`/`capture`'s job; step 5 only relays the checker. Fixing anything — this skill only reports. Planning a refactor or drafting a commit message (`attribute`) — this skill checks a diff that already exists, for any reason, not just a refactor, and never writes prose about it.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml154 B
  • examples.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.