agentleFS
PrashantxoPrashantxo/CodeForge/skills/standards/SKILL.md

standards

Skill0 starsChanged 5 months agoMITView on GitHub

Cross-project coding standards. Triggers on /codeforge:review or new module setup. Naming, typing, immutability, KISS/DRY/YAGNI, error handling, observability.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. BankrBot/skills★ 1.2ksame name
    2. denolfe/dotfiles★ 87same name
    3. yknnv/brownspec★ 2same name
    4. byshahriar/skill-forge★ 0same name
    5. grezxune/ai-tools★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository11 other files it gives its agents.

The file

Files
SKILL.md

codeforge:standards

Naming

ThingRuleGoodBad
VariableWhat it holdsactiveUserIdx, data
BooleanA questionisAuthenticatedauth, flag
FunctionVerb + nounfetchUserByIduserData, doStuff
Filekebab-caseuser-profile.tsUserProfile.ts

Typing

RuleDetail
No anyNo object. No untyped returns.
Define types firstBefore writing function bodies
Discriminated unionsFor state machines, not boolean flags

Principles

PrincipleRule
KISSSimplest solution that passes the tests
DRY3+ identical blocks → extract a function
YAGNINo abstractions for hypothetical future use
Immutabilityconst by default. Never mutate arguments.

Error handling

RuleDetail
Carry contextWhat failed, with what input, why
No silent swallowNever catch (e) {}
400 vs 500User errors vs system errors, never conflate
Structured logs{ event, userId, input, error }, no console.log in prod

Observability (every cross-boundary call)

log: { event: "action.start",   traceId, input }
log: { event: "action.success", traceId, durationMs }
log: { event: "action.failed",  traceId, err }
metric: increment action.calls, action.errors

Thread traceId through every log line.

Review checklist

  • Names describe what things hold, not how they got there
  • No any, no implicit unknown
  • No argument mutation
  • No silent error swallowing
  • No dead code or commented-out blocks
  • Structured logs on all external calls
  • Tests for every new function

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.