create-adapter
Installation
SKILL.md
Create Custom Adapter
Guide the user through creating a custom source adapter for pattern-radar.
Process
-
Ask what source they want to add
- Get the name and URL/API of the source
-
Analyze the source
- Fetch the URL to understand its structure
- Determine if it's RSS, JSON API, or needs scraping
- Identify authentication requirements
-
Generate the adapter
- Use the SourceAdapter interface from
plugins/pattern-radar/src/adapters/types.ts - Create a TypeScript file with the adapter implementation
- Include proper error handling and health check
- Use the SourceAdapter interface from