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
- grezxune/ai-toolstheir own version, first seen Oct 5, 2026
- denolfe/dotfilestheir own version, first seen Sep 19, 2026
- byshahriar/skill-forgetheir own version, first seen Aug 29, 2026
- yknnv/brownspectheir own version, first seen Aug 28, 2026
- BankrBot/skillstheir own version, first seen Apr 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- BankrBot/skills★ 1.2ksame name
- denolfe/dotfiles★ 87same name
- yknnv/brownspec★ 2same name
- byshahriar/skill-forge★ 0same name
- 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.
The file
Files
codeforge:standards
Naming
| Thing | Rule | Good | Bad |
| Variable | What it holds | activeUserId | x, data |
| Boolean | A question | isAuthenticated | auth, flag |
| Function | Verb + noun | fetchUserById | userData, doStuff |
| File | kebab-case | user-profile.ts | UserProfile.ts |
Typing
| Rule | Detail |
No any | No object. No untyped returns. |
| Define types first | Before writing function bodies |
| Discriminated unions | For state machines, not boolean flags |
Principles
| Principle | Rule |
| KISS | Simplest solution that passes the tests |
| DRY | 3+ identical blocks → extract a function |
| YAGNI | No abstractions for hypothetical future use |
| Immutability | const by default. Never mutate arguments. |
Error handling
| Rule | Detail |
| Carry context | What failed, with what input, why |
| No silent swallow | Never catch (e) {} |
| 400 vs 500 | User 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.errorsThread traceId through every log line.
Review checklist
- Names describe what things hold, not how they got there
- No
any, no implicitunknown - 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
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
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.

