一键导入
nx-commands
Nx command reference for common tasks. Use when running builds, tests, linting, or any Nx workspace operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Nx command reference for common tasks. Use when running builds, tests, linting, or any Nx workspace operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Auth engine rules for QAuth. Use when working with CredentialProvider implementations, token claim generation, the provider registry, or the federation layer. Enforces the pluggable provider pattern and correct token claim behaviour.
OAuth 2.1 / OIDC rules for QAuth. Use when working with authorization endpoints, token flows, PKCE, JWKS, OIDC discovery, or spec compliance (RFC 9700, OIDC Core 1.0). Covers endpoint behaviour, email claim rules, and token security.
Database schema rules for QAuth. Use when working with the identity model, Drizzle ORM, migrations, repositories, or claim resolution. Reflects the CURRENT shipped schema — the identifier-abstraction model (ADR-002, IMPLEMENTED via Epic
Link GitHub issues in parent-child (sub-issue) relationships using GraphQL
Add a GitHub issue to a project board using gh project item-add
Create a new GitHub issue following QAuth project conventions using gh issue create
| name | nx-commands |
| description | Nx command reference for common tasks. Use when running builds, tests, linting, or any Nx workspace operations. |
Always use pnpm nx instead of bare nx
pnpm nx serve auth-server
pnpm nx serve auth-server --configuration=development
pnpm nx build auth-server
pnpm nx run-many -t build --all
pnpm nx affected -t build
pnpm nx test {project-name}
pnpm nx test {project-name} --watch
pnpm nx run-many -t test --all
pnpm nx affected -t test
pnpm nx run-many -t test --all --coverage
pnpm nx lint {project-name}
pnpm nx run-many -t lint --all
pnpm nx affected -t lint
pnpm nx typecheck {project-name}
pnpm nx run-many -t typecheck --all
pnpm nx run infra-db:db:generate # Generate migrations
pnpm nx run infra-db:db:migrate # Run migrations
pnpm nx run infra-db:db:studio # Drizzle Studio GUI
pnpm nx run infra-db:db:push # Push schema (dev only)
pnpm nx run infra-db:db:seed # Seed dev data
pnpm nx run infra-db:db:drop # Drop tables (DANGER)
pnpm nx graph # Project graph
pnpm nx affected:graph # Affected graph
pnpm nx show projects # List projects
pnpm nx show project {name} # Project config
pnpm nx reset # Clear cache
pnpm nx affected -t lint test build
pnpm nx run-many -t test --parallel=3
pnpm nx affected -t test --base=origin/main --head=HEAD
pnpm nx reset # Clear cache
pnpm nx test {project} --skip-nx-cache # Bypass cache
NX_VERBOSE_LOGGING=true pnpm nx test {project}