Logo Migration Map

Migration Map

Cộng đồng
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).

Tổng quan

Nhà phát hànhpopiliadam
Kho mãplatinum-seo-engine
Tên kỹ năngmigration-map
Sao
26
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được popiliadam công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Migration Map trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/planning/migration-map
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Migration Map trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Migration Map ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Migration Map với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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).

Câu hỏi thường gặp

Kỹ năng AI Migration Map làm được gì?

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...

Vì sao nên dùng Migration Map trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Migration Map là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Migration Map trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/planning/migration-map. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Migration Map?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Migration Map với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Migration Map với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Migration Map có miễn phí không?

Có. Kỹ năng này được popiliadam phát hành trên GitHub theo giấy phép AGPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇