hubspot-reference-architecture

Featured

Implement a production-ready HubSpot integration architecture with layered design. Use when designing new HubSpot integrations, reviewing project structure, or establishing architecture standards for HubSpot CRM applications. Trigger with phrases like "hubspot architecture", "hubspot project structure", "hubspot integration design", "hubspot best practices layout", "hubspot layers".

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

# HubSpot Reference Architecture ## Overview Production-ready layered architecture for HubSpot CRM integrations with typed clients, service abstraction, caching, and webhook handling. ## Prerequisites - TypeScript 5+ project - `@hubspot/api-client` v13+ installed - Understanding of layered architecture patterns ## Instructions ### Step 1: Project Structure ``` my-hubspot-integration/ ├── src/ │ ├── hubspot/ # HubSpot infrastructure layer │ │ ├── client.ts # Singleton @hubspot/api-client wrapper │ │ ├── types.ts # HubSpot-specific types │ │ ├── errors.ts # Error classification │ │ ├── cache.ts # Response caching │ │ └── associations.ts # Association type constants │ ├── services/ # Business logic layer │ │ ├── contact.service.ts # Contact CRUD + business rules │ │ ├── deal.service.ts # Deal pipeline operations │ │ ├── company.service.ts # Company management │ │ └── sync.service.ts # Data synchronization │ ├── api/ # API layer │ │ ├── routes/ │ │ │ ├── contacts.ts # REST endpoints │ │ │ ├── deals.ts │ │ │ └── webhooks.ts # Webhook receiver │ │ └── middleware/ │ │ ├── auth.ts # Request auth │ │ └── webhook-verify.ts # HubSpot signature verification │ ├── jobs/ # Background jobs │ │ ├── sync-conta...

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