salesloft-local-dev-loop

Featured

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

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

# SalesLoft Local Dev Loop ## Overview Set up a local development workflow for SalesLoft integrations with API mocking, environment separation, and fast iteration. SalesLoft has no official sandbox -- use test data tagging and request recording for safe development. ## Prerequisites - Completed `salesloft-install-auth` setup - Node.js 18+ with Vitest - Separate SalesLoft test workspace (recommended) ## Instructions ### Step 1: Create API Client Wrapper ```typescript // src/salesloft/client.ts import axios, { AxiosInstance } from 'axios'; export function createClient(token?: string): AxiosInstance { return axios.create({ baseURL: process.env.SALESLOFT_BASE_URL || 'https://api.salesloft.com/v2', headers: { Authorization: `Bearer ${token || process.env.SALESLOFT_API_KEY}`, 'Content-Type': 'application/json', }, }); } ``` ### Step 2: Create Fixtures from Real API Shape ```typescript // tests/fixtures/salesloft.ts export const mockPerson = { data: { id: 1001, display_name: 'Test User', email_address: 'test@example.com', first_name: 'Test', last_name: 'User', title: 'Engineer', phone: '+1-555-0100', company_name: 'Acme Corp', tags: ['dev_test'], created_at: '2025-01-15T10:00:00Z', }, }; export const mockPeopleList = { data: [mockPerson.data], metadata: { paging: { per_page: 25, current_page: 1, total_pages: 1, total_count: 1 } }, }; export const mockCadence = { data: { id: 500, name: 'Test Outbound', team_cadence...

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