Agent skill

gate-2-type-generation

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gate-2-type-generation

SKILL.md

Gate 2: Type Generation

STOP AND CHECK:

bash
# Generation must succeed
npm run clean && npm run generate
echo "Exit code: $?"
# Must be 0

# New types must exist
ls generated/api/*.ts | wc -l
# Must show new files

# No inline types
grep "InlineResponse" generated/
# Must return nothing

PROCEED ONLY IF:

  • ✅ Generation command succeeded (exit code 0)
  • ✅ New types exist in generated/ directory
  • ✅ No InlineResponse or InlineRequestBody types
  • ✅ No TypeScript compilation errors

IF FAILED: Fix API spec issues before implementing.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results