add_portal_admin_api_query

Official

Add Portal Admin GraphQL queries fast.

Authorauthgear
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures that every Portal Admin GraphQL query added under portal/src/graphql/adminapi/query adheres to the existing schema, naming conventions, and pagination expectations so portal APIs stay consistent and predictable.

Core Features & Use Cases

  • Schema fidelity: Read portal/src/graphql/adminapi/schema.graphql first and reference only existing fields to prevent inventing unsupported schema entries.
  • Query creation: Create the .graphql file in portal/src/graphql/adminapi/query, include cursor, pageInfo, and totalCount whenever pagination applies, and avoid nested entity selections unless explicitly requested.
  • Generation & validation: Run cd ./portal && npm run gentype after adding or updating the query file to regenerate portal type definitions and keep client code in sync.

Quick Start

Create a new Portal Admin GraphQL query named <query name> under portal/src/graphql/adminapi/query while following the schema, include pagination metadata when required, and run npm run gentype from the portal directory.

Dependency Matrix

Required Modules

None required

Components

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_portal_admin_api_query
Download link: https://github.com/authgear/authgear-server/archive/main.zip#add-portal-admin-api-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.