Skip to main content
Hankanman
GitHub 创作者资料

Hankanman

按仓库查看 4 个 GitHub 仓库中的 48 个已收集 skills。

已收集 skills
48
仓库
4
更新
2026年7月17日
仓库浏览

仓库与代表性 skills

zod-dynamic-schema-type-inference
软件开发工程师

Fix TypeScript type inference loss when dynamically constructing Zod object schemas. Use when: (1) `z.infer<typeof schema>` produces `Record<string, unknown>` instead of typed fields, (2) Building a schema factory that constructs `z.object()` from dynamic…

2026年3月2日
ha-api-access
软件开发工程师

Access the Home Assistant REST API using environment variables HA_URL and HA_TOKEN exported in ~/.zshrc. Use when: (1) need to query Home Assistant entity states, (2) need to call HA services programmatically, (3) need to debug or inspect HA integration…

2026年2月22日
better-auth-context-performance
软件开发工程师

Fix Better Auth performance anti-pattern: manual db.$setAuth() vs. reusing cached client. Use when: (1) Server actions or components create new auth contexts with db.$setAuth(), (2) Functions accept User parameter just to create auth context, (3) Dashboard or…

2026年2月14日
nextjs-zenstack-auth-context-error
软件开发工程师

Fix for "An error occurred in the Server Components render" in Next.js production builds when using ZenStack ORM with Better Auth. Use when: (1) Generic Server Components error in production with no stack trace, (2) Works in dev but fails in production, (3)…

2026年2月14日
javascript-utc-date-timezone-drift
软件开发工程师

Fix timezone drift when using JavaScript Date methods with UTC-stored times. Use when: (1) Times shift by user's timezone offset (e.g., 09:00 UTC becomes 10:00 in BST browsers), (2) Database stores times in UTC but display shows wrong hours, (3) Inconsistent…

2026年2月7日
nextjs-better-auth-minimal-api-refactor
软件开发工程师

Refactor Next.js + Better Auth authentication to minimal API with discriminated unions. Use when: (1) Too many auth helper functions causing maintenance burden, (2) Want perfect type safety without optional chaining, (3) Need to optimize auth performance with…

2026年2月7日
react-big-calendar-dnd-typescript
软件开发工程师

Fix TypeScript errors when integrating react-big-calendar drag-and-drop addon in Next.js/React projects. Use when: (1) Getting "Module has no exported member 'EventInteractionArgs'" error, (2) EventWrapperProps type missing 'children' property causing type…

2026年2月7日
react-big-calendar-nextjs-integration
网页开发工程师

Integrate react-big-calendar with Next.js 16 App Router and shadcn/ui. Use when: (1) Need to add a visual calendar to Next.js app, (2) Want calendar that works with server/client component split, (3) Need to integrate with shadcn/ui theming, (4) Building…

2026年2月7日
已展示 8 / 28 个已收集 Skill。
aod-research-frontier
软件开发工程师

Use when scoping new research, a thesis/blog post, a grant-style pitch, or a "what should we work on next" planning session for Area Occupancy Detection — maps open, unproven "beyond state-of-the-art" problems (reliability vs raw sensors, per-home transition…

2026年7月7日
aod-diagnostics-and-tooling
软件开发工程师

Use when you need to MEASURE what Area Occupancy Detection is actually doing instead of guessing — downloading and reading the HA diagnostics export, interpreting a health/repair issue, reading hourly-analysis debug logs, or using the simulator to compare a…

2026年7月7日
aod-research-methodology
软件开发工程师

Use when turning a hunch, user report, or measurement into an accepted change to AOD's Bayesian/learning math — deciding whether a root-cause theory is proven, designing the discriminating experiment (DB query, simulator run, or predicted-numbers test),…

2026年7月6日
aod-architecture-contract
软件开发工程师

Use when you need to understand WHY Area Occupancy Detection is built the way it is before changing coordinator.py, area/area.py, utils.py, data/analysis.py, data/decay.py, data/entity.py, or anything under db/ — the single-coordinator-many-areas design, the…

2026年7月6日
aod-build-and-env
软件开发工程师

Use when setting up, resetting, or debugging the local development environment for Area Occupancy Detection — bootstrap fails, `uv sync` errors, wrong Python version, ruff or pytest behaving differently locally vs CI, uv.lock showing unexpected diffs,…

2026年7月6日
aod-change-control
软件开发工程师

Use before opening, reviewing, or merging any PR against Area Occupancy Detection (AOD) — especially anything touching Bayesian math (utils.py sigmoid pipeline), priors, decay/half-life, likelihoods, config schema (const.py CONF_*/DEFAULT_*), the config-entry…

2026年7月6日
aod-config-and-flags
软件开发工程师

Use when adding, renaming, removing, or debugging any CONF_* / DEFAULT_* configuration key, config_flow.py schema, strings.json/translations entry, migrations.py version bump, or sensor default in Area Occupancy Detection; when a user reports a setting "not…

2026年7月6日
aod-debugging-playbook
软件开发工程师

Use when triaging a live Area Occupancy Detection symptom report — occupancy stuck on/won't clear, occupancy won't turn on, probability pinned at 0.99 or 0.01, wrong or spammy repair issues, a config setting that seems to be "ignored" (especially decay…

2026年7月6日
已展示 8 / 16 个已收集 Skill。
已展示 4 / 4 个仓库
已展示全部仓库