Migrates existing projects to the AgenticDev structure with AI-powered document analysis, categorization, frontmatter generation, and git history preservation.
Ships in bodangren-git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
To intelligently migrate existing projects (brownfield) to the AgenticDev directory structure using a powerful, AI-assisted workflow. This skill goes beyond simple file moving by leveraging the Gemini CLI to analyze document content, ensuring accurate categorization and the generation of rich, meaningful metadata. It provides a safe, guided migration with discovery, analysis, backup, and validation phases to ensure zero data loss and high-quality results.
Use this skill in the following situations:
docs/, documentation/, wiki/, or markdown files).gemini CLI tool installed and authenticated.doc-indexer skill available for final compliance checking.The skill guides you through a series of phases with interactive approval.
Execute with one of three modes:
Interactive (default) - Review and approve each phase:
bash scripts/project-migrate.sh
Dry-run - Preview the plan without making any changes:
bash scripts/project-migrate.sh --dry-run
Auto-approve - Skip prompts for automation (useful for CI/CD):
bash scripts/project-migrate.sh --auto-approve
Phase 1 & 2 - AI-Powered Discovery and Analysis:
The script scans for all markdown files. For each file, it calls the Gemini CLI to analyze the document's content, not just its filename. This results in a much more accurate categorization of files into types like spec, proposal, adr, etc. The output is a detailed plan mapping each file to its new, correct location in the AgenticDev structure.
Phase 3 - Planning: Shows you the complete, AI-driven migration plan for your approval. You can review source and target mappings before any files are moved.
Phase 4 - Backup:
Creates a timestamped backup directory of your entire docs/ folder and includes a rollback.sh script before any changes are made.
Phase 5 - Migration:
Executes the plan, moving files using git mv to preserve history and creating the necessary directory structure.
Phase 6 - LLM-Based Link Updates: Uses the Gemini CLI to intelligently identify and correct broken or outdated relative links within migrated files. This LLM-based approach is more robust than simple path recalculation, as it understands document context and can handle edge cases that pattern matching might miss.
Phase 7 - Validation: Verifies that all files were migrated correctly, checks link integrity, and validates the new directory structure.
Phase 8 - AI-Powered Frontmatter Generation (Optional):
For files that lack YAML frontmatter, the script uses the Gemini CLI to read the file content and generate rich, doc-indexer compliant frontmatter. This includes a suggested title, the type determined during the analysis phase, and a concise description summarizing the document's purpose.
After successful completion:
doc-indexer skill to verify full documentation compliance.Symptom: The script fails during the "Analysis" or "Frontmatter Generation" phase with an error related to the gemini command.
Solution:
gemini CLI is installed and in your system's PATH.gemini auth.For issues related to permissions, conflicts, or broken links, the script provides detailed error messages and resolution suggestions during its interactive execution. The backup and rollback script is always available for a safe exit.
git mv.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/agent-integratorUse this skill to create or update the root AGENTS.md file to register AgenticDev skills for AI agent discovery. Triggers include "register AgenticDev", "update AGENTS.md", "setup agent guide", or initializing a new project./change-integratorUse this skill after a code PR is merged to integrate approved specs, update the retrospective with learnings, and clean up branches. It now automatically summarizes the retrospective file to keep it concise. Triggers include "integrate change", "post-merge cleanup", or completing a feature implementation./doc-indexerUse this skill at the beginning of any session or when needing to understand available project documentation. Provides just-in-time context by scanning YAML frontmatter from all markdown files in the docs/ directory without loading full content./doc-validatorUse this skill to validate that Markdown files are in standard locations. Scans for .md files outside of predefined allowed directories and outputs warnings to prevent documentation sprawl. Triggers include "validate docs", "check markdown locations", or as part of quality checks./frontend-designCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics./issue-executorUse this skill to start work on a GitHub issue. It synthesizes all relevant context (specs, retrospective, issue details) using the Gemini CLI to generate a step-by-step implementation plan, then creates a feature branch to begin work. Triggers include "start work on issue2 plugins in one repository ship this exact skill · first indexed Jul 8, 2026
/bodangren-git-workflow:project-migratefrom bodangren-git-workflow
bodangren-git-workflow@cascade-code-devops-misc-1 is listed by joshuarweaver/cascade-code-devops-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-1 --plugin bodangren-git-workflow