Migration Map logo

Migration Map

Community
popiliadam
migration-map

Use when: kullanıcı "migration map", "redirect map", "site taşıma", "URL değişikliği", "301 haritası", "domain taşıma", "redirect planı", "eski URL'leri yeni URL'lere yönlendir", "migration verify", "redirect doğrula" der ya da /pseo-migration-map çağırır. Free (paid MCP yok) — SF export + master.xlsx okur. Also use when: bir site/CMS/domain taşıması planlanıyor; eski-site SF crawl inventory'si alındı; operatör bir url-mapping.csv (+ opsiyonel regex mapping-rules.json) sağladı; bulgular master.xlsx#redirect_404'e key=url merge ile yazılacak (plan modu) veya post-launch crawl ile doğrulanacak (verify modu); 301 haritası + sunucu-config snippet'leri + faz-geçit checklist raporda üretilecek (recommendation-only, operatör deploy eder). Do not use when: tek-URL retire/sunset (content-remediation, R-90/R-91, ayrı — bu skill BULK harita yapar); SF export yok (sf-import önce, DURUR); robots.txt/ noindex denetimi (robots-policy-audit); master.xlsx yokken (init-project önce); GSC'ye sitemap submit / Change-of-Address (operatör-only, motor YAZMAZ).

Overview

Publisherpopiliadam
Repositoryplatinum-seo-engine
Skill namemigration-map
Stars
26
Forks
3
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by popiliadam on GitHub. Read the source before you install it.

Installation

Install the Migration Map AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/planning/migration-map
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git /tmp/platinum-seo-engine
mkdir -p .claude/skills
cp -r /tmp/platinum-seo-engine/skills/planning/migration-map .claude/skills/migration-map
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Migration Map in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Migration Map on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Migration Map is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

migration-map — planning skill (GAP-T4, FREE)

Site-migration / redirect-map playbook per rules/tech-seo-governance.md R-134 (Migration Redirect-Map Contract), R-135 (Migration Phase Gate), R-136 (Post-Migration Verification & Rollback Watch). SF's redirect_chains is a Tier-1 export collected on every crawl but consumed by nothing; this skill turns it (plus the old-site inventory + an operator mapping seed) into a one-to-one redirect map and a post-launch verification.

Recommendation-only (R-135). The engine produces the map + the verification; the operator deploys (htaccess/nginx/platform snippets are recommendations, emitted as report text). The engine NEVER writes to client infrastructure, NEVER calls mcp__gsc__submit_sitemap, and NEVER auto-triggers Change-of-Address (no API exists — GSC UI is operator-only). The Excel write is behind the standard request_approval gate. Scope fence: content-remediation owns single-URL retire (R-90/R-91); this skill handles the BULK map and never re-issues a single-URL retire.

Modes (input mode, enum-in-description per W-F3 D1)

  • plan — read the old-site inventory + the operator seed, expand explicit pairs + ordered regex rules over the full inventory, lint, and write redirect_404 rows (status: TODO). A mode value that is neither plan nor verify → DURUR (the skill refuses with an explanation, never guesses).
  • verify — read the post-launch crawl (redirect_chains.csv + response_codes_all.csv), confirm each map row resolves old → single-hop 301 → 200, and update matching redirect_404 rows' status (DONE for verified; rows stay TODO/ONGOING otherwise). R-136 cadence (T+1d / T+7d / T+30d) is a report checklist, not a scheduler.

Outputs

  • master.xlsx#redirect_404 — {url, inlinks, action, target_url, status} rows (action carries 301/410 per R-91 convention; status = statusEnum). Written via scripts/util/sheet_merge.merge_keyed_rows(..., key_column="url") — idempotent re-runs replace the same url keys in place and preserve foreign rows (sf_projection's own redirect_404 rows survive). sf-import's transaction.replace wipes the sheet → re-run after every sf-import.
  • outputs/reports/{date}-migration-map.md — map stats + unmapped triage table + lint findings + server-config snippet section + the R-135 phase-gate checklist (incl. the Change-of-Address line when the domain changes) + (verify) the verification table + rollback recommendation.
  • events.jsonl — append_provenance(source.kind="sf_csv", operation="project_excel", target_excel_sheet="redirect_404").

Body protocol

Mirrors tech-audit's shape minus the budget pre-flight (this skill is free).

  1. create_run — workflow_runner.create_run(skill="migration-map", mode=...).
  2. read inputs — resolve sf-exports/{date}/raw/; plan: read internal_all.csv (Address + Inlinks) + the seed *-url-mapping.csv (old_url,new_url,action) + optional *-mapping-rules.json (validated against schemas/migration-mapping.schema.json); read master.xlsx#gsc_performance (url/clicks, read-only) for traffic-critical detection. verify: read redirect_chains.csv + response_codes_all.csv from the post-launch export.
  3. transform (pure) —
    python
    from scripts.planning import migration_map_transform as mmt
    # plan
    out = mmt.build_map(inventory_rows, mapping_pairs, mapping_rules, gsc_rows,
                        homepage_collapse_pct=homepage_collapse_pct)
    # verify
    res = mmt.verify_map(redirect_rows, redirect_chain_rows, response_rows)
    build_map lints loops/self-redirects (RED), chains > 3 hops, homepage-collapse %, traffic-critical-unmapped, duplicate-target fan-in — and never silently drops an old URL (every one is a row or listed in unmapped, R-134). verify_map flags 302/307-leaks, chains > 3 hops, 4xx/5xx regressions, and redirect-to-homepage drift (R-136), with a RedirectChainsSchemaDriftError guard on column drift.
  4. request_approval — request_approval(...) ("N redirect satırı master.xlsx#redirect_404'e yazılsın mı?"); skill EXIT awaiting_approval.
  5. write_excel — on approve, sheet_merge.merge_keyed_rows(master_xlsx, "redirect_404", out["redirect_rows"], key_column="url", run_id=..., project_slug=..., writer="migration-map") (plan), or update matching rows' status (verify).
  6. render_report — render_template.py templates/reports/migration-map.template.md → outputs/reports/{date}-migration-map.md (server-config snippets + phase-gate checklist as recommendation text).
  7. provenance event — append_provenance(source.kind="sf_csv", operation="project_excel", target_excel_sheet="redirect_404", rows_written=...).
  8. deployment confirmation (operator-gated) — only after the operator explicitly confirms the redirects are deployed, emit events_writer.append_work(event_type="redirect_deployed", task_id=...) (event_kind=work). This is gated on the approval/confirm step and is never autonomous — the engine does not deploy and does not assume deployment. Until confirmed, rows stay TODO.
  9. complete — workflow_runner.complete(...) with string-typed outputs.

DURUR conditions

Stop and flag the manager — do not patch, do not fabricate.

  1. mode is neither plan nor verify (refuse with explanation — never guess a mode).
  2. plan: internal_all.csv (inventory) missing — run sf-import first.
  3. plan: the operator mapping seed (*-url-mapping.csv) absent — a bulk map needs the operator's old→new decisions (an LLM session may DRAFT the seed; the engine does not invent targets).
  4. verify: redirect_chains.csv missing, or its Address column absent (RedirectChainsSchemaDriftError) — re-export with default columns.
  5. master.xlsx#redirect_404 row schema mismatch on write (RowSchemaError).
  6. Loops / self-redirects in the proposed map (lint.verdict == "RED") — surface for operator resolution before any deploy.
  7. PSEO_WORKSPACE_ROOT unset and no workspace_root arg.

Cross-references

  • Rules: rules/tech-seo-governance.md (R-134 / R-135 / R-136); rules/content-update-discipline.md (R-91 single-URL 301/410 — the content-remediation scope fence).
  • Transform: scripts/planning/migration_map_transform.py (build_map, verify_map, MigrationMapError, RedirectChainsSchemaDriftError).
  • Write path: scripts/util/sheet_merge.py (merge_keyed_rows, key=url).
  • Schemas: schemas/master-excel.schema.json#redirect_404 (5-col + statusEnum), schemas/migration-mapping.schema.json (optional regex rules), schemas/events.schema.json (redirect_deployed work event — enum-legal, no change).
  • Template: templates/reports/migration-map.template.md.
  • Command: commands/pseo-migration-map.md.
  • Downstream: master-task-sync (optional follow-up tasks via primary_source: "redirect_404"), indexing-ping (sitemap-submit recommendation — operator-consent gated), drift-check.

Discipline checklist

  • Recommendation-only — engine never deploys, never submits sitemaps, never auto Change-of-Address (R-135).
  • Free — budget.uses_paid_mcp=false; GSC reads are cost-0 and optional.
  • Never silently drops a URL — every old URL is a redirect row or listed unmapped (R-134).
  • Schema-first — frontmatter validates against skill-frontmatter.schema.json; redirect_404 rows validate against master-excel.schema.json#redirect_404.
  • Plugin-agnostik — no slug literals; pure two-mode transform.
  • Idempotent write — merge_keyed_rows replaces the same url keys in place; foreign sf_projection rows preserved.
  • redirect_deployed event gated on operator confirm — never autonomous (append-only via events_writer).
  • Scope fence — BULK map only; content-remediation owns single-URL retire (R-90/R-91).

Frequently asked questions

What does the Migration Map AI skill do?

Use when: kullanıcı "migration map", "redirect map", "site taşıma", "URL değişikliği", "301 haritası", "domain taşıma", "redirect planı", "eski URL'leri yeni URL'lere yönlendir", "migration verify", "redirect doğrula" der ya da /pseo-migration-map çağırır. Free (paid MCP yok) — SF export + master.xlsx okur. Also use when: bir site/CMS/domain taşıması planlanıyor; eski-site SF crawl inventory'si alındı; operatör bir url-mapping.csv (+ opsiyonel regex mapping-rules.json) sağladı; bulgular master.xlsx#redirect_404'e key=url merge ile yazılacak (plan modu) veya post-launch crawl ile doğrulanaca...

Why use Migration Map on TypingMind?

Because you install it once and use it with any model. Migration Map is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Migration Map in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/planning/migration-map. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Migration Map?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Migration Map?

As many as you like. As long as a model supports skills, you can use Migration Map with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Migration Map AI skill free?

Yes. It is published on GitHub by popiliadam under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇