Skip to content

feat(mobile): add slash skill picker to chat composer - #601

Merged
huichen merged 2 commits into
mainfrom
claude/mobile-skills
Sep 13, 2026
Merged

huichen merged 2 commits into
mainfrom
claude/mobile-skills

Conversation

@huichen

@huichen huichen commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a persistent slash button immediately before attachments, sharing inline skill suggestions with manually typed slash tokens.
  • Complete at the caret without sending or discarding surrounding text; support localized search, loading/error/retry/empty states, keyboard-preserving taps and Android dismissal.
  • Keep 44pt actions on narrow screens / large type by combining model and thinking settings.
  • Expose the Agent-backed installed skill catalogue through read-only list_skills and advertise skills_v1 in both handshakes. Older desktops show an upgrade hint instead of an unsupported RPC.
  • Guard against stale results when switching desktops/conversations and document the flow.

Validation

  • Mobile typecheck and ESLint passed.
  • Mobile Jest: 77 suites, 963 tests passed after merging latest origin/main (fix(mobile): preserve NATS routing fields after decryption #600).
  • Desktop Rust: fmt; clippy --all-targets -D warnings with default and no-default-features configurations passed.
  • Desktop Rust full tests passed in both configurations: default 1167 library + 4 binary/integration tests; no-default-features 960 library + 5 binary/integration tests (one pre-existing ignored doctest each).
  • Windows full Rust runs used --test-threads=1 and a short, isolated TEMP outside the repository. Earlier parallel runs hit unrelated SQLite/state races; an initial in-worktree TEMP also hit Git path-length/repository-discovery issues. No unrelated production code was changed.
  • Added coverage for slash boundaries, mid-draft insertion, bilingual filtering, no auto-send, loading/retry/empty/upgrade states, stale responses, compact settings and both capability handshakes.

Manual QA limitation

Native iOS/Android keyboard, IME composition and caret behavior have not been exercised on a real device in this session. The README includes the device regression checklist. This PR does not install or release app binaries; both phone and desktop need the updated code for catalogue browsing.

@huichen
huichen enabled auto-merge (squash) September 13, 2026 15:33
@huichen
huichen merged commit 0567ee5 into main Sep 13, 2026
12 checks passed
@huichen
huichen deleted the claude/mobile-skills branch September 13, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant