React 助手
- 作者仓库星标 0
- 作者仓库 skills-registry
React Native Mobile Hardening
Use this skill when the goal is to test, harden, and de-risk Kanban Lite mobile changes before they surprise users in the field. Small bugs become big bugs once a worker is offline, gloved up, and standing in the rain.
When to Use
Use when the task mentions any of these ideas:
- React Native testing or Expo validation
- mobile regression checks for iOS or Android
- safe area, navigation, gesture, keyboard, or bottom-dock issues
- deep links, QR flows, restore gate, or wrong-workspace/wrong-user recovery
- offline sync, pending resend, conflict review, or stale-cache bugs
- camera, attachment capture, upload states, or QR scanning
- performance, startup time, jank, list scrolling, or render churn
- release hardening, preview builds, EAS profiles, or app identity checks
Focus Areas
Always test these risk areas first:
Protected-content safety
- no stale task flash during restore, reauth, workspace switch, deep links, or QR entry
- cache purge behavior when workspace, subject, or session no longer match
Offline truthfulness
- explicit resend for comments, forms, checklist intents, and attachment drafts
- no silent replay of unsafe server mutations
- clear
Pending,Needs connection, and conflict states
Field-worker ergonomics
- safe area clearance
- large touch targets
- one obvious primary action in the thumb zone
- outdoor-readable contrast and short recovery copy
Cross-platform correctness
- iOS and Android navigation behavior
- deep links and scheme handling
- keyboard overlap, gesture interactions, and back behavior
Procedure
Run the repo-supported validation set first.
pnpm --filter @kanban-lite/mobile run lintpnpm --filter @kanban-lite/mobile run doctorpnpm --filter @kanban-lite/mobile run start -- --offline --clear --port 8088cd packages/mobile && APP_VARIANT=development pnpm exec expo config --jsoncd packages/mobile && APP_VARIANT=preview pnpm exec expo config --json
Walk the highest-risk product flows.
- cold start and restore gate
My WorkandDue- task detail
- deep-link open
- QR open
- account/logout/recovery
Exercise every mutation state, not just the happy path.
- comments: create, edit, delete, pending, resend
- attachments: take photo, scan document, choose file, discard draft, remove synced attachment
- forms: edit, save draft, submit, validation error
- checklist: show, add, edit, delete, check, uncheck, conflict review
- named actions: allowed online, denied, and offline-disabled
Check capability and visibility behavior.
- hidden task means no task UI, not a disabled shell
- denied mutation capability means hidden control, not a teasing disabled button
- allowed-but-offline means either explicit local draft or a clear disabled state
Profile the mobile experience for friction.
- look for unnecessary re-renders, long list jank, layout jumps, and oversized media work
- verify the sticky action dock does not fight the keyboard or safe area
- check that loading and sync states are calm instead of noisy or duplicated
- prefer simple, stable interactions before adding fancy transitions
Re-check release and app identity assumptions.
app.config.tsandeas.jsonmust agree on variant handling- preview and development identifiers should remain coexistence-safe
- release changes should not assume production readiness beyond the current staged contract
Document any failure by class, not just by symptom.
- safety issue: stale flash, wrong-workspace content, auth leakage
- offline issue: pending state lies, silent replay, missing resend review
- platform issue: iOS only, Android only, keyboard/gesture/back behavior
- performance issue: slow startup, scroll jank, heavy image flow, repeated renders
Hardening Checklist
Use this quick pass before calling a change done:
- restore gate never shows protected content too early
- deep links and QR routes validate workspace and session before task detail mounts
- safe area and bottom action dock work on iOS and Android
- offline sync states are explicit and truthful
- camera and attachment flows preserve durable local drafts when needed
- checklist, forms, comments, and actions respect capability gates
- preview/development config still resolves cleanly from Expo config
Avoid
Avoid these release-footguns:
- treating lint success as sufficient mobile validation
- testing only online happy paths
- assuming browser auth behavior maps directly to Expo
- hiding a denial or mismatch bug behind cached content
- queuing destructive offline actions without explicit user review
- changing release profiles without re-checking variant-specific identifiers
Done When
The mobile change is hardened when:
- correctness, offline behavior, and protected-content safety were all exercised
- iOS and Android interaction details were checked intentionally
- performance regressions were considered, not merely hoped away
- Expo validation and variant config still align with the repo contract
- release confidence comes from verified flows, not vibes
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: borgius/kanban-lite — distributed by TomeVault.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use when the task mentions any of these ideas: React Native testing or Expo validation mobile regression checks for iOS or Android
Always test these risk areas first: Protected-content safety no stale task flash during restore, reauth, workspace switch, deep links, or QR entry
Run the repo-supported validation set first. pnpm --filter @kanban-lite/mobile run lint pnpm --filter @kanban-lite/mobile run doctor
Use this quick pass before calling a change done: restore gate never shows protected content too early deep links and QR routes validate workspace and session before task detail mounts
Avoid these release-footguns: treating lint success as sufficient mobile validation testing only online happy paths
The mobile change is hardened when: correctness, offline behavior, and protected-content safety were all exercised iOS and Android interaction details were checked intentionally
# React Native Mobile Hardening
Use this skill when the goal is to **test, harden, and de-risk** Kanban Lite mobile changes before they surprise users in the field. Small bugs become big bugs once a worker is offline, gloved up, and standing in the rain.
## When to Use
Use when the task mentions any of these ideas:
- React Native testing or Expo validation
- mobile regression checks for iOS or Android
- safe area, navigation, gesture, keyboard, or bottom-dock issues
- deep links, QR flows, restore gate, or wrong-workspace/wrong-user recovery
- offline sync, pending resend, conflict review, or stale-cache bugs
- camera, attachment capture, upload states, or QR scanning
- performance, startup time, jank, list scrolling, or render churn
- release hardening, preview builds, EAS profiles, or app identity checks
## Focus Areas
Always test these risk areas first:
1. **Protected-content safety**
- no stale task flash during restore, reauth, workspace switch, deep links, or QR entry
- cache purge behavior when workspace, subject, or session no longer match
2. **Offline truthfulness**
- explicit resend for comments, forms, checklist intents, and attachment drafts
- no silent replay of unsafe server mutations
- clear `Pending`, `Needs connection`, and conflict states
3. **Field-worker ergonomics**
- safe area clearance
- large touch targets
- one obvious primary action in the thumb zone
- outdoor-readable contrast and short recovery copy
4. **Cross-platform correctness**
- iOS and Android navigation behavior
- deep links and scheme handling
- keyboard overlap, gesture interactions, and back behavior
## Procedure
1. **Run the repo-supported validation set first.**
- `pnpm --filter @kanban-lite/mobile run lint`
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Use → Focus Areas → Procedure → Hardening Checklist → Avoid → Done When
要点 -> test, harden, and de-risk · Protected-content safety · Offline truthfulness · Field-worker ergonomics · Cross-platform correctness · Run the repo-supported validation set first. · Walk the highest-risk product flows. · Exercise every mutation state, not just the happy path.
文件/命令 -> Pending · Needs connection · pnpm --filter @kanban-lite/mobile run lint · pnpm --filter @kanban-lite/mobile run doctor · pnpm --filter @kanban-lite/mobile run start -- --offline --clear --port 8088 · cd packages/mobile && APPVARIANT=development pnpm exec expo config --json · cd packages/mobile && APPVARIANT=preview pnpm exec expo config --json · My Work
内容 SHA-256 -> 15f6aec902dc
原文结构
适用与边界
原文中的明确线索
Pending、Needs connection、pnpm --filter @kanban-lite/mobile run lint、pnpm --filter @kanban-lite/mobile run doctor、pnpm --filter @kanban-lite/mobile run start -- --offline --clear --port 8088、cd packages/mobile && APPVARIANT=development pnpm exec expo config --json、cd packages/mobile && APPVARIANT=preview pnpm exec expo config --json、My Work