When you want to bring an existing service (a third-party API, a library, an in-house microservice) into an iii system without rewriting it, wrap it in a thin worker that exposes the service's capabilities as iii functions. The worker translates between the existing service's interface and the iii function-call shape.
Scanned 9/3/2026
Install to Claude Code
npx -y skills add iii-hq/iii --skill patterns --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Patterns?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/iii-hq-patterns-723dc60f)More formats (shields.io, HTML) on the badges page.
<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/0-17-0/patterns/adapter-pattern.mdx. -->
# Adapter Pattern
When you want to bring an existing service (a third-party API, a library, an in-house microservice)
into an iii system without rewriting it, wrap it in a thin worker that exposes the service's
capabilities as iii functions. The worker translates between the existing service's interface and
the iii function-call shape.
## When to use this pattern
When you have an existing service you want to use from iii without rewriting it, and you want
callers to address it the way they address every other worker (by function ID, not by HTTP or
library-specific call shapes).
## Structure
A thin iii worker that:
1. Connects to the engine.
2. Registers one function per operation you want to expose.
3. Inside each handler, calls the existing service and returns the result as the function's
response.
{/* TODO: full worked example wrapping a real third-party API (e.g. Stripe, OpenAI, internal REST service) as an iii worker. Include the function ID conventions, error mapping from the wrapped service to iii function errors, and how to handle authentication / secrets. */}
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.