Skip to content
Back to skills

Vibe Slice Migrator

ASecurity

Progressively migrates legacy prototype routes and features to a clean architecture layer slice-by-slice, verifying them against characterization tests, running purity/drift checks, and executing completion certifications.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill vibe-slice-migrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vibe Slice Migrator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vibe Slice Migrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-vibe-slice-migrator/badge)](https://www.skillsdirectory.com/skills/richfrem-vibe-slice-migrator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vibe-slice-migrator
description: Progressively migrates legacy prototype routes and features to a clean architecture layer slice-by-slice, verifying them against characterization tests, running purity/drift checks, and executing completion certifications.
---

# Vertical Slice Migration (vibe-slice-migrator)

Progressively migrates legacy prototype routes and features to a clean architecture layer slice-by-slice.

## Contents
- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- Enforce strict inward dependency directions: Infrastructure -> Application -> Domain.
- Absolute safety pre-check: If slice touches Auth, Billing, Crypto, or Compliance, halt immediately.
- 100% characterization test pass rate required before deprecating any legacy code path.

## Quick start
1. Target discrete route or feature slice and calculate migration risk score.
2. Port business rules to `/domain` and use-case orchestrators to `/application`.
3. Verify with characterization suite and delegate certification to `certification-verifier`.

## Workflow
1. **Isolate Boundary**: Scope a single vertical slice and conduct safety pre-checks.
2. **Implement Core**: Move pure entities into `/domain` and application use-cases into `/application`.
3. **Infrastructure Adapters**: Implement repository and network adapters satisfying domain port interfaces.
4. **Governance Audits**: Verify domain purity (zero framework imports) and check semantic drift against `specs/REQS.md`.
5. **Safety Tests**: Run characterization suite to prove zero behavioral regressions.
6. **Deprecate & Certify**: Mark slice certified and safely retire legacy route.

## Verification
- Confirm 100% of characterization tests pass for the migrated slice.
- Validate domain purity score is 100% with zero third-party I/O imports.
- Ensure all business invariants from `specs/REQS.md` remain satisfied.

## References
- [acceptance-criteria.md](references/acceptance-criteria.md)
- [architecture-rules.md](references/architecture-rules.md)

Files in this skill

  • SKILL.md6.4 KB
  • acceptance-criteria.md1.1 KB
  • evals/evals.json788 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…