attio-local-dev-loop

Featured

Set up a fast local development loop for Attio integrations with hot reload, mock server, and integration tests. Trigger: "attio dev setup", "attio local development", "attio dev environment", "develop with attio", "attio project setup".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Attio Local Dev Loop ## Overview Set up a fast, reproducible local development workflow for Attio REST API integrations. Includes project structure, typed client, mock server for offline work, and integration test harness. ## Prerequisites - Completed `attio-install-auth` setup - Node.js 18+ with npm or pnpm - TypeScript 5+ ## Instructions ### Step 1: Project Structure ``` my-attio-integration/ ├── src/ │ ├── attio/ │ │ ├── client.ts # Typed fetch wrapper (see attio-install-auth) │ │ ├── types.ts # Attio response types │ │ └── config.ts # Env-based configuration │ ├── services/ │ │ ├── people.ts # People record operations │ │ ├── companies.ts # Company record operations │ │ └── lists.ts # List entry operations │ └── index.ts ├── tests/ │ ├── mocks/ │ │ └── attio-fixtures.ts # Realistic API response fixtures │ ├── unit/ │ │ └── people.test.ts │ └── integration/ │ └── attio-live.test.ts # Runs against real API (CI only) ├── .env.example ├── .env.local # Git-ignored, real credentials ├── tsconfig.json └── package.json ``` ### Step 2: Type the Attio Response Model ```typescript // src/attio/types.ts /** Attio record identifier */ export interface AttioRecordId { object_id: string; record_id: string; } /** Attio attribute value wrapper */ export interface AttioValue<T = unknown> { active_from: string; active_until: string | null; created_by...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category