agentleFS
brianonbased-devbrianonbased-dev/HoloScript/.claude/skills/migrate/SKILL.md

migrate

Skill10 starsChanged 3 months agoMITView on GitHub

Schema and API migration helper for HoloScript. When breaking changes happen to traits, compilers, or the .holo format, generates migration guides, updates examples, and patches downstream consumers. Ensures backward compatibility or clean breaks.

63 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident, sdd and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JkudjoSkill

    incident

    Production incident response — structured triage, hypothesis tree, safe remediation, incident record

    Also in 4 projects that use this

  • liatrio-labsSkill

    sdd

    Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.

    Also in 4 projects that use this

  • BerryKuipersSkill

    scaffold

    Detect project stack, apply architecture patterns, wire quality gates, and scaffold features. Use when bootstrapping a project, adding a vertical slice, wiring CI/CD, adding Docker compose, or setting up quality gates.

    Also in 4 projects that use this

  • MicrosoftSkill

    init

    Also in 8 projects that use this

  • agenticnotetakingSkill

    upgrade

    Apply plugin knowledge base updates to an existing generated system. Consults the Ars Contexta research graph for methodology improvements, proposes skill upgrades with research justification. Never auto-implements. Triggers on "/upgrade", "upgrade skills", "check for improvements", "update methodology".

    Also in 3 projects that use this

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When HoloScript makes breaking changes (new trait schema, compiler API changes, .holo format updates), this skill helps identify affected …

    line 22
  2. Distinctive:

    Create a migration guide for consumers upgrading between versions.

    line 46
  3. Distinctive:

    Verify all consumers compile after a migration.

    line 65
  4. Very specific:

    Check packages/plugins/ too — plugins are downstream consumers

    line 90

“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/holoscript:migrate — Migration Helper

Command: $ARGUMENTS

Overview

When HoloScript makes breaking changes (new trait schema, compiler API changes, .holo format updates), this skill helps identify affected code and generate migration paths.

Subcommands

detect — Detect Breaking Changes

Analyze recent commits for API surface changes.

cd C:/Users/Josep/Documents/GitHub/HoloScript

echo "=== Public API Changes (since last tag) ==="
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo HEAD~20)
git diff $LAST_TAG..HEAD -- "dist/index.d.ts" "packages/core/src/types/" | head -100

echo "=== Trait Schema Changes ==="
git diff $LAST_TAG..HEAD -- "packages/core/src/constants/" | head -50

echo "=== Compiler Interface Changes ==="
git diff $LAST_TAG..HEAD -- "packages/core/src/compilers/CompilerBase.ts" | head -50

guide — Generate Migration Guide

Create a migration guide for consumers upgrading between versions.

Steps:

  1. Diff public API types between versions
  2. Identify removed/renamed exports
  3. Generate before/after code examples
  4. List required changes per consumer package

patch — Auto-Patch Downstream

Apply mechanical fixes to downstream packages affected by a migration.

cd C:/Users/Josep/Documents/GitHub/HoloScript

# Find all imports of the changed API
grep -r "import.*from.*@holoscript/core" packages/ --include="*.ts" -l

validate — Validate Migration Completeness

Verify all consumers compile after a migration.

cd C:/Users/Josep/Documents/GitHub/HoloScript

# Build everything — any broken import will fail
pnpm build 2>&1 | grep -E "error|Error|failed" | head -20

# Run type check
pnpm tsc --noEmit 2>&1 | head -30

Common Migration Patterns

Change TypeDetectionFix Pattern
Trait renamedgrep old name in constants/Find-replace across trait files
Compiler method signaturediff CompilerBase.tsUpdate all *Compiler.ts subclasses
.holo syntax changeparser test failuresUpdate examples/ and tests/
Package export removeddist/index.d.ts diffAdd re-export or update consumers
Type narrowingtsc --noEmit errorsAdd type guards or casts

Important

  • Never auto-patch without showing the diff first — migrations can be subtle
  • Check packages/plugins/ too — plugins are downstream consumers
  • Trait constants in packages/core/src/constants/ are the most common migration source
  • dist/index.d.ts is hand-crafted via generate-types.mjs — never edit it directly

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.