dare-migrate

dare-migrate is a command for Claude Code from dewtech-technologies/dare-method. It costs 0 tokens per session (1,042 once invoked), scanned A, original, MIT.

A migration-planning command for rebuilding a legacy project in a different technology stack. It turns knowledge about the old system into an implementation strategy and Gherkin scenarios, which are plain-language behavior tests.

In plain words
What is it for?
Use it after reverse-engineering a legacy project to define migration steps and parity tests for its modules and behavior.
Why use it?
It preserves the old system’s real behavior during a rewrite instead of relying only on incomplete documentation or generated code skeletons.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it after reverse-engineering a legacy project to define migration steps and parity tests for its modules and behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dewtech-technologies/dare-method/dare-migrate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dare-migrate

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-migrate/github.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-migrate)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-migrate"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-migrate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dare-migrate

Your own site · 80×15
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-migrate"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01042
Opus 5 $0.00000 $0.00521
Sonnet 5 $0.00000 $0.00208
Haiku 4.5 $0.00000 $0.00104

Measured 8d ago against content hash 0903eaf3e10c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

dare-migrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

implementations/claude/.claude/commands/dare-migrate.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/dare-migrate

Camada semântica da migração (Fase 2 brownfield). Roda depois de dare migrate, que já leu os artefatos do reverse/dna e gerou os esqueletos. Sua função é escrever a estratégia de migração e os cenários Gherkin de paridade reais — o contrato comportamental que garante uma reimplementação fiel ao legado.

Equivalente no terminal: dare migrate --ai

Como usar

/dare-migrate

Pré-requisito: rodar dare migrate --to <stack> antes (gera DARE/MIGRATION/MIGRATION.md, migration-facts.json e parity/*.feature). Isso por sua vez exige dare reverse já executado.

Quando usar

  • Projeto legado entendido (reverse + dna feitos) que será reimplementado em outra stack.
  • Acabou de rodar dare migrate e o MIGRATION.md/.feature têm seções <!-- AGENT -->/# AGENT.

O que fazer

1. Carregar contexto (não re-varrer)

  • Leia DARE/MIGRATION/migration-facts.json (origem, alvo, módulos, blocking gaps).
  • Leia DARE/IDEIA.md + DARE/REVERSE/module-*.md (o que cada módulo faz) e DARE/PROJECT-DNA.md (convenções). Abra arquivos-chave do legado só o necessário para inferir comportamento.

2. Preencher DARE/MIGRATION/MIGRATION.md

  • Decisão de Paradigma — origem e alvo mudam de paradigma (procedural→OO, monólito→serviços)? Registre decisão + justificativa; se preservado, diga.
  • Estratégia de Migração — big-bang vs. strangler/parallel-run; ordem dos módulos; feature flags.
  • Registro de Risco — para cada blocking gap (🔴) pré-listado, escreva o tratamento; some os riscos de regressão/dados/performance + mitigações.
  • Arquitetura-alvo — desenhe na stack-alvo, alinhada ao DNA (camadas/convenções) quando o paradigma for preservado; senão justifique a nova organização.
  • Plano de Cutover & Rollback — passos de corte, validação de paridade (rodar os .feature), critério de go/no-go e rollback.

3. Escrever os Gherkin de paridade (parity/<módulo>.feature)

  • Um Scenario por fluxo observável do módulo, derivado do comportamento legado real (não invente). Given estado inicial → When ação → Then resultado idêntico ao legado.
  • Inclua casos de borda e formatação que o legado garante (ex.: arredondamento monetário, máscaras).
  • Esses .feature são o contrato de aceite da reimplementação na stack-alvo.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 75 lines · 0 tokens per session scan A 0903eaf3e10c

Subscribe to this mod's changes

dare-migrate is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,042 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.