Skip to main content

add-portal-admin-api-query

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

インストールへ移動

ソース情報

リポジトリ
authgear/authgear-server
ソースの最終更新活動
2026年4月14日 09:56
検出された SKILL.md の言語
英語
スター
2,058
フォーク
125

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.
GitHubで見る