Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/ideogram-reference-architecture

@0d57af8
Run it yourself

Design an Ideogram service boundary with policy gateway, queue, async state, verified webhooks, polling, moderation, storage, and audit. Use when creating or reviewing a production architecture. Trigger with "architect Ideogram", "design an Ideogram service", or "review an Ideogram system diagram".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/ideogram-reference-architecture

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈83 tokens for metadata: the name and description. ≈971 when used: this file. ≈620 more on demand in 1 file.

Description uses 4.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈333 characters, or 4.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Ideogram Reference Architecture

Overview

Define ownership and data flow for a production Ideogram integration. Keep user authorization, paid vendor authority, request validation, async state, event verification, content review, durable media, and audit evidence as explicit components.

Prerequisites

  • Workload, tenant and identity model, data class, SLO, budget, region, and retention policy.
  • Expected endpoint mix, input sizes, concurrency, publication destinations, and failure modes.
  • Owners for billing, security, moderation, storage, operations, and vendor escalation.

Current Contract

The API uses server-side Api-Key, endpoint-specific multipart requests, sync and async generation, item-level safety, signed async webhooks, polling, and temporary asset URLs. Default capacity is 10 in-flight requests. These contracts require stateful application orchestration even when the product experience is synchronous.

Authentication

Place IDEOGRAM_API_KEY only in a private vendor adapter. The policy gateway authenticates application identities and authorizes tenant, use case, spend, input, output, and destination separately.

Instructions

  1. Define ingress and policy gateway boundaries for identity, tenant, rights, media validation, safety, copyright settings, budget, and admission.
  2. Route accepted work to a durable queue and an account-level concurrency controller.
  3. Use a vendor adapter that owns endpoint schemas, multipart, deadlines, typed errors, and content-free telemetry.
  4. Persist request and generation_id state before async delivery, then reconcile verified webhooks with polling.
  5. Pass safe outputs through a downloader that validates media and stores opaque tenant-scoped objects immediately.
  6. Publish only from the application object store after required review; never authorize from a vendor URL.
  7. Add outbox, audit, deletion, incident, canary, and rollback paths with explicit owners.

Tool Discipline

Use Read, Glob, and Grep to ground the design in the actual repository and infrastructure. Use Write and Edit for approved architecture records or implementation. Do not provision services, create keys, or deploy from a design invocation.

Approval Boundaries

Require accountable review for trust-boundary changes, public ingress, data residency, sensitive media, external publication, retention, spend, and production topology. Record unresolved assumptions as blockers.

Error Handling

  • Keep queue acceptance distinct from vendor acceptance and durable asset completion.
  • Reconcile duplicate or missing events without duplicate paid submissions.
  • Quarantine unsafe, malformed, oversized, or tenant-mismatched media before publication.

Output

Return components, flows, trust boundaries, state model, endpoint choices, SLO and capacity model, data lifecycle, controls, owners, failure paths, open decisions, and rollback architecture. Exclude secret or content examples.

Examples

  • Flow: application client -> policy gateway -> queue -> vendor adapter -> state store -> verified webhook or poller -> safe downloader -> object store -> reviewer -> publisher.
  • Keep audit records content-free while placing regulated media in its approved retention boundary.

Validation

Walk happy, unsafe, throttled, duplicate, missing-webhook, expired-URL, storage-failure, and rollback scenarios. Verify every state and retained datum has one owner and deletion path.

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.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a reference architecture and TypeScript boilerplate for integrating with the Ideogram image generation API, including prompt templating, asset processing with the 'sharp' library, and manifest generation. A low-severity finding regarding prompt interpolation was identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 2 months ago
What it can do
Reads files Edits files
Modelinherit
argument-hint
<workload> <tenant-model> <slo>
version
1.11.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 5 allowed tools
ReadGlobGrepWriteEdit
Other metadata
tags
[
  "saas",
  "ideogram",
  "architecture"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; architecture work is evidence-led and deployment-neutral

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/ideogram-reference-architecture