/finta-pack:finta-ci-integrationfrom finta-pack
Automates Finta data export and reporting in CI pipelines using GitHub Actions, with unit tests for mocked investor data and integration tests for live API connectivity.
Ships in finta-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up CI/CD for Finta fundraising integrations: run unit tests with mocked investor pipeline data on every PR, validate live API connectivity for round and investor queries on merge to main. Finta centralizes fundraising CRM data including rounds, investor contacts, and pipeline stages, so CI focuses on verifying data sync logic, pipeline stage transitions, and automated investor reporting workflows.
# .github/workflows/finta-ci.yml
name: Finta CI
on:
pull_request:
paths: ['src/finta/**', 'tests/**']
push:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci
- run: npm test -- --reporter=verbose
integration-tests:
if: github.ref == 'refs/heads/main'
needs: unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci
- run: npm run test:integration
env:
FINTA_API_KEY: ${{ secrets.FINTA_API_KEY }}
// tests/finta-service.test.ts
import { describe, it, expect, vi } from 'vitest';
import { summarizeRound } from '../src/finta-service';
const mockRound = {
id: 'round_seed_01',
name: 'Seed Round',
target_amount: 2_000_000,
raised_amount: 1_250_000,
investors: [
{ name: 'Acme Ventures', committed: 500_000, stage: 'committed' },
{ name: 'Beta Capital', committed: 750_000, stage: 'committed' },
],
};
vi.mock('../src/finta-client', () => ({
FintaClient: vi.fn().mockImplementation(() => ({
getRound: vi.fn().mockResolvedValue(mockRound),
listInvestors: vi.fn().mockResolvedValue({ investors: mockRound.investors, total: 2 }),
getPipelineSummary: vi.fn().mockResolvedValue({ stages: { committed: 2, in_progress: 3 } }),
})),
}));
describe('Finta Service', () => {
it('summarizes fundraising round progress', async () => {
const summary = await summarizeRound('round_seed_01');
expect(summary.percentRaised).toBeCloseTo(62.5);
expect(summary.investorCount).toBe(2);
});
});
// tests/integration/finta.integration.test.ts
import { describe, it, expect } from 'vitest';
const hasKey = !!process.env.FINTA_API_KEY;
describe.skipIf(!hasKey)('Finta Live API', () => {
it('lists fundraising rounds', async () => {
const res = await fetch('https://api.finta.io/v1/rounds', {
headers: { Authorization: `Bearer ${process.env.FINTA_API_KEY}` },
});
expect(res.status).toBe(200);
const body = await res.json();
expect(body).toHaveProperty('rounds');
});
});
| CI Issue | Cause | Fix |
|---|---|---|
401 Unauthorized | Invalid API key | Regenerate at finta.io dashboard |
| Empty rounds list | No active fundraising rounds | Create a test round in sandbox |
| Pipeline stage mismatch | Custom stage names in workspace | Fetch stages dynamically with listStages() |
| Rate limit (429) | Burst of API calls in parallel tests | Serialize integration tests or add throttling |
| Investor data stale | Webhook sync delay | Add polling retry for recently updated investors |
For deployment, see finta-deploy-integration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/finta-common-errorsDiagnose and fix common Finta CRM issues with email sync, deal rooms, and pipeline.
Trigger with phrases like "finta error", "finta not working", "fix finta".
/finta-core-workflow-aManage a fundraise pipeline end-to-end with Finta.
Use when running a fundraise, tracking investor conversations,
managing deal rooms, or collecting commitments.
Trigger with phrases like "finta fundraise", "finta pipeline management",
"finta investor tracking", "run fundraise with finta".
/finta-core-workflow-bManage ongoing investor relations and updates with Finta.
Use when sending investor updates, tracking cap table changes,
or maintaining LP relationships post-close.
Trigger with phrases like "finta investor updates", "finta LP management",
"finta post-close", "finta investor relations".
/finta-cost-tuningOptimize Finta plan selection and feature usage.
Trigger with phrases like "finta cost", "finta pricing", "finta plan selection".
/finta-debug-bundleCollect Finta diagnostic information for support.
Trigger with phrases like "finta debug", "finta support".
/finta-deploy-integrationDeploy Finta integrations and reporting dashboards.
Trigger with phrases like "deploy finta", "finta dashboard".
npx claudepluginhub flight505/skill-forge --plugin finta-packOther plugins' skills for the same job