agentleFS
RinisnotarobotRinisnotarobot/rinco-pi-skills-commands/skills/workflows/coding-standards/SKILL.md

coding-standards

Skill2 starsChanged 2 months agoMITView on GitHub

Model-invoked, language-neutral maintainability baseline. Use when a scoped implementation, refactor, or review needs repository-specific rules for naming, readability, control flow, duplication, mutation, errors, comments, or code structure; defer framework architecture, security, resilience, and test workflow decisions to narrower Skills.

120 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use everything-claude-code, everything-claude-code-conventions and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • InfopibeSkill

    everything-claude-code

    Also in 9 projects that use this

  • mryeastcodeSkill

    everything-claude-code-conventions

    Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

    Also in 8 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 8 projects that use this

  • tpavanipradeepSkill

    nextjs-turbopack

    Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.

    Also in 15 projects that use this

  • CodeWithBehnamSkill

    dmux-workflows

    Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

    Also in 17 projects that use this

  • InfopibeSkill

    investor-outreach

    Draft cold emails, warm intro blurbs, follow-ups, update emails, and investor communications for fundraising. Use when the user wants outreach to angels, VCs, strategic investors, or accelerators and needs concise, personalized, investor-facing messaging.

    Also in 22 projects that use this

  • +1 more from Infopibe

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 104 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When code-review is active, supply only maintainability rules and observations to that workflow.

    line 14
  2. Distinctive:

    Names: use the repository's domain language.

    line 44
  3. Distinctive:

    Flow: keep the common path direct.

    line 45
  4. Distinctive:

    Abstraction: prefer the simplest design that meets current requirements.

    line 46
  5. Very specific:

    Use this standalone contract only when code-review does not own the task.

    line 76

“Common” is measured: kept by at least 6 in 10 of the 104 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coding Standards

Apply the repository's standards to the code in scope. Treat this Skill as a model-invoked maintainability baseline, not a framework playbook or a license for unrelated cleanup.

Invocation and Routing

Activate this Skill after the task has a concrete code scope. When the primary decision concerns framework architecture, backend boundaries, security, resilience, or test strategy, route that decision to the narrower Skill or current official documentation first; resume this baseline only to assess how the decided behavior is expressed in code.

When code-review is active, supply only maintainability rules and observations to that workflow. Let code-review exclusively own the formal review scope, candidate disproval, severity, verdict, and all review reporting.

Workflow

1. Pin the scope and standards

Identify the requested behavior, changed files or target module, and applicable instruction scope. Inspect, in order:

  1. accepted specifications and explicit user constraints;
  2. scoped AGENTS.md, CONTRIBUTING.md, coding guides, and ADRs;
  3. formatter, linter, compiler, and type-check configuration;
  4. representative adjacent code and tests;
  5. the baseline in this Skill.

Record each applicable rule as documented, tool-enforced, established, or baseline. Infer an established convention only from repeated, relevant examples; label mixed evidence as unresolved instead of choosing a favorite style.

Completion criterion: every rule used to change or judge code has a source and applies to the pinned scope.

2. Preserve the contract

State the observable behavior, public interfaces, compatibility constraints, and important performance or resource properties that must remain unchanged. Trace callers before changing names, signatures, control flow, ownership, or error behavior.

For a maintainability assessment, inspect without editing. For implementation or refactoring, keep the change inside the requested behavior and pinned files unless a traced dependency requires a wider edit.

Completion criterion: the preserved contract is explicit, and any unknown that makes a refactor unsafe is reported before modification.

3. Apply the maintainability baseline

Examine every touched unit through these lenses:

  • Names: use the repository's domain language; make purpose and units visible; keep short names to tiny conventional scopes.
  • Flow: keep the common path direct; make state transitions and side effects visible; extract a unit when it has a distinct responsibility, invariant, or test seam—not to satisfy a line-count rule.
  • Abstraction: prefer the simplest design that meets current requirements. Remove speculative hooks and pass-through layers. Deduplicate knowledge that must change together; preserve coincidental repetition when sharing would couple unrelated concepts.
  • Data and mutation: make ownership clear and keep mutation local and observable. Use immutable values where they clarify transitions; use controlled mutation where the language, local design, or measured cost supports it.
  • Failures and resources: handle failures at the boundary that can add context, recover, translate, or clean up. Preserve causes, release owned resources, and avoid catch-and-rethrow layers that add no information.
  • Async and concurrency: preserve required ordering; parallelize only independent work; account for cancellation, partial failure, and shared-state safety.
  • Types and interfaces: represent meaningful constraints with the project's native type system without adding wrappers that obscure simple values. Keep interfaces no larger than their consumers require.
  • Comments and documentation: explain intent, invariants, units, workarounds, and externally visible contracts. Let clear code express mechanics, and update comments when the behavior changes.
  • Tests: name observable behavior and keep fixtures readable. Route test-first sequencing and suite design to tdd; route final gate discovery and readiness to verification.

Completion criterion: every touched unit has been assessed through each relevant lens; actionable issues have the smallest justified correction, while mixed or insufficient evidence is recorded as no actionable rule.

4. Make the smallest standards change

In implementation mode, correct only evidence-backed issues needed for the requested work. Preserve local formatting, avoid repository-wide rewrites, and require explicit approval before adding dependencies, changing public APIs, or expanding the task into architecture migration.

In maintainability-assessment mode, surface an observation only when it includes the rule source, code location, concrete maintainability impact, and smallest viable correction. Mark baseline heuristics and established conventions as judgment calls; reserve hard-violation language for documented or tool-enforced rules. Pass observations along when a code review is the active stage (the code-review workflow when loaded).

Completion criterion: every edit or finding is traceable to one applicable rule, and preference-only changes are absent.

5. Hand off verification

Inspect the final diff for accidental formatting churn, generated-file edits, stale comments, and scope expansion. Give the affected scope, standards sources, and expected formatter, lint, type, and behavior checks to verification when it is available. Consume its current evidence instead of rediscovering gates, rerunning reusable checks, or assigning a second readiness state.

When verification is unavailable, run the same method yourself: discover the affected scope's required gates from repository instructions and CI configuration, run the narrowest first, and capture git status --short before and after each command. Absence of the skill is not absence of the gate — reuse fresh same-scope evidence where it exists; do not lower the standard because the skill is not loaded.

Report UNVERIFIED only when evidence genuinely cannot be obtained — a gate environment or authorization is missing, or the task is maintainability-observation only and makes no readiness claim — and name the missing evidence in every such case. A narrow manual inspection alone supports only the scoped maintainability observations, not repository readiness.

Completion criterion: the final diff has been inspected, and the single verification state is consumed from verification, established by the gates run under this method, or explicitly named UNVERIFIED with the evidence that is genuinely unobtainable.

Output Contract

Use this standalone contract only when code-review does not own the task. Otherwise return the rules and observations requested by code-review without a separate report.

Report:

Scope
Standards sources and precedence
Contract preserved
Applied changes or maintainability observations
Exceptions and judgment calls
Verification handoff and evidence
Unverified claims and residual risks

A clean result is valid. Do not manufacture findings when the scoped code follows its applicable standards.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.