一键导入
branch
// Create branches following repo conventions. Use when creating branches, starting new features.
// Create branches following repo conventions. Use when creating branches, starting new features.
| name | branch |
| description | Create branches following repo conventions. Use when creating branches, starting new features. |
| allowed-tools | Bash |
/branch feat user-authentication # → feat/user-authentication
/branch fix login-error # → fix/login-error
/branch # interactive creation
| Pattern | Purpose | Example |
|---|---|---|
feat/{name} | New feature | feat/use-debounce |
fix/{name} | Bug fix | fix/ssr-hydration-mismatch |
chore/{name} | Config/build | chore/update-build-config |
docs/{name} | Documentation | docs/add-use-toggle-example |
refactor/{name} | Refactoring | refactor/cleanup-internals |
git checkout -b {branch}Design React APIs and abstractions in a React-like way. Covers declarative interfaces, lifecycle-safe abstractions, minimal surfaces, zero-dependency bias, type safety, and documentation.
Review React hooks against design philosophy. Checks return values, SSR safety, state design, effect usage, TypeScript patterns, and performance.
Write React hooks following design philosophy. Covers naming, return values, SSR safety, state design, effect patterns, TypeScript, and performance.
PR/code review. 100% coverage, SSR safety, JSDoc validation. Use when reviewing code, checking PRs.
Create commits following repo conventions. Use when committing changes, creating commit messages.
Complete workflow from new Hook/Component/Util development to deployment. Use when starting new feature development.