aswin-a

AI Integration Builder — Testing skill for Claude Code

Testing community

Prototype: AI turns a SaaS app's API docs into a validated, read-only connector form (no generated code), with prompt-injection safeguards, a bounded test-and-fix loop, evals and cost tracking.

How to install AI Integration Builder

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aswin-a/ai-integration-builder and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Integration Builder does

Prototype: AI turns a SaaS app's API docs into a validated, read-only connector form (no generated code), with prompt-injection safeguards, a bounded test-and-fix loop, evals and cost tracking. Python · Claude.

Alternatives in Testing

  • Crlf — Test for CRLF / HTTP response-splitting and host-header injection — Set-Cookie injection, cache poisoning, res 4.5k ★
  • /test-factory - Test Generated Skills Or Agents — Quick testing helper for generated skills and agents to ensure they work correctly 618 ★
  • Mda — MDA Open Spec — a Markdown superset for agent-facing documents 615 ★

README

AI Integration Builder (prototype)

Point it at an app's API docs (OpenAPI first, prose docs second). It builds a **read-only connector** that pulls the app's **users, status, role and last-active date** into a common user data model.

**The AI does not write code.** It fills in a **declarative connector form**, and a hardened **engine** runs that form. The engine is the same for every app. A non-developer IT admin answers 1–3 questions, connects a token and approves sample records. A bounded test-and-fix loop does the rest.

Take-home prototype for the Senior PM role, Nov 2026. Python 3.10+, **standard library only** (PyYAML is optional, for YAML specs). Worked example: Calendly. Generality example: Okta (recorded responses).

The brief's six items: where each one lives

The brief asks for code that… Where it lives Why there, not in generated code
API client engine.ApiClient: base URL, headers, throttle to the documented req/min Written once and hardened once, so it's correct for every app
Auth setup connection.auth in the form → ApiClient._auth_headers (bearer, API-key header incl. Okta SSWS, basic) The token lives only in the engine, never in a prompt or in code
Retrieve users and usage bootstrap (who-am-i → org id) + users + last_active (user_field or aggregate = max date per user) "Usage" = last active (#10). Its source and confidence are kept per record
Error handling ApiClient.get: 401 → token, 403 → role/scope/plan, 400/404 → AI-fixable, 429/5xx → retry with exponential backoff + jitter, honouring Retry-After / X-RateLimit-Reset Every failure maps to one next step for the admin
Pagination ApiClient.paginate: next_url, link_header, cursor_param, offset, page_number, none; loop detection; dedupe by id Six styles cover nearly every REST API
Logging engine.RunLog: JSON lines, one per request (method, host, path, status, ms); every line passes through