juicesharp/rpiv-mono/migrate-to-guidance

Claude Code and agent skill by juicesharp/rpiv-mono

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Migrate a project's inline CLAUDE.md files to the .rpiv/guidance/ shadow-tree system. Finds every CLAUDE.md, transforms internal references, and creates equivalent architecture.md files under .rpiv/guidance/. Use when the user wants to move from inline CLAUDE.md to the guidance shadow tree, consolidate scattered CLAUDE.md files into one place, or invokes /migrate-to-guidance.

Install

npx vskill@latest install juicesharp/rpiv-mono/migrate-to-guidance

SKILL.md

The same SKILL.md was published earlier as juicesharp/rpiv-mono/migrate-to-guidance.

Migrate CLAUDE.md to Guidance

You are tasked with migrating a project's existing CLAUDE.md files (typically created by /skill:annotate-inline) into the .rpiv/guidance/ system.

The migration relocates files from in-place CLAUDE.md to .rpiv/guidance/{path}/architecture.md and transforms internal cross-references.

Input

$ARGUMENTS — optional --delete-originals flag to remove the source CLAUDE.md files after migration.

Steps to follow:

  1. Pre-flight check:
  • Use Glob to find all **/CLAUDE.md files in the project
  • If none are found, inform the user: "No CLAUDE.md files found in this project. Nothing to migrate." and stop
  • If .rpiv/guidance/ already exists, note this — there may be conflicts
  1. Dry run — preview the migration:
  • Run the migration script in dry-run mode:

`` node scripts/migrate.js --project-dir "${CWD}" --dry-run ``

  • Parse the JSON output from stdout and present a migration plan to the user:

``` ## Migration Plan

Found {N} CLAUDE.md files to migrate:

SourceTargetLines
CLAUDE.md.rpiv/guidance/architecture.md45
src/core/CLAUDE.md.rpiv/guidance/src/core/architecture.md78
.........

```

  • If there are conflicts (targets that already exist), list them:

``` ### Conflicts (targets already exist):

  • .rpiv/guidance/src/core/architecture.md

Use --force to overwrite these. ```

  • If there are warnings (unresolved prose references), list them:

``` ### Warnings:

  • .rpiv/guidance/architecture.md line 23: Prose reference may need manual update

```

  • Ask the user for confirmation before proceeding. Ask whether they want to:
  • Delete the original CLAUDE.md files after migration (--delete-originals)
  • Overwrite existing conflicts (--force)
  1. Execute the migration:
  • Build the command based on user choices:

`` node scripts/migrate.js --project-dir "${CWD}" [--delete-originals] [--force] ``

  • Run the migration and parse the JSON output
  • Present the results:

``` ## Migration Complete

SourceTargetLinesRefs Updated
CLAUDE.md.rpiv/guidance/architecture.md453
src/core/CLAUDE.md.rpiv/guidance/src/core/architecture.md781
............

Total: {N} files migrated {Originals deleted: yes/no} ```

  1. Post-migration:
  • If warnings exist about unresolved prose references:
  • Read the affected guidance files
  • Offer to fix the remaining references using contextual knowledge of the project structure
  • Print the closing footer (verbatim, with placeholders filled):

`` Migration complete: {N} files migrated to .rpiv/guidance/. {Originals deleted: yes/no} Verification: run claude` in the project and read a source file to confirm guidance injection works.


💬 Follow-up: describe targeted edits in chat; re-run /skill:migrate-to-guidance with different flags (--force, --delete-originals) for a different migration shape.

Next step: /skill:annotate-guidance — refresh or extend annotations now that the guidance tree owns them (skip if no further annotation is planned).

> 🆕 Tip: start a fresh session with /new first — chained skills work best with a clean context window. ```

Important notes:

  • The migration script handles all file operations — do not manually copy or move CLAUDE.md files
  • Content format is preserved as-is (same markdown structure, same <important if> blocks)
  • Only cross-references between files are transformed (CLAUDE.md paths → .rpiv/guidance/ paths)
  • The script outputs JSON to stdout — parse it for structured results
  • Debug logs go to stderr (visible with claude --verbose)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
658
Repository forks
121
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/juicesharp/rpiv-mono/migrate-to-guidance/badge)](https://verified-skill.com/skills/juicesharp/rpiv-mono/migrate-to-guidance)

Something wrong with this skill or its page? Tell us.