Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate GraphQL schemas from data models with resolver stubs and federation support
.claude/skills/a5c-ai-graphql-schema-generator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 6% | 0% |
Generates GraphQL SDL schemas from data models with type inference, resolver stub generation, schema validation, and Apollo Federation support.
json{ "type": "object", "required": ["dataModels"], "properties": { "dataModels": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "fields": { "type": "array" }, "relationships": { "type": "array" } } } }, "outputPath": { "type": "string", "description": "Output schema file path" }, "options": { "type": "object", "properties": { "generateResolvers": { "type": "boolean", "default": true }, "federation": { "type": "boolean", "default": false }, "generateSubscriptions": { "type": "boolean", "default": false }, "generateInputTypes": { "type": "boolean", "default": true } } } } }
json{ "type": "object", "properties": { "schemaPath": { "type": "string" }, "resolversPath": { "type": "string" }, "types": { "type": "array", "items": { "type": "string" } }, "queries": { "type": "array" }, "mutations": { "type": "array" } } }
javascript{ kind: 'skill', skill: { name: 'graphql-schema-generator', context: { dataModels: [ { name: 'User', fields: ['id', 'name', 'email'] }, { name: 'Post', fields: ['id', 'title', 'authorId'] } ], outputPath: 'graphql/schema.graphql', options: { generateResolvers: true, federation: false } } } }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 14,879 | 9,088 | -39% | 1 | 1 | 0% | 1,599 | 1,358 | -15% | 0 | 0 | — |
case-02 | pass→pass | 10,213 | 3,381 | -67% | 1 | 1 | 0% | 1,639 | 1,293 | -21% | 0 | 0 | — |
case-03 | pass→pass | 9,400 | 3,302 | -65% | 1 | 1 | 0% | 1,438 | 1,344 | -7% | 0 | 0 | — |
case-04 | fail→pass | 17,862 | 6,828 | -62% | 1 | 1 | 0% | 1,982 | 977 | -51% | 0 | 0 | — |
case-05 | fail→pass | 16,711 | 7,293 | -56% | 1 | 1 | 0% | 2,028 | 1,014 | -50% | 0 | 0 | — |
case-06 | pass→pass | 20,588 | 8,567 | -58% | 1 | 1 | 0% | 2,966 | 1,866 | -37% | 0 | 0 | — |
case-07 | fail→pass | 9,862 | 6,785 | -31% | 1 | 1 | 0% | 1,775 | 1,017 | -43% | 0 | 0 | — |
case-08 | fail→fail | 26,932 | 1,767 | -93% | 1 | 1 | 0% | 1,536 | 971 | -37% | 0 | 0 | — |
case-09 | pass→fail | 7,196 | 7,178 | -0% | 1 | 1 | 0% | 1,244 | 1,018 | -18% | 0 | 0 | — |
case-10 | fail→pass | 10,972 | 7,630 | -30% | 1 | 1 | 0% | 1,075 | 1,137 | +6% | 0 | 0 | — |
case-11 | fail→fail | 26,593 | 1,906 | -93% | 1 | 1 | 0% | 1,397 | 928 | -34% | 0 | 0 | — |
case-12 | pass→fail | 18,163 | 6,790 | -63% | 1 | 1 | 0% | 3,003 | 967 | -68% | 0 | 0 | — |
case-13 | pass→pass | 22,153 | 7,529 | -66% | 1 | 1 | 0% | 3,110 | 1,080 | -65% | 0 | 0 | — |
case-14 | fail→pass | 17,809 | 1,969 | -89% | 1 | 1 | 0% | 2,096 | 965 | -54% | 0 | 0 | — |
case-15 | fail→pass | 17,107 | 8,828 | -48% | 1 | 1 | 0% | 1,977 | 1,314 | -34% | 0 | 0 | — |
case-16 | fail→pass | 14,041 | 8,301 | -41% | 1 | 1 | 0% | 2,340 | 1,326 | -43% | 0 | 0 | — |
case-17 | pass→pass | 15,205 | 2,825 | -81% | 1 | 1 | 0% | 1,700 | 1,163 | -32% | 0 | 0 | — |
case-18 | pass→pass | 14,387 | 7,490 | -48% | 1 | 1 | 0% | 2,323 | 1,140 | -51% | 0 | 0 | — |
case-19 | fail→pass | 14,761 | 8,682 | -41% | 1 | 1 | 0% | 3,177 | 2,562 | -19% | 0 | 0 | — |
case-20 | fail→pass | 7,873 | 11,790 | +50% | 1 | 1 | 0% | 1,671 | 2,019 | +21% | 0 | 0 | — |
case-21 | pass→pass | 16,255 | 12,932 | -20% | 1 | 1 | 0% | 1,976 | 2,092 | +6% | 0 | 0 | — |
case-22 | fail→pass | 19,671 | 15,752 | -20% | 1 | 1 | 0% | 2,745 | 2,592 | -6% | 0 | 0 | — |
case-23 | fail→pass | 16,840 | 8,406 | -50% | 1 | 1 | 0% | 2,274 | 1,254 | -45% | 0 | 0 | — |
case-24 | fail→pass | 4,711 | 6,426 | +36% | 1 | 1 | 0% | 687 | 834 | +21% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted, and 22 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +46 percentage points is the difference between those two pass rates over the 22 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.