hubspot-local-dev-loop

Featured

Configure HubSpot local development with testing and sandbox accounts. Use when setting up a development environment, mocking HubSpot APIs, or establishing a fast iteration cycle for HubSpot integrations. Trigger with phrases like "hubspot dev setup", "hubspot local development", "hubspot test sandbox", "develop with hubspot", "mock hubspot".

AI & Automation 2,266 stars 315 forks Updated today 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

# HubSpot Local Dev Loop ## Overview Set up a fast local development workflow for HubSpot integrations with sandbox accounts, mocking, and test utilities. ## Prerequisites - Completed `hubspot-install-auth` setup - Node.js 18+ with npm/pnpm - HubSpot developer test account (free at developers.hubspot.com) ## Instructions ### Step 1: Create Project Structure ``` my-hubspot-project/ ├── src/ │ ├── hubspot/ │ │ ├── client.ts # Singleton @hubspot/api-client wrapper │ │ ├── contacts.ts # Contact operations │ │ ├── deals.ts # Deal operations │ │ └── types.ts # HubSpot type definitions │ └── index.ts ├── tests/ │ ├── mocks/ │ │ └── hubspot.ts # Shared mock factory │ ├── contacts.test.ts │ └── deals.test.ts ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team ├── tsconfig.json └── package.json ``` ### Step 2: Create Client Singleton ```typescript // src/hubspot/client.ts import * as hubspot from '@hubspot/api-client'; let instance: hubspot.Client | null = null; export function getHubSpotClient(): hubspot.Client { if (!instance) { if (!process.env.HUBSPOT_ACCESS_TOKEN) { throw new Error('HUBSPOT_ACCESS_TOKEN environment variable is required'); } instance = new hubspot.Client({ accessToken: process.env.HUBSPOT_ACCESS_TOKEN, numberOfApiCallRetries: 3, }); } return instance; } // Reset client (useful for tests) export functi...

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

hootsuite-local-dev-loop

Configure Hootsuite local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Hootsuite. Trigger with phrases like "hootsuite dev setup", "hootsuite local development", "hootsuite dev environment", "develop with hootsuite".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-local-dev-loop

Configure SalesLoft local development with API mocking and sandbox testing. Use when setting up a development environment, building integration tests, or creating mock SalesLoft API responses for offline development. Trigger: "salesloft dev setup", "salesloft local", "test salesloft locally".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-local-dev-loop

Configure Apollo.io local development workflow. Use when setting up development environment, testing API calls locally, or establishing team development practices. Trigger with phrases like "apollo local dev", "apollo development setup", "apollo dev environment", "apollo testing locally".

2,266 Updated today
jeremylongshore
AI & Automation Featured

intercom-local-dev-loop

Configure Intercom local development with testing, mocking, and hot reload. Use when setting up a development environment, writing tests against the Intercom API, or establishing a fast iteration cycle. Trigger with phrases like "intercom dev setup", "intercom local development", "intercom dev environment", "develop with intercom", "test intercom locally".

2,266 Updated today
jeremylongshore
AI & Automation Featured

bamboohr-local-dev-loop

Configure BambooHR local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with BambooHR API. Trigger with phrases like "bamboohr dev setup", "bamboohr local development", "bamboohr dev environment", "develop with bamboohr", "bamboohr mock".

2,266 Updated today
jeremylongshore