Command Palette

Search for a command to run...

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

implementation-phase

БесплатноБез исполняемых скриптовНе проверен

Executes implementation tasks using Test-Driven Development, prevents code duplication through anti-duplication checks, and maintains quality through…

marcusgollот marcusgoll★ 97 звёзд на GitHub9 установок в других каталогах

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

Execute tasks from tasks.md using Test-Driven Development, preventing code duplication, and maintaining high quality.

Inputs: tasks.md (20-30 tasks), plan.md (implementation plan) Outputs: Implemented code, test suites, updated tracking files Expected duration: 2-10 days (varies by complexity)

Execute implementation tasks systematically:
  1. Load tech stack constraints from docs/project/tech-stack.md
  2. Review task dependencies in tasks.md for parallel work
  3. Generate test suite using test-architect (complex features)
  4. Execute tasks using TDD (RED → GREEN → REFACTOR)
  5. Update task status in NOTES.md after completion
  6. Run anti-duplication checks before writing new code
  7. Run tests + type-check after each task triplet
  8. Validate type safety with type-enforcer (TypeScript)
  9. Validate security with security-sentry (auth/API/uploads)
  10. Commit implementation with descriptive messages

Key principle: Test first, implement second. Never write code without tests.

Before starting implementation:

  • Tasks phase completed (tasks.md exists with 20-30 tasks)
  • Plan phase completed (plan.md exists with reuse strategy)
  • Development environment set up (dependencies installed)
  • Test framework configured (Jest, Pytest, etc.)
  • Git working tree clean (no uncommitted changes)

Validate environment with test run before proceeding.

**Load Tech Stack Constraints**

Before writing any code, load technology constraints from docs/project/tech-stack.md:

# Read tech stack documentation
cat docs/project/tech-stack.md

# Extract: database, framework, libraries, deployment platform

Prevents hallucinating wrong technologies (e.g., suggesting MongoDB when PostgreSQL required).

See resources/tech-stack-validation.md for validation checklist.

**Review Task Dependencies**

Analyze tasks.md for dependency relationships:

# Look for dependencies in tasks.md

T001: Create User model [no dependencies]
T002: Create AuthService [depends: T001]
T003: Create LoginController [depends: T002]

Identify parallel work opportunities:

  • Independent tasks can run concurrently
  • Dependent tasks must run sequentially

See resources/task-batching.md for parallel execution strategy.

**Generate Test Suite (Complex Features)**

For complex features (>10 tasks, multiple components), use test-architect agent:

# Launch test-architect to convert acceptance criteria → tests
# Agent reads tasks.md acceptance criteria
# Generates comprehensive test suite (unit + integration + E2E)

Benefits:

  • Tests written before implementation (pure TDD)
  • Coverage of happy paths, edge cases, error conditions
  • Executable specification from acceptance criteria

See resources/tdd-workflow.md#test-architect for detailed usage.

**Execute Tasks Using TDD**

For each task, follow RED → GREEN → REFACTOR cycle:

RED (Write Failing Test):

def test_user_can_login_with_valid_credentials():
    """Test user authentication with correct email/password"""
    user = create_user(email="[email protected]", password="secure123")
    result = auth_service.login("[email protected]", "secure123")

    assert result.success is True
    assert result.user.email == "[email protected]"
    assert result.token is not None

GREEN (Minimal Implementation):

def login(email, password):
    user = User.query.filter_by(email=email).first()
    if user and user.check_password(password):
        token = generate_jwt(user.id)
        return LoginResult(success=True, user=user, token=token)
    return LoginResult(success=False)

REFACTOR (Clean Up):

  • Extract magic values to constants
  • Remove duplication
  • Improve naming
  • Add error handling

See resources/tdd-workflow.md for complete RED → GREEN → REFACTOR guide.

**Update Task Status**

After completing each task, update NOTES.md:

## Implementation Progress

- [x] T001: Create User model (45min, 2025-11-19 10:00)
- [x] T002: Create AuthService (60min, 2025-11-19 11:30)
- [ ] T003: Create LoginController (est. 30min)

Track velocity for remaining tasks:

  • Average time per task
  • Estimated completion date
  • Blockers and dependencies

See resources/task-tracking.md for velocity tracking formulas.

**Run Anti-Duplication Checks**

Before writing new code, search for existing implementations:

# Search for similar functions
grep -r "function login" src/

# Search for similar components
grep -r "class AuthService" src/

# Search for similar patterns
grep -r "validate_email" src/

If found:

  • Reuse existing code (DRY principle)
  • Extract to shared utility if needed
  • Refactor duplicated logic

See resources/anti-duplication-checks.md for search patterns.

**Continuous Testin
Полный SKILL.md на GitHub

Установить implementation-phase в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

resources/anti-duplication-checks.mdresources/commit-strategy.mdresources/common-mistakes.mdresources/continuous-testing.mdresources/task-batching.mdresources/task-tracking.mdresources/tdd-workflow.mdresources/tech-stack-validation.md

FAQ

Что делает скилл implementation-phase?

Executes implementation tasks using Test-Driven Development, prevents code duplication through anti-duplication checks, and maintains quality through continuous testing. Use when implementing features from tasks.md, during the /implement phase, or when the user requests TDD-based implementation. (project)

Как установить скилл implementation-phase?

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

Скилл implementation-phase запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить implementation-phase с