project-migrate

Migrate project documentation to AgenticDev structure with git history preservation.

Updated Sep 11, 2024
One-click install
npx skills add https://github.com/Reading-Advantage-Thailand/www-reading-advantage --skill project-migrate-reading-advantage-thailand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-migrate
Source: https://github.com/Reading-Advantage-Thailand/www-reading-advantage/tree/main/.claude-old/skills/project-migrate
Command: npx skills add https://github.com/Reading-Advantage-Thailand/www-reading-advantage --skill project-migrate-reading-advantage-thailand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gemini-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of migrating existing project documentation into the structured AgenticDev format, ensuring accuracy and preserving history.

Core Features & Use Cases

  • AI-Powered Discovery: Intelligently analyzes document content to categorize files accurately (specs, proposals, ADRs, etc.).
  • Safe Migration: Creates full backups and provides rollback scripts to ensure zero data loss.
  • Git History Preservation: Uses git mv to maintain file history.
  • Automated Link Correction: Employs LLMs to fix broken or outdated relative links within migrated files.
  • Rich Frontmatter Generation: Automatically generates metadata for discovered documents.
  • Use Case: You have an existing project with scattered documentation. Use this Skill to automatically organize it into docs/specs/, docs/changes/, and docs/, while intelligently updating links and adding metadata.

Quick Start

Run the project-migrate script with bash scripts/project-migrate.sh to begin the migration process.

Frequently Asked Questions about project-migrate

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

FAQPage Schema
How do I migrate existing documentation to a new directory structure automatically?

Automating documentation migration to a new directory structure uses AI-driven analysis to categorize, move, and update files safely. It handles backup creation and git history preservation while organizing scattered documents into standardized folders.

How does AI content analysis work for project file migration?

AI content analysis for file migration uses LLMs to evaluate document content and categorize files into specs, proposals, or ADRs. It automatically generates rich frontmatter metadata and fixes broken relative links within the migrated documents.

Do I need Gemini CLI to run this documentation migration process?

Yes, Gemini CLI is a required dependency to execute this documentation migration process. It provides the necessary LLM capabilities for content analysis, categorization, and automated link correction during the file movement workflow.

Can I preserve git history when moving markdown files into a new folder structure?

Yes, you can preserve git history when moving markdown files by using git mv commands during the migration. This ensures version control tracking remains intact while files are reorganized into the new directory structure.

What is the best way to fix broken relative links after moving documentation files?

The best way to fix broken relative links after moving documentation files is through LLM-based automated link correction. It analyzes the new file locations and updates internal references to ensure all document paths remain valid post-migration.

What happens if a file conflict is detected during the documentation migration?

When a file conflict is detected during documentation migration, the process creates full backups and provides rollback scripts to ensure zero data loss. This safe migration approach allows you to restore the original state if any issues arise.