verify-type-parity
CommunityEnsure FE/BE type consistency.
Authorpeppone-choi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents bugs and integration issues by ensuring that the TypeScript types used in the frontend precisely match the Kotlin Data Transfer Objects (DTOs) and Entities defined in the backend.
Core Features & Use Cases
- Detects Loose Types: Identifies the use of
any,unknown,Record<string, any>, andRecord<string, unknown>in API contracts, promoting stricter typing. - Checks Inline Types: Ensures API response/request types are defined in shared type files rather than inline within API client code.
- Validates DTO Location: Verifies that backend
data classdefinitions are appropriately placed in DTO packages, not scattered within controllers. - Identifies Missing Types: Flags backend DTOs that lack corresponding frontend TypeScript interfaces.
- Verifies Field Matching: Compares fields between frontend types and backend DTOs/Entities for discrepancies.
- Use Case: After adding a new field to a backend
UserDTO, run this Skill to confirm that the correspondingUserinterface in the frontend has also been updated correctly, preventing runtime errors.
Quick Start
Run the verify-type-parity skill to check for any discrepancies between frontend TypeScript types and backend Kotlin DTOs.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: verify-type-parity Download link: https://github.com/peppone-choi/opensamguk/archive/main.zip#verify-type-parity Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.