.codex/skills/run-checks/SKILL.md
Run static checks and high-level validation before a production push in the Inline repo. Use when asked to run checks, verify correctness, or do pre-push/pre-release validation across server/web/admin/apple/cli/proto changes.
npx skillsauth add inline-chat/inline run-checksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the minimal set of static checks and targeted builds/tests based on what changed. Prefer fast, focused checks and confirm with the user before long-running steps.
Run git status -sb and git diff --name-only. Group changes by top-level area:
server/web/admin/apple/InlineKitapple/InlineUIapple/InlineIOSapple/InlineMaccli/proto/If only docs or comments changed, report that checks are optional and ask whether to skip.
If proto/ changed, run bun run generate:proto from repo root and include generated diffs.
If dependencies changed, run the relevant install/build for that stack:
bun installcargo fetch (or rely on cargo test/check)swift build in the affected package directoryRun only what maps to the touched areas.
Backend (server/):
cd server && bun run typecheckcd server && bun run lintcd server && bun test (prefer targeted tests when possible)Web (web/):
cd web && bun run typecheckcd web && bun run build only when explicitly requested or required for release validationAdmin (admin/):
cd admin && bun run typecheckCLI (cli/ or protocol changes):
cd cli && cargo test for full validationcd cli && cargo check if a fast static check is sufficientSwift packages:
cd apple/InlineKit && swift build (run swift test if tests were modified)cd apple/InlineUI && swift buildApps:
apple/InlineIOS or apple/InlineMac, do not run full app builds. Ask the user to run xcodebuild locally if needed.Summarize what ran, what passed/failed, and what was skipped with reasons. For failures, include the first actionable error and the next recommended step.
tools
Explain and use the Inline CLI (`inline`) for authentication, chats, users, spaces, messages, search, bots, typing, notifications, tasks, schema, attachments, downloads, JSON output, and configuration. Use when asked how to use the Inline CLI or its commands, flags, outputs, or workflows.
development
Reads commits and changed files within a timeframe specified by user and compiles a changelog for both iOS and macOS.
testing
Safely sync local commits with remote by rebasing onto origin/main and then push, following a GitHub Desktop-style flow. Use when asked to push/sync a branch, reconcile local and remote state, resolve rebase conflicts, run targeted tests or typechecks, and push only if checks pass.
development
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.