Skip to content

Add loc-guard skill#413

Open
stef-k wants to merge 1 commit into
openai:mainfrom
stef-k:add-loc-guard-skill
Open

Add loc-guard skill#413
stef-k wants to merge 1 commit into
openai:mainfrom
stef-k:add-loc-guard-skill

Conversation

@stef-k
Copy link
Copy Markdown

@stef-k stef-k commented May 17, 2026

Adds loc-guard, a cross-agent file length policy skill with a deterministic Python checker.

The skill helps coding agents treat 400 counted LOC as a design-review trigger and 600 counted LOC as a hard failure unless explicitly exempted. It includes a self-contained LICENSE.txt, Codex UI metadata, a reusable policy reference, and a bundled checker script.

Validation run locally:

  • python3 /home/stef/.codex/skills/.system/skill-creator/scripts/quick_validate.py skills/.curated/loc-guard
  • python3 skills/.curated/loc-guard/scripts/loc_guard.py skills/.curated/loc-guard --include .md --include .yaml --config /home/stef/src/agent-loc-guard/examples/loc-guard.config.json

@stef-k stef-k requested a review from a team May 17, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant