skills/smithery.ai/api-endpoint

api-endpoint

SKILL.md

OpenGov API Endpoint Generator

Generate SDK endpoints from OpenAPI specifications following project conventions.

Workflow

  1. Read the OpenAPI spec at the provided file path
  2. Extract attribute schemas - Use the schema extraction guide in references/schema-extraction.md to:
    • Locate the schema in the OpenAPI spec for each resource
    • Extract using jq command or Python script
    • Document all fields in a mapping table
    • Verify field types, required/optional status, and nullable flags
    • Verify field mappings before generating code
  3. Identify endpoints to implement from the spec
  4. Check existing code to understand current patterns and avoid duplicates
  5. Generate code following patterns in references/patterns.md
  6. Run tests and type checks to verify

Quick Reference

Installs
2
First Seen
Apr 26, 2026