# Review Provider

> Review Provider is an Agent Skill for testing & quality published in the adaline/gateway repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Review a provider implementation for correctness and consistency with other providers

- Skill name: `review-provider`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/adaline/gateway/blob/HEAD/.claude/skills/review-provider/SKILL.md
- Repository: adaline/gateway (600 GitHub stars when collected)

## SKILL.md

Review the provider at `core/providers/$ARGUMENTS/` for:

1. **Structure compliance**: Verify it has `src/configs/`, `src/models/`, `src/provider/` directories
2. **Type safety**: Check all Zod schemas are properly defined and exported
3. **Error handling**: Verify provider errors are mapped to `GatewayError` subclasses
4. **Package.json**: Check `@adaline/types` and `@adaline/provider` are `workspace:*` dependencies
5. **Build**: Verify `tsup.config.ts` produces ESM + CJS + types output
6. **Exports**: Check the package exports from `src/index.ts` correctly

Compare with `core/providers/openai/` as the reference implementation and report any deviations or issues.

---

Source: https://www.openparable.com/skill/testing-quality/review-provider (OpenParable). Cite the canonical URL above.
