audionut/codex-skills/repo-rules

Claude Code and agent skill by audionut/codex-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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

repository rules that must be followed.

Install

npx vskill@latest install audionut/codex-skills/repo-rules

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as audionut/codex-skills/repo-rules.

Repo Rules

  • Every workflow must satisfy the active repo's own rules before reporting done.
  • Source of truth order: nearest applicable AGENTS.md/repo instructions, CONTRIBUTING.md, tool configs/scripts (Makefile, package scripts, lint configs), CI/workflows when local scripts are incomplete, then checker/style memory. If docs disagree with tool config, tool config wins.
  • Project checker/style memory lives at <CODEX_HOME>\memories\<repo-name>-checker-lessons.md unless a repo-specific path is declared.
  • For review and review+fix workflows, read the active project's checker/style memory before implementation/checker fixes when it exists.
  • Read only repo-rule files needed for the active owned scope or check selection. Do not bulk-load broad docs/configs into parent context. If broad repo-rule adjudication is needed after agent work, spawn support/verifier and consume a compact receipt.
  • Treat repo-declared checks as implementation requirements, not optional cleanup. This includes formatters, lint, typecheck, tests, path/log/security policies, generated-code checks, go fix/language modernization checks, dead-code checks, hooks, and project-specific validators.
  • When a repo check fails, read the failure and either fix it in the smallest scoped way or clearly report why it is blocked/out of scope. Do not dismiss checker output as churn merely because it is mechanical. If a checker proposes broad edits, review the diff for behavior/risk, then apply the scoped repo-required fix or escalate using repo-rule/checker adjudication routing.
  • If a repo checker/review/lint/style issue reveals a reusable mistake pattern during any work, update the active project's checker/style memory before final with concise trigger, rule, and fix pattern. Do not add one-off bug details that will not generalize, and do not update memory from speculative review findings. In read-only workflows, this memory update is workflow metadata; do not edit target source files. After agent work, delegate the memory update or report the blocker/path instead of expanding parent context.
  • Out-of-scope checker fixes return blockers.

Workflow roles:

  • Read-only normal/security workers omit repo rules unless parent explicitly asks for compliance judgment.
  • Small-Finding loads this skill for lint/style/checker/test/repo-rule issues.
  • Write/fix workers load this skill before edits/checks.
  • Verifiers load this skill to identify required repo checks.
  • Parent passes repo_rules_path=<CODEX_HOME>\skills\repo-rules\SKILL.md or the skill path only. Do not paste repo-rule prose into worker prompts when the path is available.

Worker packet style:

  • Worker receives repo_rules_path, owned scope, validation/check commands, no-revert rule, and compact receipt shape.
  • Worker reads nearest repo instructions/configs only for owned paths/check selection.
  • Worker returns compact check rows and blockers. Full configs, diffs, and logs live as artifact paths only.

Fix workers:

  • Before code edits, load repo rules and nearest repo instructions for owned paths.
  • Run required focused checks for owned changes when reasonable.
  • Fix checker failures inside owned scope.
  • If checker failure is outside owned scope, return blocker with exact command/failure summary.
  • Do not weaken/delete/skip/loosen tests or checks to pass.

Verifiers:

  • Select required checks from repo rules/configs/scripts and owned changed refs.
  • Treat parent-supplied focused commands as minimum checks only. They do not satisfy full verification unless repo rules/configs/scripts show no broader required checks apply.
  • Inspect hook/check configs such as lefthook.yml, pre-commit, pre-push, Makefile, package scripts, lint configs, and CI workflows as needed to identify commit/push-time checks that local focused tests omit.
  • Receipt only: repo_rules_loaded, required_checks_selected, required_checks_run, required_checks_skipped, checks, generated_artifacts, out_of_scope_changes, failures/blockers, and final_facts.
  • Long logs are artifact paths only.

Final reports:

  • Review+fix finals state required checks run, skipped/deferred checks with reason, and unresolved checker failures using verifier/check receipts.
  • Read-only review finals include findings and worker errors/blockers only; omit fix instructions, suggested tests, clean checks/lanes, clean security status, and "no edits made" status unless no-findings/blocker context requires it.
  • Do not claim complete while a required repo check is known failing unless user explicitly accepts that residual risk.

Tests:

  • Add/keep tests that prove changed behavior. Do not weaken/delete/skip/loosen tests to hide failures.
  • Existing tests may change only when approved behavior changes expectations or test is genuinely broken. Explain in final.
  • Prefer focused regression tests over broad snapshot churn.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

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/audionut/codex-skills/repo-rules/badge)](https://verified-skill.com/skills/audionut/codex-skills/repo-rules)

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