Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/miro-migration-deep-dive

@0d57af8
Run it yourself

Plan and implement a reversible client migration from v1 widgets and relationships to v2 item endpoints with translation and shadow comparison. Use when modernizing a legacy Miro REST integration. Trigger with "miro v1-to-v2 resource migration".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/miro-migration-deep-dive

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈68 tokens for metadata: the name and description. ≈832 when used: this file. ≈268 more on demand in 1 file.

Description uses 3.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈272 characters, or 3.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Miro v1-to-v2 Resource Migration

Overview

Modernize legacy resources without changing OAuth unnecessarily or flattening distinct v2 item schemas; use the evidence produced here to make the next decision explicit and reviewable.

Prerequisites

  • Approved Miro application, tenant, and board scope
  • Current repository and deployment evidence
  • Named owner, success criteria, and rollback or recovery boundary

Tool Discipline

Use Read, Glob, and Grep to inspect the repository, configuration names, adapters, tests, and evidence. Use WebFetch only for current official Miro documentation. Use Write or Edit after confirming the requested mode, target environment, tenant, board, and approval boundary. These declared tools do not call authenticated Miro APIs or deployment CLIs; implement client, configuration, and test changes, then return exact operator commands or an approval-gated handoff for live execution.

Current Contract

  • OAuth /v1/oauth is outside the resource migration.
  • v2 replaces generic widgets with item-type endpoints.
  • Connection objects became direct actions such as sharing.
  • Several collections changed from offset to cursor pagination.

Authentication

For REST work, use OAuth 2.0 Authorization Code with the narrowest Miro scopes. Bind each encrypted token record to its user, application, authorized team, and granted scopes. Never print access tokens, refresh tokens, client secrets, authorization codes, or board content.

Instructions

  1. Inventory v1 endpoints, widgets, connections, pagination, timestamps, and consumers.
  2. Map each operation to official v2 behavior and record no-equivalent cases.
  3. Build typed translators retaining IDs, types, relationships, and unsupported fields.
  4. Run v1/v2 shadow reads and compare normalized semantic state.
  5. Canary bounded writes with read-after-write and rollback.
  6. Cut over incrementally and remove v1 resource code only after retained evidence.

Approval Boundaries

Bulk board copies, sharing changes, v1 data deletion, and OAuth changes require service and board-owner approval. Pause when the responsible owner or exact target is uncertain.

Output

Return scope, observed contract, proposed or completed actions, verification evidence, approvals, residual risks, and next owner. State what was not inspected or changed so the receipt cannot overclaim coverage.

Error Handling

Condition Response
Tenant or board context mismatches Stop before mutation and quarantine the credential mapping.
Current docs contradict the implementation Treat the official current contract as a blocker and design an explicit migration.
A mutation result is ambiguous Reconcile state before retrying.
Required evidence is unavailable Return a blocked decision with the smallest safe next probe.

Examples

The example is a redacted operator receipt; identifiers are hashes or bounded labels, not board content or credentials.

v1-calls=14; mapped=12; redesigned=2; shadow=4300-equal; canary=3; legacy=0

Resources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a structured methodology for migrating Miro API integrations from v1 to v2. It includes strong emphasis on security best practices like secret management, scope minimization, and human-in-the-loop approvals for sensitive operations. No malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[legacy-surface] [cohort]
version
1.9.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "miro",
  "migration",
  "rest-v2"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; live work requires an authorized Miro app and redacted evidence

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/miro-migration-deep-dive