From hootsuite-pack
Provides Hootsuite reference architecture and TypeScript project layout for API integrations with OAuth, token refresh, scheduling, and media handling. Use for new integrations or structure reviews.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin hootsuite-packThis skill is limited to using the following tools:
```
Applies typed clients, scheduling helpers, and patterns for Hootsuite REST API in TypeScript and Python. Use for integrations, refactoring, or standards.
Guides HubSpot CRM integration architectures: embedded client for MVPs (<50K API calls/day), service layer with queues/cache for growth (50K-300K), and gateway patterns for scale.
Provides Late API reference for scheduling posts across 13 social media platforms like Twitter, Instagram, LinkedIn. Covers authentication, endpoints, webhooks, media, analytics.
Share bugs, ideas, or general feedback.
┌──────────────────────────────────────┐
│ Your Application │
├──────────────────────────────────────┤
│ Content Manager → Scheduler → Publisher │
├──────────────────────────────────────┤
│ Hootsuite API Client │
│ (OAuth, Token Refresh, Rate Limit) │
├──────────────────────────────────────┤
│ Hootsuite REST API v1 │
│ platform.hootsuite.com/v1/ │
└──────────────────────────────────────┘
hootsuite-integration/
├── src/
│ ├── hootsuite/
│ │ ├── client.ts # API client with token management
│ │ ├── auth.ts # OAuth 2.0 flow
│ │ ├── publishing.ts # Message scheduling + media
│ │ ├── analytics.ts # Metrics + URL shortening
│ │ └── types.ts # TypeScript interfaces
│ ├── services/
│ │ ├── scheduler.ts # Content calendar logic
│ │ ├── content.ts # Post formatting per platform
│ │ └── media.ts # Media processing + upload
│ ├── api/
│ │ └── schedule.ts # REST endpoint
│ └── store/
│ └── tokens.ts # Persistent token storage
├── tests/
│ ├── unit/
│ └── fixtures/
└── .env.example
| Decision | Recommendation | Why |
|---|---|---|
| Token storage | Database/KV, not env vars | Refresh tokens change each use |
| Scheduling | Queue-based, not direct API | Rate limit compliance |
| Media upload | Pre-process images | Reduce REJECTED media states |
| Multi-profile | Batch schedule per profile | Separate errors per profile |
Start with hootsuite-install-auth to set up OAuth.