sideprojectmate/sideprojectmate/api-client-generator

Claude Code and agent skill by sideprojectmate/sideprojectmate

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Full pipeline for auto-generating API client SDKs. An agent team collaborates to parse API specs (OpenAPI/GraphQL/gRPC), generate types, write client code, create tests, and produce usage documentation. Use this skill for requests like 'create an API client', 'SDK generation', 'client from OpenAPI', 'API wrapper', 'REST client', 'GraphQL client', 'API type generation', 'SDK from Swagger', etc. Note: API server implementation, API gateway configuration, and API monitoring dashboard setup are outside the scope of this skill.

Install

npx vskill@latest install sideprojectmate/sideprojectmate/api-client-generator

SKILL.md

The same SKILL.md was published earlier as chodolmu/taskforge-pro/api-client-generator.

API Client Generator — SDK Generation Full Pipeline

An agent team collaborates to generate API spec parsing, type generation, client code, tests, and documentation.

Execution Mode

Agent Team — Five agents communicate directly via SendMessage and perform cross-validation.

Agent Composition

AgentFileRoleType
spec-parser.claude/agents/spec-parser.mdAPI spec analysis, endpoint extractiongeneral-purpose
type-generator.claude/agents/type-generator.mdType definition generationgeneral-purpose
sdk-developer.claude/agents/sdk-developer.mdClient SDK code developmentgeneral-purpose
test-engineer.claude/agents/test-engineer.mdTest code authoringgeneral-purpose
doc-writer.claude/agents/doc-writer.mdUsage documentationgeneral-purpose

Workflow

Phase 1: Preparation (performed directly by the orchestrator)
  1. Extract the following from user input:
  • API spec: File path/URL, spec format (OpenAPI/GraphQL/gRPC)
  • Target language: TypeScript, Python, Go, Java, etc.
  • SDK name: Package/module name
  • Settings (optional): Authentication priority, naming conventions, additional features
  1. Create the _workspace/ directory and subdirectories
  2. Organize the input and save it to _workspace/00_input.md
  3. Copy the API spec file to _workspace/
  4. If pre-existing files are available, copy them to _workspace/ and skip the corresponding phase
  5. Determine the execution mode based on the scope of the request
Phase 2: Team Assembly and Execution
OrderTaskOwnerDependenciesDeliverable
1Spec analysisspec-parserNone01_spec_analysis.md
2Type generationtype-generatorTask 102_types/
3SDK developmentsdk-developerTasks 1, 203_client/
4aTest authoringtest-engineerTasks 2, 304_tests/
4bDocumentationdoc-writerTasks 1, 305_docs/

Tasks 4a (tests) and 4b (docs) run in parallel.

Inter-agent communication flow:

  • spec-parser completes > passes model details to type-generator, endpoint groupings to sdk-developer
  • type-generator completes > passes type import info to sdk-developer, factory data to test-engineer
  • sdk-developer completes > passes public API list to test-engineer, usage examples to doc-writer
  • test-engineer/doc-writer > requests fixes from sdk-developer if code/doc inconsistencies are found
Phase 3: Integration and Final Deliverables
  1. Verify all files in _workspace/
  2. Final consistency check across code, types, tests, and documentation
  3. Report the final summary along with build/test execution commands

Execution Modes by Request Scope

User Request PatternExecution ModeAgents Deployed
"Generate full SDK", "full client"Full pipelineAll 5 agents
"Just generate types"Type modespec-parser + type-generator
"Client code only"Code modespec-parser + type-generator + sdk-developer
"Write tests only" (existing SDK)Test modetest-engineer only
"Write docs only" (existing SDK)Doc modedoc-writer only
"Spec analysis only"Analysis modespec-parser only

Data Transfer Protocol

StrategyMethodPurpose
File-based_workspace/ directoryCode, types, tests, documentation
Message-basedSendMessageKey information transfer, fix requests

Error Handling

Error TypeStrategy
Spec parsing failureReport syntax error location; proceed with parseable portions only
Incomplete specSupplement with type inference; mark as "inferred"
Circular referencesAuto-apply lazy reference pattern
Non-standard authenticationProvide custom interceptor extension points
Agent failureRetry once; if still failing, proceed without that deliverable
Code-doc inconsistencydoc-writer/test-engineer requests fix from sdk-developer (up to 2 rounds)

Test Scenarios

Normal Flow

Prompt: "Generate a TypeScript SDK from this OpenAPI 3.1 spec" Expected result:

  • Spec analysis: Endpoint groupings, model list, authentication method identification
  • Types: TypeScript interfaces/types, enums, union types, serialization helpers
  • SDK: Resource-based client classes, authentication, pagination, retry
  • Tests: Per-resource unit tests, authentication integration tests, mock server
  • Docs: README, quick start, API reference, code examples
Existing File Reuse Flow

Prompt: "Extract just Python types from this Swagger file" Expected result:

  • spec-parser analyzes the schema
  • type-generator produces Python dataclass/Pydantic models
  • sdk-developer, test-engineer, and doc-writer are not deployed
Error Flow

Prompt: "Create an SDK for this API" (incomplete spec, many undefined response types) Expected result:

  • spec-parser catalogs and reports the incomplete portions
  • type-generator generates types within the inferrable scope, adds "inferred" comments
  • sdk-developer adds a runtime type-check layer
  • doc-writer records the undefined response list in a "Known Limitations" section

Agent Extension Skills

SkillPathEnhanced AgentRole
openapi-spec-patterns.claude/skills/openapi-spec-patterns/skill.mdspec-parserEndpoint grouping, auth mapping, pagination/error patterns, GraphQL/gRPC
sdk-design-patterns.claude/skills/sdk-design-patterns/skill.mdsdk-developerBuilder pattern, interceptor chain, retry, type safety, pagination wrapper

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sideprojectmate/sideprojectmate/api-client-generator/badge)](https://verified-skill.com/skills/sideprojectmate/sideprojectmate/api-client-generator)

Something wrong with this skill or its page? Tell us.