claude

strict-migration

Enforces strict implementation standards during refactoring and migration. Prevents dummy code, hardcoding, and scope creep with real user simulation testing.

0 on GitHubby chanhokimv1.1.0MITupdated 10 months ago
/

Plugin strict-migration from marketplace strict-migration-marketplace in chkim-su/migration. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (2)

  • solid-design-rules

    SOLID principles and TDD enforcement rules for maintainable software design. Reference when analyzing code quality, planning refactoring, or validating architectural decisions.

  • strict-implementation-rules

    Strict implementation enforcement rules. MVP/Full scope enforcement, anti-dummy rules, and real testing requirements. MUST be referenced during all migration and refactoring work.

Slash commands (5)

  • /strict-migration:analyze

    Quick SOLID and implementation quality analysis. Returns violation report without making changes. Use before planning migration.

  • /strict-migration:audit

    Run implementation audit to detect dummy code, hardcoding, TODOs, and incomplete implementations. Returns PASS/FAIL verdict. Use before testing or task completion.

  • /strict-migration:bootstrap

    Install strict-migration enforcement system into target project. MUST run before /migrate.

  • /strict-migration:migrate

    Strict migration workflow with full enforcement system. State machine tracking, gate checkpoints, quality gates, and mandatory two-phase testing.

  • /strict-migration:status

    Show current migration status, progress, and next required action

Subagents (8)

  • auto-recovery

    Automatic recovery agent that fixes common violations detected by auditor. Attempts auto-fix before user intervention.

  • implementation-auditor

    Strict implementation auditor that detects dummy code, hardcoding, incomplete implementations, and scope violations. MUST be called before any test execution and before task completion. Returns PASS/FAIL verdict.

  • migration-planner

    Plans safe migration strategies with change containment. Creates step-by-step refactoring plans that respect MVP/Full scope selection. Each step must be independently testable and reversible.

  • simulation-test-runner

    Phase 2 test runner for real user simulation. Executes actual user journeys with real service calls. NO MOCKING ALLOWED. Use after static tests pass.

  • solid-analyzer

    Analyzes code for SOLID principle violations. Use when checking code quality, reviewing architecture, or preparing for refactoring. Returns detailed violation report with file:line references.

  • static-test-runner

    Phase 1 test runner for static analysis. Runs syntax validation, type checking, linting, and unit tests with mocks. Fast feedback cycle - use before simulation testing.

  • test-orchestrator

    Orchestrates two-phase testing by coordinating static-test-runner and simulation-test-runner. BOTH phases MUST pass. Phase 2 simulation is MANDATORY.

  • workflow-controller

    Master workflow controller that orchestrates the entire migration process. Ensures all phases complete in sequence and enforces gate transitions.

Hooks (19)

  • PreToolUse

    echo '❌ BLOCKED: Creating manual workarounds is not allowed.' && echo '' && echo 'You are trying to create .migration/ manually instead of using the enforcement system.' && echo '' && echo 'REQUIRED:

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && echo 'Run bootstrap.sh first, then /migrate.' && exit 1) && bash scripts/enforce-workflow.sh require-workflow

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && echo 'You MUST install scripts/ before running agents.' && echo '' && echo 'Run:' && echo ' export STRICT_MI

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && echo 'Install scripts/ before running test agents.' && exit 1) && bash scripts/enforce-workflow.sh require-wo

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && exit 1) && bash scripts/enforce-workflow.sh require-workflow 'implementation audit'

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && exit 1) && bash scripts/enforce-workflow.sh require-workflow 'SOLID analysis' && bash scripts/enforce-workflo

  • PreToolUse

    [ -f scripts/state-machine.sh ] || (echo '❌ BLOCKED: Enforcement system not installed.' && exit 1) && bash scripts/enforce-workflow.sh require-workflow 'migration planning'

  • PreToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/enforce-workflow.sh is-initialized >/dev/null 2>&1 || echo 'INFO: Writing code without strict-migration tracking.'

  • PreToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/enforce-workflow.sh is-initialized >/dev/null 2>&1 || echo 'INFO: Editing code without strict-migration tracking.'

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh pass-gate final_audit_passed && bash scripts/state-machine.sh complete-phase final_audit && echo '✓ Final audit PASSED - Testing now al

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh set 'gates_passed.final_audit_passed' 'false'; echo '❌ AUDIT FAILED - Testing BLOCKED until audit passes.'

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh pass-gate static_tests_passed && bash scripts/state-machine.sh complete-phase phase1_testing && bash scripts/enforce-workflow.sh record

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh set 'gates_passed.static_tests_passed' 'false'; echo '❌ Phase 1 FAILED - Phase 2 is BLOCKED.'

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh pass-gate simulation_tests_passed && bash scripts/state-machine.sh complete-phase phase2_testing && bash scripts/enforce-workflow.sh re

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh set 'gates_passed.simulation_tests_passed' 'false'; echo '❌ Phase 2 SIMULATION FAILED - Completion BLOCKED.'

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh complete-phase solid_analysis || true

  • PostToolUse

    [ -f scripts/state-machine.sh ] && bash scripts/state-machine.sh complete-phase migration_planning || true

  • Stop

    [ -f scripts/state-machine.sh ] && bash scripts/enforce-workflow.sh verify-completion 2>/dev/null || (echo '' && echo '═══════════════════════════════════════════════════════════' && echo ' ⚠️ COMPL

  • Notification

    [ -f scripts/state-machine.sh ] && bash scripts/progress-tracker.sh compact 2>/dev/null || true

View source on GitHub

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

ecc

claudecodex

Harness-native ECC operator layer - 71 agents, 314 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses

200 skills · 98 commands · 71 agents · 1 MCP server · hooks

affaan-m/ECC 302,088

agent-skills

claudecodex

Production-grade engineering skills covering every phase of software development: spec, plan, build, verify, review, and ship.

25 skills · 4 agents

addyosmani/agent-skills 116,782

Design fluency for frontend development. 1 skill with 24 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.

1 skill · 4 agents · hooks

pbakaus/impeccable 109,099

Agentic QE (external: maintained in proffesor-for-testing/agentic-qe, pinned to v3.15.17): a quality-engineering fleet with 11 QE agents, 9 skills, 9 commands, the agentic-qe MCP server pinned to the plugin version, and the aqe-mod guard that refuses destructive operations on AQE learning data

9 skills · 9 commands · 11 agents · 1 MCP server

ruvnet/ruflo 81,589

Maintain strict-migration?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted