Follow Our Standards
Re-anchor to organization engineering standard, audit work in flight (or --repo) for drifting from our standard and convention, and correct violation with doc…
от melodic-software★ 34 звезды на GitHub
Установить Follow Our Standards в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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.
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:
- 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. - 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. - 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-upstreamapplies 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-recitehands 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.yamland report its line (levels): The method doc's steps 2-4 say whatlightandoffskip and the line the reply then carries.
Several repositories
A target form from
${CLAUDE_PLUGIN_ROOT}/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 e
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Follow Our Standards?
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.
Как установить скилл Follow Our Standards?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Follow Our Standards запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…