kiss
This skill should be used when the user asks to "find simplification opportunities", "simplify this code", "check for unnecessary complexity", "find…
от florianbuetow★ 22 звезды на GitHub
Установить kiss в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
KISS — Simplification Opportunity Detection
Analyze source code and architecture for simplification opportunities — places where accidental complexity can be reduced without losing capability. Produce actionable findings with severity ratings, dimension scores, code locations, and concrete simplification suggestions.
The framing matters: this is not about reporting what IS complex, but about identifying what CAN be simplified. Essential complexity (inherent to the problem domain) is not a simplification opportunity. Accidental complexity (introduced by our choices) is.
Dimensions
Five dimensions, each targeting a different axis of simplification:
| Dimension | Question It Answers | Reference |
|---|---|---|
| Complexity | Where can control flow, cognitive load, or function structure be simplified? | references/complexity.md |
| Abstraction | Where can unnecessary layers, interfaces, or indirection be removed? | references/abstraction.md |
| Redundancy | Where can dead, duplicated, or unused code be eliminated? | references/redundancy.md |
| Coupling | Where can dependencies be loosened or dependency chains shortened? | references/coupling.md |
| Architecture | Where can system-level infrastructure or layering be consolidated? | references/architecture.md |
Subcommands
| Command Pattern | Scope | Reference |
|---|---|---|
kiss / kiss all / kiss check |
All five dimensions | All references |
kiss complexity |
Code Complexity | references/complexity.md |
kiss abstraction |
Over-Abstraction | references/abstraction.md |
kiss redundancy |
Redundancy | references/redundancy.md |
kiss coupling |
Coupling & Dependencies | references/coupling.md |
kiss architecture |
Architecture Complexity | references/architecture.md |
When no subcommand is specified, default to all five dimensions. When a dimension is mentioned by name (even without "kiss"), match it.
Workflow
1. Identify Target Code
Determine what code to analyze:
- When files or a directory are provided, use those.
- When a class/module is referenced by name, locate it.
- When ambiguous, ask which files or directories to scan.
Supported languages: any (Python, Java, TypeScript, C#, C++, Kotlin, Go, Rust, etc.). Adapt checks to the idioms of the target language — simplicity looks different across languages and paradigms.
2. Load Dimension References
Before analyzing, read the reference file(s) for the requested dimension(s):
references/complexity.md— code complexity simplificationreferences/abstraction.md— over-abstraction simplificationreferences/redundancy.md— redundancy eliminationreferences/coupling.md— coupling reductionreferences/architecture.md— architecture consolidation
For a full audit (kiss all), read all five.
3. Analyze
For each target file/class, apply the simplification patterns from the loaded references.
Per-dimension scoring: For each dimension analyzed, assign a score from 1–5:
| Score | Label | Meaning |
|---|---|---|
| 1 | Minimal | Few or no simplification opportunities. Code is as simple as the problem allows. |
| 2 | Low | Minor opportunities exist but are low-priority. |
| 3 | Moderate | Several opportunities that would meaningfully reduce cognitive load or maintenance cost. |
| 4 | High | Significant accidental complexity. Simplification would substantially improve the codebase. |
| 5 | Critical | Accidental complexity dominates. The code is harder than the problem it solves. |
Think carefully about each pattern — not every heuristic match is a true opportunity. Consider context, project size, language idioms, and pragmatism. Essential complexity is not a simplification target.
4. Report Findings
Present findings using this structure:
Per Finding
**[DIMENSION] Simplification Opportunity — Severity: HIGH | MEDIUM | LOW**
Location: `filename.py`, function `name`, lines ~XX-YY
Opportunity: What can be simplified and why simplifying it matters.
Approach: Concrete simplification with brief code sketch if helpful.
Severity guidelines:
- HIGH: Active maintenance pain, blocks understanding, or causes bugs. Simplifying this delivers immediate value.
- MEDIUM: Unnecessary complexity that will slow development as the codebase grows. Simplifying prevents future pain.
- LOW: Minor opportunity, worth noting but fine to defer.
Dimension Scores
After all findings, provide a dimension scorecard:
| Dimension | Score | Label |
|---------------|-------|----------|
| Complexity | 3/5 | Moderate |
| Abstraction | 2/5 | Low |
| Redundancy | 4/5 | High |
| Coupling | 2/5 | Low |
| Architecture | 1/5 | Minimal |
Only include dimensions that were analyzed.
Summary
- Count table:
| Dimension | HIGH | MEDIUM | LOW | - **Top 3 prioriti
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/abstraction.md
- references/architecture.md
- references/complexity.md
- references/coupling.md
- references/redundancy.md
FAQ
Что делает скилл kiss?
This skill should be used when the user asks to "find simplification opportunities", "simplify this code", "check for unnecessary complexity", "find over-engineering", "audit code complexity", "reduce complexity", or "what can be simplified". Also triggers when the user mentions KISS, "keep it simple", over-abstraction, dead code, redundant code, tight coupling, interface bloat, or asks about simplification opportunities. Supports checking all five dimensions at once or focusing on a single dimension.
Как установить скилл kiss?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kiss запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…