ideogram-local-dev-loop
Configure an offline-capable development loop for Ideogram projects.
Install
mkdir -p .claude/skills/ideogram-local-dev-loop && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8265" && unzip -o skill.zip -d .claude/skills/ideogram-local-dev-loop && rm skill.zipInstalls to .claude/skills/ideogram-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 Ideogram local development with mock responses and testing.Key capabilities
- →Configure typed Ideogram API clients
- →Implement mock servers for offline development
- →Write automated integration tests with Vitest
- →Manage environment secrets
- →Establish fast iteration loops
How it works
The skill provides a TypeScript client wrapper and a mock server function that returns static image data, allowing developers to build and test integration logic without consuming API credits.
Inputs & outputs
When to use ideogram-local-dev-loop
- →Setting up mock responses for development
- →Configuring fast iteration workflows
- →Writing automated integration tests
- →Environment secret management
About this skill
Ideogram Fixture-First Development Loop
Overview
Develop the Ideogram boundary against owned request and response contracts before spending credit. Model multipart fields, asynchronous lifecycle states, unsafe outputs, transient errors, and expiring URLs as fixtures so the fast loop remains deterministic and privacy-safe.
Prerequisites
- The repository's adapter seam, test runner, fixture policy, and data classification.
- Sanitized synthetic examples for success, unsafe output, validation failure, throttling, and terminal failure.
- An opt-in live-smoke flag that is disabled by default and on untrusted forks.
Current Contract
Current generation surfaces include V4 synchronous and asynchronous routes, transparent variants, P-Image, and V3 compatibility routes. Async work returns a generation_id; status is reconciled by appending that returned value to GET /v1/generations/ or by receiving a webhook. Returned asset URLs are temporary.
Authentication
Fixtures must not contain credentials. When a separately approved live lane runs, inject IDEOGRAM_API_KEY server-side and send it only in the Api-Key header to the configured first-party host.
Instructions
- Read the adapter and enumerate request fields, response variants, error classes, and storage side effects.
- Create sanitized fixtures for sync success, async submission, in-progress polling, safe and unsafe completion,
400,401,422,429, and503. - Test multipart construction by field name and file metadata without snapshotting secrets or customer content.
- Verify idempotent status reconciliation, duplicate webhook handling, bounded polling, URL download, and durable object persistence.
- Keep the paid live smoke behind an explicit environment flag, trusted context, credit ceiling, and synthetic prompt.
- Compare live response shape to fixtures, update only reviewed schema drift, and record cleanup.
Tool Discipline
Use Read, Glob, and Grep to locate adapters, fixtures, and test commands. Use Write and Edit for approved test and adapter changes. Do not infer permission to call Ideogram, upload an image, spend credit, or retain generated media.
Approval Boundaries
Offline fixture work is safe by default. Require approval before any live request, use of production credentials, customer-derived input, shared bucket write, fixture refresh from real responses, or deployment.
Error Handling
- Reject fixtures containing key-like values, raw customer prompts, image bytes, or live URLs.
- Keep retry tests deterministic by injecting clocks and jitter rather than sleeping.
- Treat unrecognized response fields as explicit drift evidence; do not silently discard safety or billing signals.
Output
Return adapter path, fixture inventory, assertion counts, deterministic command and result, live-lane status, detected contract drift, sensitive-data scan result, and cleanup state. Exclude prompts, images, credentials, and expiring URLs.
Examples
- Test that
is_image_safe=falseproduces no download attempt and a reviewable policy result. - Test async transitions
submitted -> processing -> terminalwith duplicate delivery and polling fallback.
Validation
Run the narrowest test command twice, confirm identical results, scan fixtures for secrets and URLs, and ensure the live lane remains disabled on forks. Verify temporary files and objects are removed after the test.
Resources
- Current first-party evidence map — use the dated endpoint, webhook, billing, team, and training links as the contract index for this workflow.
- Recheck the endpoint-specific page and current OpenAPI description before relying on an enum, limit, beta feature, or lifecycle claim.
- Record live observations as environment-specific evidence, not as universal vendor guarantees.
When not to use it
- →When testing production-specific rate limits or real-world latency
Prerequisites
Limitations
- →Mock responses do not reflect actual model generation quality
- →Requires manual maintenance of mock data structures
How it compares
It enables offline development and testing by decoupling the application logic from the live Ideogram API.
Compared to similar skills
ideogram-local-dev-loop side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ideogram-local-dev-loop (this skill) | 0 | 2mo | Review | Intermediate |
| nestjs-expert | 37 | 8mo | Review | Advanced |
| openevidence-local-dev-loop | 1 | 2mo | Caution | Beginner |
| test-nodebridge-handler | 1 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
nestjs-expert
davila7
Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js authentication. Use PROACTIVELY for any Nest.js application issues including architecture decisions, testing strategies, performance optimization, or debugging complex dependency injection problems. If a specialized expert is a better fit, I will recommend switching and stop.
openevidence-local-dev-loop
jeremylongshore
Set up local development environment for OpenEvidence integration. Use when configuring development workflow, setting up testing environment, or creating a rapid iteration loop for clinical AI development. Trigger with phrases like "openevidence dev setup", "openevidence local", "openevidence development", "openevidence testing environment".
test-nodebridge-handler
neovateai
Use this skill when testing NodeBridge handlers using `bun scripts/test-nodebridge.ts`, including listing available handlers and passing parameters
node
dannybrown37
Invoke when the user is writing or debugging TypeScript or JavaScript code, working with Node.js tooling, or asking about ESLint/Prettier configuration.
supabase-developer
daffy0208
Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.