This skill should be used when the user asks to "review code", "代码审查", "analyze requirements", "需求分析", "design solution", "设计方案", "write code", "编写代码", "refactor", "重构", "implement feature", "实现功能", "fix bug", "修复bug", or engages in any coding-related task. Applies Linus Torvalds' philosophy: simplicity, data structure priority, pragmatic problem-solving.
How this skill is triggered — by the user, by Claude, or both
Slash command
/linus-coding-standards:linus-coding-standardsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Real problem?** - If imaginary, reject
When analyzing requirements or designs, consider these layers:
| Layer | Key Question |
|---|---|
| Data Structure | What's the core data? Can it be simpler? |
| Special Cases | Can if/else branches be eliminated by better data design? |
| Complexity | Can concepts be reduced by half? |
| Practicality | Does the problem actually exist in production? |
For requirements/design decisions, include:
For code review, focus on:
Adapt format based on context. These are guidelines, not rigid templates.
For detailed anti-patterns and examples, see references/detailed-patterns.md
npx claudepluginhub 15195999826/lomomarketplace --plugin linus-coding-standardsEnforces Torvalds-inspired guidelines prioritizing data structures, simplicity, hardware limits, surgical changes, verifiable proofs, and bogus code detection during code generation and review.
Performs Linus Torvalds-style code reviews on files, directories, git diffs, or PRs, checking correctness, simplicity, maintainability, and project conventions. Use after implementation.
Enforces universal code quality rules — KISS, DRY, clean code, code review. Use when writing or reviewing any code.