Public Graphql Api Design

samber/developer-platform-skills/skills/public-graphql-api-design

作者 samber594cf70d343eMIT3 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫10 天前更新

Design a public GraphQL API for third-party developers - the GraphQL-or-not gate, schema conventions (naming, nullability, Node interface, input/payload types), Relay cursor-connection pagination, union/interface error result types, depth and complexity ceilings as design decisions, the federation trust boundary (only the router is ever public), and a persisted-query policy that allowlists first-party traffic only. Use whenever the user mentions GraphQL, a public schema, Relay connections, query depth limits, persisted queries, federation, or GraphQL vs REST - even if they never say "GraphQL API design". Design layer only. Do NOT use for a REST surface review - use samber/developer-platform-skills@public-api-design-review instead.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
evals/evals.json33.8 KBapplication/json
references/case-studies-github-shopify.md4.1 KBtext/markdown
references/error-result-type-examples.md3.7 KBtext/markdown
references/relay-pagination-examples.md3.7 KBtext/markdown
references/schema-convention-tables.md6.5 KBtext/markdown
SKILL.md25.6 KBtext/markdown

來源與署名

來源:samber/developer-platform-skills位於skills/public-graphql-api-design提交594cf70

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架