migrate

Migrate Docent v0.9 runbooks to v1.0 skills with config updates.

Updated Oct 11, 2025
One-click install
npx skills add https://github.com/tnez/docent --skill migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/tnez/docent/tree/main/skills/docent/migrate
Command: npx skills add https://github.com/tnez/docent --skill migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git cli.

What problem does it solve?

Migrating an existing Docent project from an older version to a new architecture can be complex and manual. This Skill automates the conversion of legacy runbooks and templates into the new skills-based format, updates your configuration, and ensures backward compatibility, making the upgrade process seamless and error-free.

Core Features & Use Cases

  • Version Detection: Automatically identifies if a migration is needed.
  • Safe Backup: Creates a timestamped backup of your existing content before any changes.
  • Runbook to Skill Conversion: Transforms old runbooks into the new SKILL.md format, assigning appropriate groups.
  • Configuration Update: Modifies config.yaml to enable the new skills-based architecture.
  • Use Case: You have an older Docent project and want to leverage the latest features. Use this Skill to automatically migrate your custom runbooks to the new skills format, update your configuration, and ensure all your existing knowledge remains functional.

Quick Start

Migrate this Docent project to the latest skills architecture.

Frequently Asked Questions about migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Docent project from version 0.9 to the skills-based architecture?

Migrating to Docent's skills-based architecture converts your existing runbooks into SKILL.md files organized in a .docent/skills directory, updates config.yaml with version and skills configuration, and backs up your legacy content. The migration process automatically detects your project version, transforms runbooks while preserving templates, and ensures backward compatibility.

What happens to my existing runbooks and templates during a Docent upgrade?

During upgrade, runbooks are converted into the new SKILL.md format with proper group detection and frontmatter parsing, while bundled templates remain functional. A timestamped backup of your original content is created before any changes, preserving your legacy files for rollback if needed.

Do I need to manually rewrite my runbooks when upgrading Docent?

No. The migration automatically transforms runbooks into skills format by parsing frontmatter, detecting groups, and generating SKILL.md files. Your content is preserved and reformatted to match the new architecture without manual rewriting.

Can I roll back if the Docent migration doesn't work as expected?

Yes. The migration creates a timestamped backup of your entire .docent directory before making changes, allowing you to restore your original runbooks and configuration if needed.

What's required in my project structure for Docent migration to work?

Your project must have a .docent directory containing runbooks and templates, plus an existing config.yaml file. The migration detects version 0.9 projects and transforms them into v1.0 skills-based structure with proper configuration updates.

Does Docent migration work with git-based projects?

Yes. The migration works with projects using git cli for version control. It modifies your .docent directory and config.yaml while maintaining git compatibility for tracking changes to your migrated skills and configuration.