Skip to main content

add-portal-admin-api-query

Add a Portal Admin GraphQL query under portal/src/graphql/adminapi/query.

Ir para a instalação

Informações da origem

Repositório
authgear/authgear-server
Última atividade na origem
14 de abril de 2026 às 09:56
Idioma detectado do SKILL.md
inglês
Estrelas
2.058
Forks
125

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
add-portal-admin-api-query
description
Add a Portal Admin GraphQL query under portal/src/graphql/adminapi/query.
argument-hint
<query name>
Follow this skill when adding a Portal Admin GraphQL query. ## Workflow 1. Read `./portal/src/graphql/adminapi/schema.graphql` first. 2. Create the `.graphql` file under `./portal/src/graphql/adminapi/query`. 3. Include `cursor`, `pageInfo`, and `totalCount` when the query supports pagination and the user did not ask to omit them. 4. Query the fields of the entity itself, but avoid nested entities unless the user asked for them. 5. Run `cd ./portal && npm run gentype` after adding the file. ## Notes - Keep the operation name consistent with existing Portal GraphQL naming. - Do not invent schema fields; use only what exists in the schema file.
Ver no GitHub