pattern-detection
БесплатноБез исполняемых скриптовНе проверенDetect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code.
Об этом скилле
Pattern Detection Skill
Purpose
Identify and document patterns for consistency enforcement.
Pattern Categories
1. Naming Conventions
Reference: patterns/naming-conventions.md
Detection method:
- Sample 10+ files across different directories
- Extract function/class/variable names
- Identify dominant patterns
2. Error Handling
Reference: patterns/error-handling.md
Detection method:
- Search for try/catch blocks
- Find custom error classes
- Check for error middleware
3. Testing Patterns
Reference: patterns/testing-patterns.md
Detection method:
- Locate test files
- Analyze test structure
- Identify mocking approach
Consistency Scoring
Rate codebase consistency:
- High (90%+): Strong patterns, few deviations
- Medium (70-89%): Clear patterns with some variation
- Low (<70%): Inconsistent, needs standardization
Output Format
Create patterns document with:
- Detected patterns with examples
- Consistency score per category
- Deviation examples
- Recommendations for standardization
Storage Location
Save to: docs/research/patterns-{date}.md
Установить pattern-detection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pattern-detection?
Detect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code.
Как установить скилл pattern-detection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pattern-detection запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic