---
name: scaffold-adapter
description: Generate a new framework adapter (LangChain, LlamaIndex, LangGraph, CrewAI) from the base template.
user_invocable: true
args: framework
argument-hint: "langchain|llamaindex|langgraph|crewai"
---

# Scaffold Adapter

Generate a new framework adapter from `src/etch/adapters/base.py` and any existing adapter as a template.

## Status

Implementation pending — this skill completes in a dedicated pass once the first real adapter (likely LangChain) exists as a reference.

When ready, this skill will:
1. Read `src/etch/adapters/base.py` for the interface contract
2. Read the most complete existing adapter as the template
3. Generate `src/etch/adapters/{{framework}}.py` with stubs for all required methods
4. Generate `tests/unit/test_adapter_{{framework}}.py` with test stubs
5. Run `make test-unit` to verify no import errors
