AgentStack
SKILL verified MIT Self-run

Maf Migration Plan Creator

skill-joslat-maf-doctor-maf-migration-plan-creator · by joslat

Generates a complete, ready-to-execute MAF migration plan (migration-plan.md) for any .NET codebase. Used by @maf-auditor (which calls this skill after scanning to produce the plan). Use this skill directly when no migration plan exists yet, or when the existing plan needs to be regenerated after a codebase audit. Provides the canonical template, task ID conventions, and the process for populatin…

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-joslat-maf-doctor-maf-migration-plan-creator

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Maf Migration Plan Creator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

migration-plan-creator

This skill produces a src/docs/migration-plan.md that the MAF Migration Agent can execute immediately — no manual editing needed.

When to Use This Skill

  • Starting a new MAF migration with no existing plan
  • Regenerating a plan after the maf-auditor agent has completed a codebase scan
  • Creating a plan for a different codebase (not the reference implementation)

How to Generate a Plan

Step 1 — Gather inputs

Before filling the template, you need:

  1. Package inventory — current versions from all .csproj files
  2. Source pattern scan results — from maf-auditor Phase C (what old patterns exist, which files, how many occurrences)
  3. API diff output — from dotnet-inspect diff (Phase B)
  4. CS0618 pre-check results — from maf-obsolete-api-registry cross-reference (Phase D)
  5. Fan-out topology — from maf-fan-out-validator pre-check (Phase E)

Step 2 — Assign Task IDs

Tasks are numbered by phase. Use this phase → task ID mapping:

| Phase | Tasks | Description | |-------|-------|-------------| | 1 | T1.1, T1.2, … | Package version updates | | 2 | T2.1, T2.2, … | Namespace changes | | 3 | T3.1, T3.2, … | Instructions/Tools placement | | 4 | T4.1, T4.2, … | Executor migration | | 5 | T5.1, T5.2, … | Session migration | | 6 | T6.1, T6.2, … | Response deserialization | | 7 | T7.1, T7.2, … | Streaming rename | | 8 | T8.1, T8.2, … | Event type rename | | 9 | T9.1, T9.2, … | DevUI/Hosting guard | | 10 | T10.1, T10.2, … | Verification grep checks | | 11 | T11.1, T11.2 | Polish and done |

Step 3 — Fill the template

See template.md in this directory. Every task row must have:

  • Exact file path (relative to repo root)
  • Exact before/after code snippet (copy from source — do not paraphrase)
  • Guide section reference from maf-migration-guide SKILL.md section index
  • % Done: 0%
  • Verified: empty

Step 4 — Order tasks by dependency

Tasks MUST be ordered so that:

  • Packages are updated before any code changes
  • Namespaces are updated before executor migration
  • Source generator package is added before executor classes are created
  • Fan-out executor handlers are migrated before fan-in edges are added
  • DevUI guard is last (it depends on all other tasks completing)

Step 5 — Add verification checks (Phase 10 section)

For every old pattern found in the audit, add a verification grep:

Select-String -Path "src/**/*.cs" -Pattern "ReflectingExecutor" -Recurse

Each grep must return 0 matches after all tasks in the corresponding phase are complete.


Task Row Format

| # | Task ID | Description | % Done | Verified | Notes |
|---|---------|-------------|--------|----------|-------|
| 1 | T1.1    | Update Microsoft.Agents.AI to 1.3.0 in ClaimsCore.Workflows.csproj | 0% | | |

The Verified column gets only after dotnet build passes with the change applied.


What Makes a Good Plan vs. a Bad Plan

| Good plan | Bad plan | |-----------|---------| | Before: agent.GetNewThread() / After: await agent.CreateSessionAsync(ct) | Before: "old session API" / After: "new session API" | | File: src/ClaimsCore.Workflows/Workflows/ClaimsFraudDetectionWorkflow.cs line ~42 | File: "the workflow file" | | Occurrence count: 3 (lines 42, 87, 134) | Occurrence count: "several" | | Guide section: 6 | Guide section: "sessions" | | Risk: High — runtime silent failure if not done before fan-in migration | Risk: not assessed |

Be specific. The migration agent will apply changes mechanically — it needs exact before/after text.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.