Skip to content
Back to skills

Add Adapter

ASecurity

Add an adapter for an external system (CLI tool, API, file format) behind a port. Use when a use case needs new I/O.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 18, 2026
ai-agentsshellapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add sethdford/shipwright --skill add-adapter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Adapter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Adapter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sethdford-add-adapter/badge)](https://www.skillsdirectory.com/skills/sethdford-add-adapter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-adapter
description: Add an adapter for an external system (CLI tool, API, file format) behind a port. Use when a use case needs new I/O.
---
1. Define or extend the port interface where it is consumed (a context's `ports.ts`, or
   `src/shared/kernel/ports.ts` if several contexts need it). Types only.
2. Write tests in `src/adapters/<system>/<name>.test.ts` with `FakeProcessRunner` / `createTestEnv()`.
3. Implement with `ProcessRunner` (argv, timeout) and validate output with zod. Return `Result`.
   Never build a shell command string from request, issue, PR or model data.
4. Construct it in `src/main.ts` and pass it to the use case.
5. `bun run check` — F5 fails if I/O leaked outside `src/adapters`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.