一键导入
rx-queries
Run GraphQL code generation for a set of domain packages. Use after editing any `*.graphql` or `*.fragment` files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run GraphQL code generation for a set of domain packages. Use after editing any `*.graphql` or `*.fragment` files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rx-queries |
| description | Run GraphQL code generation for a set of domain packages. Use after editing any `*.graphql` or `*.fragment` files. |
| user_invocable | true |
| arguments | [{"name":"domain","description":"Optional domain package name (e.g., aws, access, archival, exocompute). Defaults to all domain packages with modified or new `*.graphql` or `*.fragment` files."}] |
| argument-hint | [domain] |
Run GraphQL code generation for a set of domain packages. If the domain argument is provided, run code generation for
that domain package. Otherwise, determine which domain packages have modified or new *.graphql or *.fragment files
and run code generation for those.
Run git status --porcelain filtered to *.graphql and *.fragment to determine which domain packages need to be
regenerated. This catches modified, deleted, and newly created files. If no files are found and no domain argument was
provided, report "nothing to regenerate" and stop.
pkg/polaris/graphql/$domain/ exists. If not, list available domains and stop.go generate ./pkg/polaris/graphql/$domain/... to update queries.go.gofmt -w pkg/polaris/graphql/$domain/queries.go to ensure correct formatting.go vet ./pkg/polaris/graphql/$domain/... to catch any errors.git diff pkg/polaris/graphql/$domain/queries.go to show what changed.Report the results of code generation for each domain package as table. If no domain package was provided, report the
results for all domain packages that had modified or new *.graphql or *.fragment files.