linktree-upgrade-migration
FeaturedUpgrade Migration for Linktree. Trigger: "linktree upgrade migration".
AI & Automation 2,266 stars
315 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Linktree Upgrade & Migration
## Overview
Linktree provides a link-in-bio platform with APIs for managing profiles, links, and click analytics. The API exposes endpoints for CRUD operations on link trees, individual links, and analytics data. Tracking API changes is critical because Linktree's link schema evolves with new link types (commerce, scheduling, music), analytics response formats change with new metric dimensions, and profile customization fields expand — breaking integrations that sync link performance data to marketing dashboards or automate link management across multiple profiles.
## Version Detection
```typescript
const LINKTREE_BASE = "https://api.linktr.ee/v1";
async function detectLinktreeApiVersion(apiKey: string): Promise<void> {
const res = await fetch(`${LINKTREE_BASE}/profile`, {
headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
});
const version = res.headers.get("x-linktree-api-version") ?? "v1";
console.log(`Linktree API version: ${version}`);
// Check for deprecated link type fields
const linksRes = await fetch(`${LINKTREE_BASE}/links`, {
headers: { Authorization: `Bearer ${apiKey}` },
});
const data = await linksRes.json();
const knownTypes = ["classic", "header", "music", "video", "commerce", "scheduling"];
const activeTypes = [...new Set(data.links?.map((l: any) => l.type) ?? [])];
const unknown = activeTypes.filter((t: string) => !knownTypes.includes(t));
if (unknown.length...
Details
- Author
- jeremylongshore
- Repository
- jeremylongshore/claude-code-plugins-plus-skills
- Created
- 7 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
linktree-core-workflow-a
Execute Linktree primary workflow: Profile & Links Management. Trigger: "linktree profile & links management", "primary linktree workflow".
2,266 Updated today
jeremylongshore AI & Automation Featured
linktree-reference-architecture
Reference Architecture for Linktree. Trigger: "linktree reference architecture".
2,266 Updated today
jeremylongshore AI & Automation Featured
linktree-common-errors
Diagnose and fix Linktree common errors. Trigger: "linktree error", "fix linktree", "debug linktree".
2,266 Updated today
jeremylongshore AI & Automation Solid
linktree-hello-world
Create a minimal working Linktree example. Trigger: "linktree hello world", "linktree example", "test linktree".
2,266 Updated today
jeremylongshore AI & Automation Solid
linktree-install-auth
Install and configure Linktree SDK/API authentication. Use when setting up a new Linktree integration. Trigger: "install linktree", "setup linktree", "linktree auth".
2,266 Updated today
jeremylongshore