Skip to content
Back to skills

Docs Migration Pipeline

ASecurity

Migrate three legacy Markdown docs into Starlight-compatible migration candidates inside an isolated temp repo. Use when you need stage receipts, crash recovery, resume validation, or deterministic candidate packaging without touching real user docs.

  • 2,638 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
ai-agentsnode

Security analysis

A100/100

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

Scanned August 31, 2026

npx -y skills add LearnPrompt/LearnPrompt --skill docs-migration-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Migration Pipeline?

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

Security grade badge for Docs Migration Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/learnprompt-docs-migration-pipeline/badge)](https://www.skillsdirectory.com/skills/learnprompt-docs-migration-pipeline)

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: docs-migration-pipeline
description: Migrate three legacy Markdown docs into Starlight-compatible migration candidates inside an isolated temp repo. Use when you need stage receipts, crash recovery, resume validation, or deterministic candidate packaging without touching real user docs.
---

# docs-migration-pipeline

This skill orchestrates a five-stage migration candidate pipeline:

1. `inventory`
2. `normalize`
3. `transform`
4. `validate`
5. `package-candidate`

Required reading before execution:

- `references/stage-contract.md`

Deterministic commands:

- Run the pipeline:
  - `node .agents/skills/docs-migration-pipeline/scripts/run-pipeline.mjs`
- Simulate a crash after `transform`:
  - `node .agents/skills/docs-migration-pipeline/scripts/run-pipeline.mjs --scenario crash-after-transform`
- Resume after a checkpoint:
  - `node .agents/skills/docs-migration-pipeline/scripts/run-pipeline.mjs --resume`
- Verify receipt integrity:
  - `node .agents/skills/docs-migration-pipeline/scripts/verify-receipts.mjs`

Execution rules:

- Only work inside this isolated fixture repo.
- Never overwrite files in `legacy/`.
- All stage receipts must include `input_sha`, `output_sha`, `command`, `exit_code`, `status`, and stable sequence fields.
- A resume may reuse a stage only when the prior receipt is intact and its `input_sha` still matches the current inputs.
- If input hashes drift, stop with stale-resume exit `32`.
- If a required receipt is missing or corrupt, stop with receipt-issue exit `33`.
- The final artifact is a migration candidate package, not a published doc.

Files in this skill

  • SKILL.md1.6 KB
  • assets/receipt-template.md121 B
  • references/stage-contract.md1.5 KB
  • scripts/run-pipeline.mjs16.6 KB
  • scripts/verify-receipts.mjs2.6 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.