coding
Skill4 starsChanged 2 months agoMITView on GitHub
Apply seven rules for linear control flow, bounded loops, resource ownership, small functions, assertions, explicit errors, and zero warnings. Use when the user asks to write, change, or review code.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- roby2358/skillstheir own version, first seen Oct 5, 2026
- prefapp/skillstheir own version, first seen Oct 4, 2026
- jd-solanki/krutrimboxtheir own version, first seen Sep 27, 2026
- TobyChain/skill-nettheir own version, first seen Sep 23, 2026
- vimulatus/skillstheir own version, first seen Sep 17, 2026
- AnthonyPoschen/agent-skillstheir own version, first seen Aug 25, 2026
Used with
Projects with it also use architecture, writing-for-agents 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.
AnthropicSkillarchitecture
Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.
Also in 3 projects that use this
AWSSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 3 projects that use this
AWSSkilldomain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
Also in 4 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 5 projects that use this
Microsoft AzureSkillhumanizer
Tone enforcement patterns for external-facing community responses
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
- +2 more from aws
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- pssah4/digital-innovation-agents★ 41same name
- liustack/vibemaster★ 13same name
- sherifabdlnaby/skills★ 8same name
- roby2358/skills★ 5same name
- davidkiss/smart-ai-skills★ 4same name
- ila/duckdb-claude-skills★ 4same name
- niqinggood/openkitty-skills★ 4same name
- yinhunfeixue/software_development_skills★ 4same name
- AnthonyPoschen/agent-skills★ 2same name
- TobyChain/skill-net★ 2same name
9 more not listed
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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- debateSkill
- explainSkill
- supersaiyanSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 13 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
If $ARGUMENTS is present, use it as the task.
- Distinctive: line 14
Linear control flow: Keep control flow linear. Use at most two nested control-flow levels.
- Distinctive: line 15
Prefer guard clauses and early returns.
- Distinctive: line 17
Do not rely on assumed input size or eventual termination.
- Very specific: line 21
Prefer language constructs that guarantee cleanup, such as context managers, defer, finally, or RAII.
- Distinctive: line 23
Assertions: Add at least two meaningful assertions to every function.
- Distinctive: line 24
Use side-effect-free assertions for internal invariants.
- Distinctive: line 27
Zero warnings: Run the applicable compiler, type, lint, and static-analysis checks from the first change.
- Very specific: line 32
Before each try/catch addition or change, identify possible failures and justify error handling at that exact layer.
- Distinctive: line 34
Prefer propagation over local recovery.
- Distinctive: line 36
When useful, add context to the error.
- Very specific: line 37
Do not hide failures behind null, [], or false fallbacks, swallowed parse errors, log-and-continue paths, or silent best-effort recovery.
- Distinctive: line 42
When HTTP routes, CLI entrypoints, or supervisors translate errors, preserve the failure signal.
- Distinctive: line 44
Do not add or keep a catch solely to satisfy lint or style rules.
- Distinctive: line 45
When correct recovery is uncertain, fail fast rather than silently degrade.
- Distinctive: line 49
Check the changed code against all seven rules and the strict fail-fast requirements.
- Distinctive: line 50
Run the relevant tests and all applicable compiler, type, lint, and static-analysis checks before completion.
“Common” is measured: kept by at least 6 in 10 of the 16 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.
Files
/coding
Usage: /coding [$ARGUMENTS]
If $ARGUMENTS is present, use it as the task. Otherwise, apply these rules to the current task.
Rules
- Linear control flow. Keep control flow linear. Use at most two nested control-flow levels. Prefer guard clauses and early returns.
- Bounded loops. Give finite loops an explicit iteration bound that the code enforces. Do not rely on assumed input size or eventual termination. Give retries an attempt limit and a timeout. For intentional service loops, define an explicit shutdown path.
- Resource ownership. Give every resource an explicit owner.
Release owned resources on success, error, and cancellation. Make ownership transfers explicit.
Prefer language constructs that guarantee cleanup, such as context managers,
defer,finally, or RAII. - Small functions. Give each function one job. Keep each function within about 60 lines.
- Assertions. Add at least two meaningful assertions to every function. Use side-effect-free assertions for internal invariants. Validate external inputs with explicit errors. Make assertion failures explicit.
- Explicit errors. Handle or propagate every error. Never swallow an error, including through
except: pass. - Zero warnings. Run the applicable compiler, type, lint, and static-analysis checks from the first change. Require zero warnings and errors. Fix warning causes. Do not suppress warnings to pass the checks.
Fail-fast error handling (strict)
- Before each
try/catchaddition or change, identify possible failures and justify error handling at that exact layer. - Prefer propagation over local recovery. If the current scope cannot fully recover and preserve correctness, let the error propagate or rethrow it. When useful, add context to the error.
- Do not hide failures behind
null,[], orfalsefallbacks, swallowed parse errors, log-and-continue paths, or silent best-effort recovery. - Let JSON parse and decode errors propagate by default. Without an explicit compatibility requirement and clear, tested behaviour, do not implement a quiet fallback.
- When HTTP routes, CLI entrypoints, or supervisors translate errors, preserve the failure signal. Do not report success or silently degrade.
- Do not add or keep a catch solely to satisfy lint or style rules.
- When correct recovery is uncertain, fail fast rather than silently degrade.
Verification
Check the changed code against all seven rules and the strict fail-fast requirements. Run the relevant tests and all applicable compiler, type, lint, and static-analysis checks before completion. Require zero warnings and errors.
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.

