Skip to content
Back to skills

Coding Guidelines Verify

ASecurity

Verify changes follow nearest-scoped AGENTS.md rules: group changed files by nested scope, auto-fix formatting, run lint/tests, and report violations. Use when the user wants scoped compliance checks for changed files.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
data-aipythongo

Security analysis

A100/100

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

Scanned February 12, 2026

npx -y skills add lancenunes/codex-skills --skill coding-guidelines-verify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Guidelines Verify?

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

Security grade badge for Coding Guidelines Verify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lancenunes-coding-guidelines-verify/badge)](https://www.skillsdirectory.com/skills/lancenunes-coding-guidelines-verify)

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: coding-guidelines-verify
description: "Verify changes follow nearest-scoped AGENTS.md rules: group changed files by nested scope, auto-fix formatting, run lint/tests, and report violations. Use when the user wants scoped compliance checks for changed files."
---

# Coding guidelines verifier

## Goal
Validate that changes follow the **nearest nested** `AGENTS.md`:
- default: **changed files only**
- default: **auto-fix formatting** before lint/tests
- monorepo-aware: each module’s `AGENTS.md` is the source of truth for that scope

## Workflow (checklist)
1) Collect changed files (staged + unstaged + untracked).
2) For each changed file, find the nearest parent `AGENTS.md`.
   - If a file has no scoped `AGENTS.md`, report it (suggest running `coding-guidelines-gen`).
3) Parse the `codex-guidelines` block (schema: `references/verifiable-block.md`).
4) Run, per scope:
   - format (auto-fix) -> lint -> tests
   - apply simple forbid rules (globs/regex) from the block
5) Produce a short compliance report (template: `references/report-template.md`).

## Automation
Use `scripts/verify_guidelines.py` to group scopes, run commands, and report results.
- If `python` is not available or the script fails, tell the user and ask whether to install Python or proceed with a manual per-scope verification.

## Deliverable
Provide:
- The per-scope compliance report (use `references/report-template.md`).
- Any auto-fix formatting changes applied.
- Lint/test commands run and their results, plus any violations.

Files in this skill

  • SKILL.md1.5 KB
  • references/report-template.md503 B
  • references/verifiable-block.md803 B
  • scripts/verify_guidelines.py11.7 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.

Comments

Loading comments…

Newsletter

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