Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

complexity-assessment

БесплатноЗапускает вложенные скриптыНе проверен

AI-based complexity assessment for task analysis. Use when determining the appropriate workflow, phases, and validation depth for a task.

oimiragieoот oimiragieo★ 48 звёзд на GitHub

Об этом скилле

Complexity Assessment Skill

Overview

Analyze a task description and determine its true complexity to ensure the right workflow and validation depth are selected. Accuracy over speed - wrong complexity means wrong workflow means failed implementation.

Core principle: Accuracy over speed. Wrong complexity = wrong workflow = failed implementation.

When to Use

Always:

  • Before planning any new task
  • When requirements are gathered but approach unclear
  • When determining validation depth for QA

Exceptions:

  • Obvious simple fixes (typos, color changes)
  • Tasks where complexity is explicitly specified

Iron Laws

  1. NEVER begin planning without complexity assessment — wrong complexity tier = wrong workflow = failed implementation; always assess first, then select the appropriate workflow phases and validation depth.
  2. ALWAYS be conservative when uncertain — go higher — underestimating complexity is more dangerous than overestimating; a COMPLEX task mis-classified as STANDARD skips security review, architecture design, and comprehensive testing.
  3. ALWAYS count affected files before assigning a tier — gut-feel estimates are unreliable; scan the codebase to count files actually touched by the change before assigning SIMPLE/STANDARD/COMPLEX/EPIC.
  4. ALWAYS flag unfamiliar technologies for research — unknown tech has hidden complexity; mark any unfamiliar framework, library, or service as requiring research before proceeding with the complexity estimate.
  5. NEVER let the user's casual language lower the tier — "just a quick fix" or "small change" reflects the user's perception, not the actual technical scope; assess objectively regardless of how it is described.

Workflow Types

Determine the type of work being requested:

FEATURE

  • Adding new functionality to the codebase
  • Enhancing existing features with new capabilities
  • Building new UI components, API endpoints, or services
  • Examples: "Add screenshot paste", "Build user dashboard", "Create new API endpoint"

REFACTOR

  • Replacing existing functionality with a new implementation
  • Migrating from one system/pattern to another
  • Reorganizing code structure while preserving behavior
  • Examples: "Migrate auth from sessions to JWT", "Refactor cache layer"

INVESTIGATION

  • Debugging unknown issues
  • Root cause analysis for bugs
  • Performance investigations
  • Examples: "Find why page loads slowly", "Debug intermittent crash"

MIGRATION

  • Data migrations between systems
  • Database schema changes with data transformation
  • Import/export operations
  • Examples: "Migrate user data to new schema", "Import legacy records"

SIMPLE

  • Very small, well-defined changes
  • Single file modifications
  • No architectural decisions needed
  • Examples: "Fix typo", "Update button color", "Change error message"

Complexity Tiers

SIMPLE

  • 1-2 files modified
  • Single service/area
  • No external integrations
  • No infrastructure changes
  • No new dependencies
  • Examples: typo fixes, color changes, text updates, simple bug fixes

STANDARD

  • 3-10 files modified
  • 1-2 services/areas
  • 0-1 external integrations (well-documented, simple to use)
  • Minimal infrastructure changes (e.g., adding an env var)
  • May need some research but core patterns exist
  • Examples: adding a new API endpoint, creating a new component

COMPLEX

  • 10+ files OR cross-cutting changes
  • Multiple services/areas
  • 2+ external integrations
  • Infrastructure changes (Docker, databases, queues)
  • New architectural patterns
  • Greenfield features requiring research
  • Examples: new integrations (Stripe, Auth0), database migrations, new services

Workflow

Phase 1: Load Requirements

Read the requirements document:

# Read the requirements file
cat .claude/context/requirements/[task-name].md

Extract:

  • task_description: What needs to be built
  • workflow_type: Type of work (feature, refactor, etc.)
  • scope: Which areas are affected
  • requirements: Specific requirements
  • acceptance_criteria: How success is measured
  • constraints: Any limitations

Phase 2: Analyze the Task

Read the task description carefully. Look for:

Complexity Indicators (suggest higher complexity):

  • "integrate", "integration" - external dependency
  • "optional", "configurable", "toggle" - feature flags, conditional logic
  • "docker", "compose", "container" - infrastructure
  • Database names (postgres, redis, mongo) - infrastructure + config
  • API/SDK names (stripe, auth0, openai) - external research needed
  • "migrate", "migration" - data/schema changes
  • "across", "all services", "everywhere" - cross-cutting
  • "new service" - significant scope
  • ".env", "environment", "config" - configuration complexity

Simplicity Indicators (suggest lower complexity):

  • "fix", "typo", "update", "change" - modification
  • "single file", "one component" - limited scope
  • "style", "color", "text", "label" - UI tweaks
  • Specific file p
Полный SKILL.md на GitHub

Установить complexity-assessment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep

Вложенные файлы

commands/complexity-assessment.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/complexity-assessment.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

FAQ

Что делает скилл complexity-assessment?

AI-based complexity assessment for task analysis. Use when determining the appropriate workflow, phases, and validation depth for a task.

Как установить скилл complexity-assessment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл complexity-assessment запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить complexity-assessment с