hootsuite-local-dev-loop

Featured

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".

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

# Hootsuite Local Dev Loop ## Overview Set up a development workflow for Hootsuite API integrations with mocked API responses, token management, and testing. ## Instructions ### Step 1: Project Structure ``` hootsuite-integration/ ├── src/ │ ├── hootsuite/ │ │ ├── client.ts # API client with token refresh │ │ ├── auth.ts # OAuth 2.0 flow │ │ ├── publishing.ts # Message scheduling │ │ └── analytics.ts # Metrics retrieval │ └── index.ts ├── tests/ │ ├── fixtures/ # Mock API responses │ │ ├── profiles.json │ │ └── messages.json │ └── publishing.test.ts ├── .env.local └── package.json ``` ### Step 2: API Client with Auto Token Refresh ```typescript // src/hootsuite/client.ts import 'dotenv/config'; class HootsuiteClient { private accessToken: string; private refreshToken: string; private expiresAt: number; private base = 'https://platform.hootsuite.com/v1'; constructor() { this.accessToken = process.env.HOOTSUITE_ACCESS_TOKEN!; this.refreshToken = process.env.HOOTSUITE_REFRESH_TOKEN!; this.expiresAt = Date.now() + 3600000; } async request(path: string, options: RequestInit = {}) { if (Date.now() > this.expiresAt - 60000) await this.refresh(); const response = await fetch(`${this.base}${path}`, { ...options, headers: { 'Authorization': `Bearer ${this.accessToken}`, 'Content-Type': 'application/json', ...options.headers }, }); if (!response.ok) throw new Erro...

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

hubspot-local-dev-loop

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-local-dev-loop

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

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
AI & Automation Featured

hex-local-dev-loop

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

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-local-dev-loop

Configure Klaviyo 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 the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

2,266 Updated today
jeremylongshore