KS
Killer-Skills

patterns/adapter — Categories.community

v1.0.0
GitHub

About this Skill

Ideal for Integration Agents requiring seamless interface conversions between incompatible modules. An AI Coding Agent

mgreenly mgreenly
[0]
[0]
Updated: 3/1/2026

Quality Score

Top 5%
18
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add mgreenly/ikigai/patterns/adapter

Agent Capability Analysis

The patterns/adapter MCP Server by mgreenly is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Ideal for Integration Agents requiring seamless interface conversions between incompatible modules.

Core Value

Empowers agents to integrate disparate interfaces using the adapter pattern, facilitating mock implementations for testing via weak symbol linking with libraries like libcurl and yyjson.

Capabilities Granted for patterns/adapter MCP Server

Wrapping system calls for mockable interfaces
Adapting LLM providers for unified access
Enabling real implementations in production and mock implementations in tests

! Prerequisites & Limits

  • Requires understanding of interface conversion principles
  • Limited to compatibility with specific libraries and modules
Project
SKILL.md
758 B
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Adapter (Wrapper) Pattern

Convert interface of one module to interface expected by another. Enables integration of incompatible interfaces without modifying either.

ikigai Application

wrapper.h: Adapts system calls to mockable interface:

  • posix_read_() wraps read()
  • curl_easy_perform_() wraps libcurl
  • yyjson_read_file_() wraps yyjson

Purpose: Real implementations in production, mock implementations in tests via weak symbol linking.

LLM providers: Adapt different API formats (OpenAI, Anthropic) to unified internal message format.

Benefit: External dependencies isolated behind stable internal interface. Swap implementations without changing callers.

Testing: Inject failures, control responses, verify calls.

Related Skills

Looking for an alternative to patterns/adapter or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication