Skip to content
Back to skills

Follow Our Standards

ASecurity

Re-anchor to organization engineering standard, audit work in flight (or --repo) for drifting from our standard and convention, and correct violation with doc citation. Use when 'follow our standards', 'does this match our conventions', 'audit against standards', or at conversation start on a repo governed by shared standard and convention.

  • 34 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsrustgobashtestinggit

Works with

  • cli

Security analysis

A100/100

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

Scanned December 3, 2026

npx -y skills add melodic-software/claude-code-plugins --skill follow-our-standards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Follow Our Standards?

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

Security grade badge for Follow Our Standards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-follow-our-standards/badge)](https://www.skillsdirectory.com/skills/melodic-software-follow-our-standards)

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
---
description: "Re-anchor to organization engineering standard, audit work in flight (or --repo) for drifting from our standard and convention, and correct violation with doc citation. Use when 'follow our standards', 'does this match our conventions', 'audit against standards', or at conversation start on a repo governed by shared standard and convention."
argument-hint: "[--repo <repo> ...]"
user-invocable: true
disable-model-invocation: false
metadata:
  discipline-batch: situational  # only in a repo that declares standards
  discipline-batch-rank: 60
  workflow-stage: anytime
  summary: Re-anchor to org engineering standards and audit the work in flight
---

# Follow our standards

A drift corrector for alignment to the consuming organization's engineering
standards. The shared method (re-anchor, audit the work in flight, correct
forward, report) lives in
[`${CLAUDE_PLUGIN_ROOT}/context/re-anchor-audit-correct.md`](../../context/re-anchor-audit-correct.md).
Read it; this file adds only what is specific to standards discipline.

## Resolve the standards source

The authority is the consuming organization's own conventions; never work
from recall of them. Resolve a readable copy per the method doc's ladder:

1. **The consuming project declares its standards source.** When the
   repo's own `CLAUDE.md` / `.claude/rules/` names where the conventions
   live (a shared standards repository, a docs tree, a conventions
   directory), resolve and read that. Prefer a local checkout when one
   exists; a remote read (via the host's CLI or web tree) is the fallback.
2. **No external source declared → the repo's own conventions.** Read the
   conventions the repo carries itself (its `CLAUDE.md`, `.claude/rules/`,
   `CONTRIBUTING`, docs) and re-anchor those.
3. **Nothing declared anywhere → the portable baseline** below.

State which source resolved so the citations are traceable.

## Loading. Relevance-routed progressive disclosure

Do not load the whole convention set. Route through its own index (a
top-level `README` or agent-instruction file) and pull only what the work
in flight needs, rather than hardcoding a doc map that will drift. Always
re-anchor the core design principles; load a specific convention (testing,
naming, error-handling, domain modeling, and the like) only when the current
work touches it. When the repo you are working in declares its own
design-doctrine docs, add them to the route set and load one when the work
in flight is designing what that doctrine governs.

## The principles this re-anchors

Re-assert the core engineering principles as active for the rest of the
task, as pointers into whatever docs resolved above, read there, not
restated here:

- single source of truth / DRY;
- low coupling and high cohesion;
- change-together-lives-together, the vertical slice;
- SOLID;
- clean, intention-revealing code.

When no convention source resolved, these five are the portable baseline
the audit runs against.

## Skill-specific audit notes

- **Each finding cites the doc it breaks**. Path plus the principle at
  issue. A finding without a citation is an opinion, not a standards
  violation: locate it in the conventions or drop it.
- **Respect a managed / locally-owned seam when the standards source
  declares one.** When a manifest marks which downstream files are
  upstream-owned (change via a reviewed sync) versus locally customizable,
  never propose editing a managed materialization as the source of a change;
  route it upstream. With no declared seam, this note does not apply.
- **Route shared-policy fixes upstream, never silent deviation, never
  silent conformance.** A change that belongs in the shared standards, not
  this repo, is **named and drafted** for that repo's proper change path and
  routed to the human, rather than patched into the downstream copy.
  "Routed" means proposed and offered: name the change, draft it, and offer
  to open the standards PR. Do not open that PR, or any outward artifact,
  without the user's explicit opt-in (the plugin-wide outward-artifact gate
  in the method doc, mirroring the offer gate the fan-out tier of
  `/discipline:recheck-against-upstream` applies to its work-items routing). When the work disagrees with a standard, that
  disagreement goes upstream too: neither quietly ignore the standard nor
  quietly comply with one you have reason to think is wrong. (This is the
  upstream-routing path that `/discipline:reason-dont-recite` hands a
  standards disagreement to.)
- **Verification level.** Resolve it once with
  `bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin discipline --skill follow-our-standards --file docs/conventions/discipline.yaml`
  and report its line ([levels](https://github.com/melodic-software/claude-code-plugins/blob/main/docs/contracts/verification-level/README.md)):
  The method doc's steps 2-4 say what `light` and `off` skip and the line the reply then carries.

## Several repositories

A target form from
[`${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md`](../../reference/target-scope.md)
(`--repo <repo>` and the others) runs the audit once per repository, per the
method doc's "Several repositories"; with none, the skill audits the work in
flight as above. Each repository's pass audits that repository's tracked
code and docs against the standards it resolves itself: run "Resolve the
standards source" and route through the index under "Loading" inside that
repository, so one repository's standards never judge another's. Each
finding cites the doc from its own repository's source.

## Out of scope

Upstream/downstream sync and dedup design; this skill only respects an
existing managed / locally-owned seam when one is declared.

## Related

- Check against external vendor docs instead of org standards: /discipline:recheck-against-upstream.
- Challenge whether an inherited convention still holds: /discipline:reason-dont-recite.

## Gotchas

- When only a remote fetch or the portable baseline resolved, cite that, not
  an assumed local path a reader might expect, since the standards may live
  in several places.
- The convention set evolves; trust the source's own index over any doc
  list reproduced from memory.

Files in this skill

  • SKILL.md5.4 KB
  • evals/evals.json3.5 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 ai-agents →

Comments

Loading comments…

Newsletter

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