一键导入
ezra-local-review
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Set up worktree for reviewing colleague's branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Set up worktree for reviewing colleague's branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Alembic migration workflow for SQLAlchemy model changes, emphasizing autogeneration only, date-prefixed migration filenames, env.py model imports, review of generated revisions, and validation with upgrade commands and integration tests.
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Clerk authentication patterns for the Ezra Next.js monorepo — server vs client auth, middleware strategies, Server Actions, API route protection, caching with auth, and token injection via authTokenProvider for Orval-generated hooks. Use when adding Clerk auth to a new app, protecting routes or actions, wiring auth tokens into API calls, debugging "unauthorized" or 401/403 errors, asking "how does auth work in this app", checking why an API call returns 401, protecting a page or Server Action, or implementing role/permission checks. Also use when touching middleware.ts, ClerkProvider, ClerkTokenSync, authTokenProvider, or any import from @clerk/nextjs. Do NOT use for Clerk SDK installation or initial project setup (see Clerk docs quickstart).
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
Advisory skill for evaluating and organizing backend domain packages according to DDD best practices and capability-oriented design. Use when creating new domains, reviewing existing domain boundaries, refactoring packages, or deciding where new business logic should live.
[NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Sentry SDK internals for the ezra_observability Sentry adapter — sentry_sdk.init configuration, StarletteIntegration/FastApiIntegration/SqlalchemyIntegration setup, EventScrubber denylist, before_send filters, PII rules, and adapter-level tests. ADAPTER AUTHORS ONLY. App code must use `from ezra_observability import get_observability` (see ezra-add-monitoring).
| name | ezra-local-review |
| description | [NOT APPLICABLE — Ezra-specific reference; do not invoke in this project] Set up worktree for reviewing colleague's branch |
You are tasked with setting up a local review environment for a colleague's branch. This involves creating a worktree, setting up dependencies, and launching a new Claude Code session.
When invoked with a parameter like gh_username:branchName:
Parse the input:
username:branchnamegh_username:branchNameExtract ticket information:
eng-1696, ENG-1696)Set up the remote and worktree:
git remote -vgit remote add USERNAME git@github.com:USERNAME/mono-ezragit fetch USERNAMEgit worktree add -b BRANCHNAME ~/wt/mono-ezra/SHORT_NAME USERNAME/BRANCHNAMEConfigure the worktree:
cp .claude/settings.local.json WORKTREE/.claude//ezra-local-review samdickson22:sam/eng-1696-hotkey-for-yolo-mode
This will:
~/wt/mono-ezra/eng-1696