validate-17-layers
БесплатноЗапускает вложенные скриптыНе проверенThe BlueMouse 17-Layer Alpha Scale (Static Standard). Ensures code hygiene, structural integrity, and logic safety.
Об этом скилле
🐭 BlueMouse Alpha Scale (17-Layer Static Standard)
The Industrial Golden Standard for Static Code Analysis.
This document defines the Alpha Scale (Layers 1-17), originally established by the BlueMouse project. It ensures code hygiene, structural integrity, and logic safety.
Group 1: Syntax & Hygiene (L1-L4)
- L1: Basic Syntax: Code must compile/parse without any syntax errors.
- L2: AST Structure: Must have a valid Abstract Syntax Tree with clear class/function hierarchy.
- L3: Indentation: Strict adherence to PEP-8 (4 spaces, no tabs).
- L4: Naming:
snake_casefor functions/variables,PascalCasefor classes.
Group 2: Interface & Documentation (L5-L8)
- L5: Signature Check: Function arguments must match the design specification.
- L6: Return Value: Functions must return the expected types (no implicit
Noneifintpromisised). - L7: Type Hints: Explicit usage of Python typing (
List,Dict,Optional, etc.). - L8: Docstrings: Every function and class must have a descriptive docstring.
Group 3: Dependency Integrity (L9-L12)
- L9: Import Check: No missing or broken modules.
- L10: Circular Ref: Prevention of circular import loops (A->B->A).
- L11: Version Guard: Package versions must match
requirements.txt. - L12: Path Resolution: Correct usage of absolute vs relative imports.
Group 4: Logic & Safety (L13-L17)
- L13: Complexity: Cyclomatic complexity must remain low (avoid deeply nested loops).
- L14: Exception Handling: No bare
try...exceptblocks; specific exceptions required. - L15: Resource Leak: File handles and sockets must be closed (use
withcontext managers). - L16: Security Scan: Zero tolerance for hardcoded passwords, API keys, or tokens.
- L17: Logic Flow: No dead code or unreachable branches.
Verified by FlashSquirrel Omega-27 Agent.
Установить validate-17-layers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashGrepGlobВложенные файлы
FAQ
Что делает скилл validate-17-layers?
The BlueMouse 17-Layer Alpha Scale (Static Standard). Ensures code hygiene, structural integrity, and logic safety.
Как установить скилл validate-17-layers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validate-17-layers запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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