Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

finta-upgrade-migration

БесплатноБез исполняемых скриптовНе проверен

Handle Finta platform updates and data migration. Trigger with phrases like "finta upgrade", "finta migration".

jeremylongshoreот jeremylongshore★ 2 961 звезда на GitHub

Об этом скилле

Finta Upgrade & Migration

Overview

Finta is a fundraising CRM built for founders managing investor pipelines, deal rooms, and investor updates. The API exposes endpoints for funding rounds, investor contacts, and deal room documents. Tracking API changes matters because Finta evolves its data model around fundraising workflows — field renames in round stages, investor contact schema updates, and deal room permission changes can break integrations that sync pipeline data to external analytics or reporting tools.

Prerequisites

  • Current vendor release information and an inventory of the integrations, exports, and field mappings affected.
  • A versioned backup or approved recovery export, with access limited to migration owners.
  • A staging environment using fictitious data, a change owner, and an explicit rollback decision point.

Instructions

  1. Compare the current supported interface and release notes with the actual fields your integration consumes; do not rely on illustrative code as a contract.
  2. Classify every mapping as compatible, transformed, removed, or unknown, and require review for unknown data.
  3. Run schema and permission checks in staging with synthetic records, including an idempotent retry and rollback rehearsal.
  4. Promote with a small, monitored canary; keep the previous mapping available until reconciliation passes.
  5. Reconcile aggregate record counts and approved business totals, investigate mismatches, and obtain sign-off before decommissioning the prior path.

Version Detection

const FINTA_BASE = "https://api.trustfinta.com/v1";

async function detectFintaApiVersion(apiKey: string): Promise<void> {
  const res = await fetch(`${FINTA_BASE}/rounds`, {
    headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
  });
  const data = await res.json();
  const apiVersion = res.headers.get("x-finta-version") ?? "unknown";
  console.log(`Finta API version: ${apiVersion}`);

  // Check for deprecated fields in round objects
  const knownFields = ["id", "name", "stage", "target_amount", "raised_amount", "investors", "created_at"];
  if (data.rounds?.[0]) {
    const actual = Object.keys(data.rounds[0]);
    const deprecated = knownFields.filter((f) => !actual.includes(f));
    const added = actual.filter((f) => !knownFields.includes(f));
    if (deprecated.length) console.warn(`Removed fields: ${deprecated.join(", ")}`);
    if (added.length) console.log(`New fields: ${added.join(", ")}`);
  }
}

Migration Checklist

  • Review Finta changelog for breaking changes to round or investor endpoints
  • Audit codebase for hardcoded round stage values (e.g., "pre-seed", "series-a")
  • Verify investor contact schema — check for firm vs. organization field rename
  • Update deal room document upload endpoint if file size limits changed
  • Test investor update email delivery via API (template format may change)
  • Validate webhook payloads for round status change events
  • Migrate CSV import mappings if column headers were renamed
  • Check OAuth token expiry and refresh behavior for API key rotation
  • Update pipeline stage enum values if Finta added custom stage support
  • Run data export and re-import test to verify round-trip data integrity

Schema Migration

// Finta round schema evolved: flat stage string → structured stage object
interface OldRound {
  id: string;
  name: string;
  stage: string; // "pre-seed", "seed", "series-a"
  target_amount: number;
  raised_amount: number;
  investors: string[]; // investor IDs
}

interface NewRound {
  id: string;
  name: string;
  stage: { key: string; label: string; order: number }; // structured stage
  target: { amount: number; currency: string };
  raised: { amount: number; currency: string };
  investors: Array<{ id: string; committed_amount: number }>;
  updated_at: string;
}

function migrateRound(old: OldRound): NewRound {
  const stageMap: Record<string, { label: string; order: number }> = {
    "pre-seed": { label: "Pre-Seed", order: 1 },
    seed: { label: "Seed", order: 2 },
    "series-a": { label: "Series A", order: 3 },
  };
  return {
    id: old.id,
    name: old.name,
    stage: { key: old.stage, ...stageMap[old.stage] ?? { label: old.stage, order: 0 } },
    target: { amount: old.target_amount, currency: "USD" },
    raised: { amount: old.raised_amount, currency: "USD" },
    investors: old.investors.map((id) => ({ id, committed_amount: 0 })),
    updated_at: new Date().toISOString(),
  };
}

Rollback Strategy

class FintaClient {
  constructor(private apiKey: string, private version: "v1" | "legacy" = "v1") {}

  private get baseUrl(): string {
    return `https://api.trustfinta.com/${this.version}`;
  }

  async getRounds(): Promise<any> {
    try {
      const res = await fetch(`${this.baseUrl}/rounds`, {
        headers: { Authorization: `Bearer ${this.apiKey}` },
      });
      if (!res.ok) t
Полный SKILL.md на GitHub

Установить finta-upgrade-migration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep

FAQ

Что делает скилл finta-upgrade-migration?

Handle Finta platform updates and data migration. Trigger with phrases like "finta upgrade", "finta migration".

Как установить скилл finta-upgrade-migration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл finta-upgrade-migration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить finta-upgrade-migration с