seiyajapon/ia-handbooks/code-readability
Claude Code and agent skill by seiyajapon/ia-handbooks
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install seiyajapon/ia-handbooks/code-readabilitySKILL.md
The same SKILL.md was published earlier as seiyajapon/ia-handbooks/code-readability.
Code Readability
Purpose
Write code that reads as clearly as it thinks. A reader should understand what code does without having to simulate its execution.
Core Principles
Name by intent, not by implementation
A function name describes what it accomplishes, not how it does it.
If you cannot name a block without using "and", it is doing more than one thing.
If a block has a natural name, it is a function
When reading a block of code and a name comes to mind immediately, extract it. The name is the signal. Inline logic that could have a name is logic that forces the reader to interpret instead of read.
An orchestrating function reads like prose
A function that coordinates other functions should contain almost no logic of its own — only a sequence of named steps. The reader should understand the full flow without entering any of the called functions.
Structural repetition signals missing abstraction
Three loops over the same collection, each doing a slightly different check, is not three solutions — it is one solution written three times. Extract the invariant, name the variation.
Separate files only when a function has autonomous value
Prefer named module-level functions in the same file over separate files when:
- The function depends on internal utilities not worth exporting
- It has no meaningful use outside the current module
Create a separate file when:
- The function is a self-contained pure transformation (e.g.
buildContactPayload,buildInvoicePayload) - It would be imported by more than one module
- It represents a distinct named concept in the domain
Private class methods follow the same logic: use them when the function is tightly bound to instance state and has no value outside the class.
Process
- Make it work
- Make it readable — name the blocks
- Make it expressive — the orchestrator reads as intent, the helpers as implementation
Never skip step 2 on the way to step 3.
Red Flags
- A function longer than can be read without scrolling
- A loop body with more than one level of nesting
- The same guard (
if (!isRecord) continue,if (!id) continue) repeated in multiple loops - A variable named
result,data,item, ortmp - A comment that explains what the code does (the code should do that itself)
Activity Traceability
🔎 Loading skill: code-readability
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghandbook_v2/handbook/skills/code-readability/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/seiyajapon/ia-handbooks/code-readability)