senior-engineer-coding

Solid

Apply senior software engineering standards when writing, editing, or refactoring any code. Use this skill whenever the user asks to write a function, build a feature, fix a bug, design a module, or improve existing code — even if they don't mention quality explicitly. The goal is production-grade code: readable, correct, maintainable, secure, and failure-aware. Always active for any coding task, at any scale.

Code & Development 96 stars 12 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Senior Engineer Coding ## Mindset Write code for the next engineer who has to change it at 2am with no context. Clean code is risk management. Every production incident traces back to unclear, poorly structured, or hard-to-change code — not missing cleverness. The standard: a teammate can safely change the code without fear, and explain what it does after a quick read. --- ## 1. Naming — Highest ROI Habit Good names eliminate comments, prevent misunderstandings, and make refactoring safe. **Rules:** - Name by **intent**, not by type or storage: `emailAddress` not `emailString` - Use **domain language**: reflect business concepts (`Invoice`, `Subscription`, `Refund`) - Include **units** in names: `timeoutMs`, `priceCents`, `fileSizeBytes` - Make **booleans** read as questions: `isEnabled`, `hasAccess`, `shouldRetry` - Name from the **caller's perspective**: `order.chargePayment()` not `order.process()` - Be **consistent**: one concept, one word. Never `user` in one place and `customer` in another for the same entity **Avoid:** - Noise words: `manager`, `helper`, `data`, `info`, `handler` (unless genuinely descriptive) - Abbreviations that don't scale: `usrAcctMgr`, `calcDisc` - Overly generic verbs: `process()`, `handle()`, `doWork()`, `run()` - Single-letter variables outside tiny loops: `d`, `x`, `tmp` cause real production bugs --- ## 2. Functions — Small, Focused, Predictable **One function = one job.** If you can't describe it in one sentence, it does too muc...

Details

Author
EliasOulkadi
Repository
EliasOulkadi/shokunin
Created
1 months ago
Last Updated
yesterday
Language
HTML
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category