Skip to main content

add-portal-admin-api-mutation

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

インストールへ移動

ソース情報

リポジトリ
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-mutation
description
Add a Portal Admin GraphQL mutation under portal/src/graphql/adminapi/mutations.
argument-hint
<mutation name>
Follow this skill when adding a Portal Admin GraphQL mutation. ## Workflow 1. Read `./portal/src/graphql/adminapi/schema.graphql` first. 2. Create the `.graphql` file under `./portal/src/graphql/adminapi/mutations`. 3. Query all fields on the top-level entity unless the user explicitly says otherwise. 4. 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で見る