add-nullable-field
CommunityStop client crashes by making API fields nullable.
Software Engineering#openapi#code generation#type errors#regeneration#python client#nullable fields#API drift
Authordougborg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents generated client crashes when the StockTrim API returns null for fields the OpenAPI spec (or generator settings) marked as required.
Core Features & Use Cases
- Schema field nullability fixes: Adds the specific schema field to the regeneration script’s NULLABLE_FIELDS so the generated model becomes Optional.
- Safe, reproducible regeneration: Re-runs the client regeneration from the spec to avoid manual edits to generated/ code.
- Verification-first workflow: Runs the project checks after regeneration and inspects the diff to absorb any spec drift.
Quick Start
Ask the AI to regenerate the client with a given schema and field added to NULLABLE_FIELDS after you share the exact error message indicating which field was returned as null.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: add-nullable-field Download link: https://github.com/dougborg/stocktrim-openapi-client/archive/main.zip#add-nullable-field 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.