code-quality
Skill4 starsChanged 4 months agoMITView on GitHub
Guide implementation and refactoring toward correct, readable, compatible, secure, and maintainable code. Use when writing production code, changing shared behavior, evaluating dependencies, modifying APIs or schemas, or cleaning up implementation structure.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- hodstack/hodstacktheir own version, first seen Oct 1, 2026
- AhmedAbdelfattah0/AI-Skillstheir own version, first seen Sep 28, 2026
- notque/vexjoy-agenttheir own version, first seen Sep 26, 2026
- yogvidwankhede/vishwakarmatheir own version, first seen Sep 26, 2026
- mthines/agent-skillstheir own version, first seen Sep 25, 2026
Used with
Projects with it also use spring-boot, design-patterns and 8 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.
MindrallySkillspring-boot
Expert guidance for Spring Boot application development with best practices for RESTful APIs, testing, security, and deployment
Also in 3 projects that use this
ratacatSkilldesign-patterns
Use when designing software architecture, refactoring code structure, solving recurring design problems, or when code exhibits symptoms like tight coupling, rigid hierarchies, scattered responsibilities, or difficult-to-test components. Also use when choosing between architectural approaches or reviewing code for structural improvements.
Also in 3 projects that use this
rogue-dev-studioSkillpython
Python 3.13 with uv package manager via mise. Use when the project needs this capability or the user / team manifest asks for it. Use for specialized `python` work when listed in TEAM.yaml or explicitly requested.
Also in 3 projects that use this
0xSeroSkillsecurity
Also in 4 projects that use this
BlockSkilldebugging
Debugging guidelines and best practices
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- piomin/claude-ai-spring-boot★ 1.3ksame name
- microsoft/winappCli★ 1.3ksame name
- waybarrios/opencode-power-pack★ 531same name
- notque/vexjoy-agent★ 424same name
- instructa/agent-skills★ 139same name
- hodstack/hodstack★ 70same name
- fagemx/edda★ 36same name
- georgekhananaev/claude-skills-vault★ 28same name
- sordi-ai/skill-everything★ 20same name
- PracticalSwan/agent-skills★ 18same name
28 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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- anti-slopSkill
- build-featureSkill
- decision-makingSkill
- definition-of-doneSkill
- frontend-designSkill
- github-workflowSkill
- job-search-and-applicationsSkill
- personal-operating-profileSkill
- personal-writingSkill
- professional-profileSkill
- project-startSkill
- research-qualitySkill
- research-topicSkill
- resume-and-atsSkill
- review-codeSkill
- review-uiSkill
- root-cause-debuggingSkill
- secure-developmentSkill
- security-reviewSkill
- visual-ux-reviewSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read the files to change, their tests, and one comparable implementation.
- Distinctive: line 29
Keep orchestration separate from domain logic when their concerns diverge.
- Distinctive: line 30
Add or update behavior-focused tests, including relevant edge and failure cases.
- Distinctive: line 31
Run targeted checks, then broader checks proportional to shared impact.
- Distinctive: line 36
Do not refactor unrelated code during feature work.
- Distinctive: line 37
Do not add an abstraction until it removes real complexity or matches a local pattern.
- Distinctive: line 38
Do not add a dependency for a trivial convenience.
- Distinctive: line 39
Do not silently break public APIs, schemas, persisted data, or configuration.
- Distinctive: line 40
Do not optimize without a requirement or measurement when it reduces clarity.
- Distinctive: line 60
Parser: use a maintained structured parser for a real grammar.
“Common” is measured: kept by at least 6 in 10 of the 37 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
Code Quality
Purpose
Produce code that fits the existing system, makes behavior explicit, and remains easy to verify and change.
Inputs
- The behavioral contract and acceptance criteria.
- Repository instructions, nearby implementation patterns, tests, and public types.
- Data, security, performance, and compatibility boundaries.
- Available commands for tests, linting, typing, builds, and formatting.
Scope Boundary
This skill governs implementation and refactoring. For a review-only request, use review-code; for a complete authorized feature, compose this skill through build-feature.
Process
- Read the files to change, their tests, and one comparable implementation.
- Identify ownership boundaries and public contracts before designing the change.
- Choose the smallest coherent implementation that matches established patterns.
- Make invalid states difficult to represent with types, validation, and explicit errors where justified.
- Keep orchestration separate from domain logic when their concerns diverge.
- Add or update behavior-focused tests, including relevant edge and failure cases.
- Run targeted checks, then broader checks proportional to shared impact.
- Review the diff for duplication, dead paths, hidden coupling, secrets, and unnecessary dependencies.
Constraints
- Do not refactor unrelated code during feature work.
- Do not add an abstraction until it removes real complexity or matches a local pattern.
- Do not add a dependency for a trivial convenience; use a proven library for complex domain behavior.
- Do not silently break public APIs, schemas, persisted data, or configuration.
- Do not optimize without a requirement or measurement when it reduces clarity.
Verification
- Tests exercise observable behavior and would catch the intended regression.
- Type, lint, build, and focused test checks pass where available.
- Error and boundary behavior is explicit.
- Public contract changes include compatibility handling and documentation.
- The final diff is focused and understandable without a verbal walkthrough.
Failure Modes
- Copying a nearby pattern that is itself obsolete or unrelated.
- Hiding complexity behind generic helpers or pass-through wrappers.
- Tests that mirror implementation details but miss user behavior.
- Catch-all error handling that destroys useful context.
- Large mixed commits combining cleanup, migration, and feature behavior.
Examples
Parser: use a maintained structured parser for a real grammar; validate at the boundary and test malformed inputs.
Shared API: preserve old callers or introduce an explicit migration with compatibility tests and documentation.
Sources
See ../../sources/code-quality.sources.md.
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.

