code-quality
БесплатноБез исполняемых скриптовНе проверенCode quality assurance with Linus-style review principles. Enforces simplicity, good naming, proper error handling, and "good taste". Integrates with…
от WenJunDuan★ 187 звёзд на GitHubОб этом скилле
Code Quality Skill
Linus Review Checklist
- Data First: 数据结构是最简的吗?
- Naming: 命名准确反映本质?
- Simplicity: 是否过度设计?能删掉什么?
- Taste: 代码有"品味"吗?
- No Any: TypeScript 无 any
- Error Handling: 错误处理完整?
Quality Gates
Pre-Commit
Required:
- TypeScript strict pass
- ESLint clean
- Prettier formatted
- Tests pass
- Coverage >= 80%
Pre-Review
Additional:
- No console.log
- No TODO comments (or tracked)
- Documentation updated
- Security scan clean
Automated Checks
# TypeScript
npx tsc --noEmit
# Lint
npm run lint
# Format
npm run format:check
# Test
npm run test
# Coverage
npm run test:coverage
Code Smell Detection
| Smell | Detection | Fix |
|---|---|---|
| Long function | >50 lines | Extract |
| Deep nesting | >3 levels | Early return |
| Magic numbers | Literals | Constants |
| Duplicate code | Similar blocks | DRY |
| God object | Many responsibilities | Split |
Integration
Called by:
verification-loopskillvibe-reviewcommand- Pre-commit hooks
Установить code-quality в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-quality?
Code quality assurance with Linus-style review principles. Enforces simplicity, good naming, proper error handling, and "good taste". Integrates with verification-loop for automated checks.
Как установить скилл code-quality?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-quality запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic