chodolmu/taskforge-pro/api-designer

Claude Code and agent skill by chodolmu/taskforge-pro

Trust tier 2
  • community
LLM review pending
Source check pending

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

Full pipeline for REST/GraphQL API design, documentation, mocking, and testing. An agent team collaborates to perform API architecture design, OpenAPI/GraphQL schema generation, developer documentation writing, and mock server and test design. Use this skill for any API design task including 'design an API', 'REST API', 'GraphQL API', 'API documentation', 'API schema', 'OpenAPI', 'Swagger', 'API testing', 'API mocking', 'endpoint design', etc. Also supports documentation and testing for existin…

Install

npx vskill@latest install chodolmu/taskforge-pro/api-designer

SKILL.md

The same SKILL.md was published earlier as revfactory/harness-100/api-designer.

API Designer — API Design, Documentation, Mocking, and Testing Pipeline

An agent team collaborates to generate API design, schema, documentation, and mock/tests in a single pass.

Execution Mode

Agent Team — 5 members communicate directly via SendMessage and cross-validate each other's work.

Agent Composition

AgentFileRoleType
api-architect.claude/agents/api-architect.mdResource modeling, endpoints, versioninggeneral-purpose
schema-validator.claude/agents/schema-validator.mdOpenAPI/GraphQL schema, type validationgeneral-purpose
doc-writer.claude/agents/doc-writer.mdDeveloper documentation, examples, error referencesgeneral-purpose
mock-tester.claude/agents/mock-tester.mdMock server, integration tests, load scenariosgeneral-purpose
review-auditor.claude/agents/review-auditor.mdSecurity, consistency, performance, alignment validationgeneral-purpose

Workflow

Phase 1: Preparation (Performed directly by the orchestrator)
  1. Extract from user input:
  • Domain: What service is the API for
  • Paradigm: REST / GraphQL / Hybrid
  • Key Resources: List of core entities
  • Authentication Method (optional): OAuth, JWT, API Key
  • Existing Files (optional): Existing schemas, documentation, code, etc.
  1. Create the _workspace/ directory at the project root
  2. Organize the input and save to _workspace/00_input.md
  3. If existing files are provided, copy them to _workspace/ and skip the corresponding phase
  4. Determine the execution mode based on the scope of the request
Phase 2: Team Assembly and Execution
OrderTaskOwnerDependenciesArtifact
1API Designapi-architectNone_workspace/01_api_design.md
2Schema Generation & Validationschema-validatorTask 1_workspace/02_schema.yaml, 02_schema_validation.md
3aAPI Documentationdoc-writerTasks 1, 2_workspace/03_api_docs.md
3bMock Server & Testsmock-testerTasks 1, 2_workspace/04_mock_tests.md
4API Reviewreview-auditorTasks 2, 3a, 3b_workspace/05_review_report.md

Tasks 3a (documentation) and 3b (tests) are executed in parallel.

Inter-team communication flow:

  • api-architect completes -> Delivers resource model to schema-validator, endpoints to doc-writer, request/response examples to mock-tester
  • schema-validator completes -> Delivers schema to doc-writer, schema-based examples to mock-tester
  • doc-writer <-> mock-tester: Mutually verify that documentation examples and mock responses match
  • review-auditor cross-validates all artifacts. When 🔴 must-fix issues are found, requests revisions from the relevant agent -> rework -> re-verify (up to 2 rounds)
Phase 3: Integration and Final Artifacts

Organize the final artifacts based on the review report:

  1. Verify all files in _workspace/
  2. Confirm that all 🔴 must-fix items from the review report have been addressed
  3. Report the final summary to the user

Mode by Task Scale

User Request PatternExecution ModeAgents Deployed
"Design an API", "full design"Full PipelineAll 5 agents
"Just write API docs" (existing API)Documentation Modedoc-writer + review-auditor
"Validate this OpenAPI schema"Validation Modeschema-validator + review-auditor
"Design API tests" (existing schema)Test Modemock-tester + review-auditor
"Review this API design"Review Modereview-auditor only

Leveraging existing files: If the user provides schemas, documentation, or other existing files, skip the corresponding steps.

Data Transfer Protocol

StrategyMethodPurpose
File-based_workspace/ directoryStore and share primary artifacts
Message-basedSendMessageReal-time delivery of key information, revision requests
Task-basedTaskCreate/TaskUpdateProgress tracking, dependency management

File naming convention: {order}_{agent}_{artifact}.{extension}

Error Handling

Error TypeStrategy
Insufficient domain informationAPI architect starts with generic CRUD resources; designs an extensible structure
REST vs GraphQL undecidedDefault to REST; present GraphQL extension options in an appendix
Agent failureRetry once -> If still fails, proceed without that artifact; note the omission in the review report
🔴 found during reviewRequest revision from the relevant agent -> rework -> re-verify (up to 2 rounds)
Existing schema parsing failureManually extract endpoints and proceed

Test Scenarios

Normal Flow

Prompt: "Design a REST API for an e-commerce platform. I need product, order, user, and cart resources" Expected Result:

  • API Design: 4 resources, CRUD endpoints, relationship modeling, authentication design
  • Schema: OpenAPI 3.1 YAML, all model type definitions
  • Documentation: Quick start + endpoint reference + error codes
  • Tests: Per-resource CRUD tests + authentication tests + load scenarios
  • Review: All items in the alignment matrix verified
Existing File Flow

Prompt: "Create API docs and tests from this OpenAPI schema" + schema file Expected Result:

  • Copy existing schema to _workspace/02_schema.yaml
  • Merged documentation + test mode: deploy doc-writer + mock-tester + review-auditor
  • Skip api-architect and schema-validator
Error Flow

Prompt: "Design an API quickly, blog platform" Expected Result:

  • Insufficient domain information -> api-architect infers standard blog resources (Post, Comment, User, Tag)
  • Execute in full pipeline mode
  • Review report notes "design based on inferred domain requirements"

Agent Extension Skills

Extension skills that enhance each agent's domain expertise:

SkillTarget AgentRole
rest-api-conventionsapi-architectURL naming, HTTP status codes, pagination, versioning
api-error-designdoc-writer, mock-testerError code systems, error response structures, retry/fallback strategies

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

Repository stars
3
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
  • Grok Build (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/chodolmu/taskforge-pro/api-designer/badge)](https://verified-skill.com/skills/chodolmu/taskforge-pro/api-designer)

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