subagentgraphql

.com graphql sdl
7 rows, live from D1

GraphQL type catalog

Every real function, type, enum, and operation kind from the style-graphql skill, grouped by category unless filtered.

AnthropicCitationBridge

type gql_type_anthropic_bridge
type AnthropicCitationBridge {
  documentIndex: Int
  documentTitle: String
  startCharIndex: Int
  endCharIndex: Int
  citedText: String
}
description

Bridge fields mapping the Citation type onto the Anthropic Citations API response shape (document index/title, character span, verbatim cited text).

source

references/citation.graphqls (style-graphql skill), lines 83-96, citing docs.anthropic.com/en/docs/build-with-claude/citations.

Citation

type gql_type_citation
type Citation {
  id: ID!
  type: CSLType!
  title: String!
  author: [CSLName!]
  issued: CSLDate
  containerTitle: String
  publisher: String
  url: String
  doi: String
  anthropic: AnthropicCitationBridge
  prov: ProvO
}
description

The canonical Citation GraphQL type: a strict subset of CSL-JSON v1.0.2, maps 1:1 to the Citation Zod schema (src/style-skills/citation.schema.ts). Injected into any SDL document by injectCitationType(doc).

source

references/citation.graphqls (style-graphql skill), lines 1-43; also summarized in SKILL.md Citation type SDL section.

CSLDate

type gql_type_csldate
type CSLDate {
  dateParts: [[Int]]
  literal: String
}
description

Publication date shape used by Citation.issued. dateParts is a nested array of [year, month?, day?]; literal is free text when date-parts are unavailable.

source

references/citation.graphqls (style-graphql skill), lines 52-57.

CSLName

type gql_type_cslname
type CSLName {
  family: String
  given: String
  literal: String
}
description

Author name shape used by Citation.author. literal is for institutional or single-name authors.

source

references/citation.graphqls (style-graphql skill), lines 45-50.

Provenance

type gql_type_provenance
type Provenance {
  source: ProvenanceSource!
  schemaRef: String
  agentId: String
  freshness: String
  reviewer: String
  reviewerPassed: Boolean
  citations: [Citation!]!
}
description

Provenance footer type appended to every style-skill output; mirrors the pattern from an Anthropic self-service analytics blog post. Note: SKILL.md own Provenance in GraphQL responses example shows a simpler 5-field Provenance shape (source, agentId, schemaRef, freshness, reviewer as String!) for query results -- the bundled references/citation.graphqls file defines a richer 7-field version with a ProvenanceSource enum and reviewerPassed/citations fields. Both are real, from two different places in the skill; this row documents the references/citation.graphqls version.

source

references/citation.graphqls (style-graphql skill), lines 111-123.

ProvO

type gql_type_provo
type ProvO {
  wasDerivedFrom: [String!]
  generatedAtTime: String
  wasAttributedTo: String
}
description

W3C PROV-O provenance fragment: wasDerivedFrom (source entity IRIs), generatedAtTime (ISO-8601), wasAttributedTo (agent IRI).

source

references/citation.graphqls (style-graphql skill), lines 98-109, citing w3.org/TR/prov-o/.

QueryResult

type gql_type_queryresult
type QueryResult {
  data: String!
  citations: [Citation!]!
  provenance: Provenance!
}
description

Example root type shape shown in SKILL.md for a GraphQL response that contains cited content: add a provenance field to the root Query or relevant type.

source

SKILL.md, Provenance in GraphQL responses section, style-graphql skill.

Machine-readable version: GET /api/graphql-types?category=type