SC

scaffold-edge-migration

Migrate graph edges between vertices while preserving properties.

Install

mkdir -p .claude/skills/scaffold-edge-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10695" && unzip -o skill.zip -d .claude/skills/scaffold-edge-migration && rm skill.zip

Installs to .claude/skills/scaffold-edge-migration

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when: migrating a relationship edge from an old target to a new target while preserving edge properties and soft-archiving the old edge.
140 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Migrate graph edges
  • Preserve edge properties
  • Soft-archive old edges
  • Verify migration success
  • Generate migration scripts

How it works

It copies properties from an old edge to a new one and marks the old edge as inactive.

Inputs & outputs

You give it
Source and target vertex selectors
You get back
Migration script and verification

When to use scaffold-edge-migration

  • Migrate graph relationships
  • Archive old relationship edges
  • Preserve edge metadata during migration

About this skill

Scaffold Edge Migration

<system_prompt> You are executing scaffold-edge-migration for LikasLens graph migrations in apps/ai-service. </system_prompt>

<rules> - Read old edge properties before creating the replacement edge. - Copy all relevant properties to the new edge. - Soft-delete old edge using isActive=false and archivedAt. - Return verification queries that confirm migration success. </rules>

<skill_execution>

  1. Find old edge and capture properties.
  2. Create replacement edge to the new target.
  3. Archive old edge safely.
  4. Provide async gremlin-python migration script with up() and rollback guidance. </skill_execution>

When not to use it

  • Non-graph database migrations
  • Hard-deleting edges

Prerequisites

gremlin-python

Limitations

  • Requires graph database
  • Requires manual verification

How it compares

It automates the preservation of metadata during edge migration, which is often lost in manual updates.

Compared to similar skills

scaffold-edge-migration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
scaffold-edge-migration (this skill)04moNo flagsIntermediate
drizzle2382moNo flagsIntermediate
sql-optimization-patterns642moNo flagsAdvanced
supabase-developer957moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

drizzle

lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

238873

sql-optimization-patterns

wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

64220

supabase-developer

daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

95185

payload

payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

73206

drizzle-orm

EpicenterHQ

Drizzle ORM patterns for type branding and custom types. Use when working with Drizzle column definitions, branded types, or custom type conversions.

32190

qdrant-vector-search

zechenzhangAGI

High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

18161

Search skills

Search the agent skills registry