Story

Show HN: Teaching AI agents to write better GraphQL

daleseo Wednesday, February 04, 2026

We’ve been seeing more and more developers use AI coding agents directly in their GraphQL workflows. The problem is the agents tend to fall back to generic or outdated GraphQL patterns.

After correcting the same issues over and over, we ended up packaging the GraphQL best practices and conventions we actually want agents to follow as reusable “Skills,” and open-sourced them here: https://github.com/apollographql/skills

Install with `npx skills add apollographql/skills` and the agent starts producing named operations with variables, `[Post!]!` list patterns, and more consistent client-side behavior without having to restate those rules in every prompt.

We’re hopeful agents can now write GraphQL the way we'd write it ourselves. Try out the repo and let us know what you think.

Summary
The article discusses the skills and knowledge required to work with Apollo GraphQL, a popular open-source implementation of the GraphQL specification. It covers topics such as schema design, querying and mutation, client-side state management, and performance optimization.
5 1
Summary
skills.sh
Visit article Read on Hacker News Comments 1