Cursor rule Cursor
Termi project overview — always apply.
Cursor rule Cursor
Termi project overview — always apply.
Cursor rule Cursor
Rust core conventions and testing workflow.
Cursor rule Cursor
There is no Android SDK/NDK available in most sandboxed dev environments (including the one this codebase was originally scaffolded in). Kotlin code in this repo has generally not been compiled or run by an AI agent — only reviewed for logical consistency. Treat Kotlin changes as higher-risk than Rust changes until a…
Cursor rule Cursor
Safety and testing requirements — always apply.
Cursor rule Cursor
VFS/SAF capability system architecture — the core product moat.
Skill Claude CodeCodexCursor
Worked example for adding sticky-Ctrl modifier and swipe-based history cycling to CommandToolbar.kt. Use when implementing the remaining Phase 1c keyboard UX items.
Skill Claude CodeCodexCursor
Worked example for adding a new VFS/FsProvider backend (e.g. an SSH remote provider for Phase 2), including how to register it with VfsService and write a test double. Use when adding or reviewing a new storage backend.
Skill Claude CodeCodexCursor
Methodology for finding and fixing .unwrap()/.expect() calls in production code paths, distinguishing them from acceptable test-code usage. Use for periodic safety sweeps or when clippy::unwrapused flags something unclear.
Skill Claude CodeCodexCursor
Structured checklist for debugging a Rust panic or failing cargo test in the Termi core (poisoned mutexes, VFS capability blocks, JNI-only failures). Use whenever a cargo test fails or a panic message shows up.
Skill Claude CodeCodexCursor
Safety review checklist for any change touching androidjni.rs, jnisafe.rs, or vfs/androidsaf.rs. Use before merging JNI-boundary changes, since mistakes there crash the whole app instead of returning an error.
Skill Claude CodeCodexCursor
Full test/lint workflow matching CI exactly (cargo fmt, test, clippy with unwrapused enforced, android feature check). Use when asked to test and fix issues, or after any non-trivial change.
Skill Claude CodeCodexCursor
Walkthrough for connecting the Rust PermissionProbe trait (vfs/health.rs) to a real Android-side SAF permission check via JNI. Use when implementing the Kotlin side of the Phase 1d permission health-check feature.
Cursor rule Cursor
This is a cross-platform terminal emulator with.