Stand general
Global coding standards for all projects and languages. Use when writing any code. Covers linting with lintro, testing with coverage, semantic commits, PR creation, and pre-push AI review with coderabbit and greptile CLIs.From its SKILL.md
npx -y skills add lgtm-hq/ai-skills --skill stand-generalAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.9 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it
Coding Standards
Global standards that apply to all projects and languages.
Single Source of Truth
Any value defined in one place and consumed in another should be referenced, not copied. Applies to versions, paths, URLs, schema constants, and configuration.
- If two files would need to be updated in lockstep, the second is a derived artifact — generate it, don't hand-maintain it.
- CI verification of two files agreeing is a smell: the right pattern is
run-the-generator +
git diff --exit-code, not parse-and-compare. - Hand-maintained mirrors of canonical sources rot silently. The cost of a small generator is always lower than the cost of recurring drift bugs.
Before You Write
Before implementing utility logic (file traversal, string parsing, config lookup, error wrapping), search the codebase for an existing implementation.
- Found a close match? Import or extend it instead of reimplementing.
- Same pattern already in 2+ files? Extract it to a shared module before adding a third instance.
- Duplication accumulates one compliant PR at a time — prevent it at writing time rather than relying on later audits.
Pre-Implementation
Answer three questions before creating a new file, module, or significant function:
- Does this logic already exist? Search first; reuse beats rewrite.
- Is this the right module? An existing module growing too large is a signal to refactor it, not to create a parallel module beside it.
- Will this create duplication later? If similar future cases are foreseeable, put the logic in a shared location from the start.
Architectural Awareness
When adding a module or significant function:
- Confirm it fits the layer it lives in, and that its dependency direction matches the existing architecture.
- Every new dependency arrow between modules must be intentional — never a side effect of convenient imports.
- A module growing past ~300–400 lines is a signal to split it along responsibility boundaries.
Dependency Update Triage (Renovate/Dependabot)
- Merge safe green bumps. For breaking major bumps, fix and migrate —
never just close the PR to dodge the work.
- Don't: close a failing Astro 6→7 Renovate PR because
@astrojs/tailwindno longer builds. - Do: migrate to the replacement (
@tailwindcss/vite) in the same PR, then merge.
- Don't: close a failing Astro 6→7 Renovate PR because
- Green doesn't mean safe. On a repo where CI doesn't cover every path, a green PR can still be broken in the un-CI'd parts. Validate those parts locally before merging, not just the parts CI checks.
- Backlog handling for dependency issues/PRs (closing, repurposing,
announcing changes): follow the
issueskill's Backlog Stewardship section.
Per-repo agent context (AGENTS.md / CLAUDE.md)
Every target repo may carry a standing context file that assessment and
implementation skills load automatically. Precedence: if both
AGENTS.md and CLAUDE.md exist, AGENTS.md is authoritative — apply it
and do not also apply conflicting CLAUDE.md instructions. If only one
exists, use that file. If both exist and their requirements conflict in a
way that blocks safe progress, stop and ask the user which wins rather than
guessing. When present, treat its standards, constraints, and contract as
binding for the session — do not re-type them from chat memory.
Expected sections
Write the file so the per-repo delta is only the repo facts. Put recurring org-wide rules in an org preset section (or point at a shared org doc) rather than copying them into every repo.
- House standards pointers — toolchains (e.g.
uv/bun/lintro), lint entry point, CI source / reusable workflows, model repos to copy conventions from, and any org-managed ruleset notes. - Contract / operating agreement — autonomy level, merge policy (who merges, squash vs queue, signed commits), babysit/review expectations, and how the agent should surface vs keep going.
- Standing constraints — safety limits (e.g. no paid LLM API calls during assessment), scope rules, storage limits (e.g. local SQLite only), and no-side-effects rules for assessment-only work.
- Org preset — recurring org-wide rules referenced once so each repo file stays short; only repo-specific product/org facts belong outside this section.
Consumers
At start of a run, these skills read the target repo's AGENTS.md /
CLAUDE.md when present and apply it as binding context:
analyze-projectimplement-issuesbabysit-pr
Missing the file is fine — fall back to chat instructions and stand-*
skills. Do not invent standing constraints that are not in the file or the
user's message.
Cross-cutting References
- Linting and formatting: follow the
lintskill - Ignoring lint issues: follow the
lintskill (Rules section) - Testing: follow the
testskill - Commits: follow the
commitskill - Pull requests: follow the
prskill - Pre-push AI review (CodeRabbit): follow the
coderabbitskill - Pre-push AI review (Greptile): follow the
greptileskill - Per-repo standing context: see Per-repo agent context above
Pre-push review workflow
CLI review mirrors CI and catches issues before slow CI completes. Default: run both Greptile and CodeRabbit when CI uses both.
Short flow:
commit → [greptile ‖ coderabbit] → pr
Explicit flow:
lint → test → commit → [greptile ‖ coderabbit] → pr
Each step names the skill to follow.
‖ means run greptile and coderabbit in parallel when possible. Fix findings, then optional
verify pass. Do not re-run either CLI on unchanged code. CI remains the merge-time
confirmation.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most test skills give in ~1.4k tokens
Counted across 964 of the 1,571 authors here whose files we hold, read 2026-08-07
- Close the browser when donein 55 of 964, across 12 files
- Wait for network idle statein 51 of 964, across 6 files
- Launch Chromium in headless modein 49 of 964, across 6 files
- Use descriptive selectors for elementsin 49 of 964, across 6 files
- Run provided scripts with help flag firstin 49 of 964, across 6 files
- Add appropriate explicit waitsin 48 of 964, across 5 files
- Use bundled scripts as black boxesin 46 of 964, across 3 files
- Do not read script source codein 46 of 964, across 3 files
- Use sync playwright for scriptsin 46 of 964, across 3 files
- Inspect dom before executing actionsin 46 of 964, across 3 files
- Run the full test suitein 37 of 964
- Write the failing test firstin 29 of 964, across 23 files
Said here and by no other author read
- reference canonical values instead of copying them
- generate derived artifacts instead of hand-maintaining them
- search the codebase before writing utility logic
- extract shared logic before adding a third instance
- confirm new modules fit existing architectural dependencies
- migrate breaking dependency changes instead of closing PRs
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.