instantly-local-dev-loop
Setup guide for local development using mock servers to test Instantly.ai integrations without sending real emails.
Install
mkdir -p .claude/skills/instantly-local-dev-loop && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9366" && unzip -o skill.zip -d .claude/skills/instantly-local-dev-loop && rm skill.zipInstalls to .claude/skills/instantly-local-dev-loop
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Configure Instantly.ai local development with mock server and test workflows.Key capabilities
- →Configure mock server for local testing
- →Write integration tests for API endpoints
- →Expose local webhook servers via ngrok
- →Manage environment-aware configuration
How it works
Uses a mock server at the developer API endpoint to simulate Instantly API responses, allowing developers to test integration logic without consuming real API limits or sending emails.
Inputs & outputs
When to use instantly-local-dev-loop
- →Setting up a local mock server environment
- →Testing integration logic safely without real emails
- →Developing webhook handlers locally
- →Writing integration tests for Instantly workflows
About this skill
Instantly Local Contract Loop
Overview
Develop safely without relying on an undocumented vendor mock endpoint or sending real outreach. Record assumptions, evidence, approval state, and rollback ownership so another operator can reproduce the result.
Prerequisites
- The target repository, Instantly workspace, environment, and accountable owner
- Current security, privacy, compliance, capacity, and change-control requirements
- An approved API v2 key only when a bounded live verification is necessary
Tool Discipline
Use Read, Glob, and Grep to inspect code, configuration, and evidence. Use WebFetch only for current first-party Instantly documentation and package metadata. Use Write or Edit only when implementation was requested and exact target files are known; never write credentials, lead data, email content, or unrestricted environment output.
Current Contract
- The documentation exposes interactive examples but does not establish a durable public mock API contract.
- Use local fakes and captured synthetic schemas for deterministic tests.
- Live probes require a staging workspace, read-only scopes, and bounded requests.
Authentication
Use an API v2 key as Authorization: Bearer <key> against https://api.instantly.ai/api/v2. Grant only the endpoint-specific scopes needed, inject the key from an approved server-side secret manager, and never print, persist, commit, or place it in a URL. Treat key creation, rotation, revocation, member changes, workspace delegation, and production access as owner-approved actions.
Instructions
- Inventory routes and generate or pin types from the official OpenAPI surface.
- Create local fake responses for success, 401, 403, 429, pagination, and malformed data.
- Use synthetic leads and messages; never copy production payloads into fixtures.
- Run unit and contract tests without network access.
- Optionally run one owner-approved read-only staging probe.
- Update fixtures only after reviewed schema evidence and record the source date.
Approval Boundaries
Do not create, rotate, reveal, or revoke keys; invite or remove members; delegate across workspaces; connect sending accounts; create or activate campaigns; import or delete leads; change suppression or retention; register, patch, resume, or delete webhooks; alter plans or paid capacity; transmit diagnostics; or perform another production mutation without explicit approval from the accountable owner. Keep diagnosis read-only unless implementation was requested.
Output
Return the workspace-safe scope, files and contracts inspected, exact API v2 routes and required scopes, evidence collected, validation result, sensitive fields redacted, remaining risk, accountable owner, approval state, and rollback or next action.
Error Handling
| Condition | Response |
|---|---|
401 | Stop and verify that the bearer key exists, is current, and was not revoked. |
403 | Stop and compare the operation with its exact required scope; do not broaden to all:all by default. |
429 | Coordinate the workspace-wide budget, honor endpoint overrides, and bound retries. |
| Schema or tenant mismatch | Fail closed, preserve redacted evidence, and do not retry a mutation. |
Examples
Use a compact handoff that makes scope, mutation authority, and evidence reviewable.
Input:
mode=offline; fixture=campaign-list; network=false
Expected handoff:
unit=pass; contract=pass; staging=skipped
Resources
When not to use it
- →Testing against production data
- →Sending real emails during development
Prerequisites
Limitations
- →Mock server may have schema mismatches
- →ngrok free tier has a 2-hour tunnel limit
How it compares
Enables local integration testing against a mock server instead of relying on live production API calls.
Compared to similar skills
instantly-local-dev-loop side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| instantly-local-dev-loop (this skill) | 0 | 2mo | Caution | Intermediate |
| twinmind-local-dev-loop | 1 | 2mo | Caution | Beginner |
| write-test | 1 | 7mo | Review | Advanced |
| deepgram-hello-world | 1 | 2mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
twinmind-local-dev-loop
jeremylongshore
Set up local development workflow with TwinMind API integration. Use when building applications that integrate TwinMind transcription, testing API calls locally, or developing meeting automation tools. Trigger with phrases like "twinmind dev setup", "twinmind local development", "twinmind API testing", "build with twinmind".
write-test
useautumn
Write integration tests for the Autumn billing system. Use when creating tests, writing test scenarios for billing/subscription features, track/check endpoints, or when the user asks about testing, test cases, or QA.
deepgram-hello-world
jeremylongshore
Create a minimal working Deepgram transcription example. Use when starting a new Deepgram integration, testing your setup, or learning basic Deepgram API patterns. Trigger with phrases like "deepgram hello world", "deepgram example", "deepgram quick start", "simple transcription", "transcribe audio".
groq-hello-world
jeremylongshore
Create a minimal working Groq example. Use when starting a new Groq integration, testing your setup, or learning basic Groq API patterns. Trigger with phrases like "groq hello world", "groq example", "groq quick start", "simple groq code".
speak-hello-world
jeremylongshore
Create a minimal working Speak language learning example. Use when starting a new Speak integration, testing your setup, or learning basic Speak API patterns for language tutoring. Trigger with phrases like "speak hello world", "speak example", "speak quick start", "simple speak lesson".
exa-local-dev-loop
jeremylongshore
Configure Exa local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Exa. Trigger with phrases like "exa dev setup", "exa local development", "exa dev environment", "develop with exa".