Agent skill
types
TypeScript type generation and synchronization between backend OpenAPI and frontend. Auto-generates types from /openapi.json using openapi-typescript. Critical after any API change.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/types
SKILL.md
Skill: Types
Type generation and synchronization between frontend and backend.
Routing Logic
Analyze the user's intent and route to the appropriate workflow:
Generate Types → workflows/generate.md
- "Generate types"
- "Update frontend types"
- "Sync types from backend"
- "Regenerate API types"
Type Usage → workflows/usage.md
- "How do I use the generated types?"
- "Import types for [endpoint]"
- "Type the API response"
Troubleshooting → workflows/troubleshoot.md
- "Types are out of sync"
- "TypeScript error with API"
- "Type doesn't match response"
Configuration Questions → context/config.md
- "Where are types generated?"
- "How does type generation work?"
Workflows
workflows/generate.md- Generate TypeScript types from OpenAPIworkflows/usage.md- How to use generated typesworkflows/troubleshoot.md- Fix type issues
Context
context/config.md- Type generation configurationcontext/patterns.md- Type usage patterns
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?