Agent skill
run-checks
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.
Install this agent skill to your Project
npx add-skill https://github.com/inline-chat/inline/tree/main/.codex/skills/run-checks
SKILL.md
Run Checks
Overview
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.
Workflow Decision Tree
1) Identify Scope
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.
2) Run Pre-Checks
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:
- JS/TS:
bun install - Rust:
cargo fetch(or rely oncargo test/check) - Swift:
swift buildin the affected package directory
3) Run Component Checks
Run 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 typecheck- Run
cd web && bun run buildonly when explicitly requested or required for release validation
Admin (admin/):
cd admin && bun run typecheck
CLI (cli/ or protocol changes):
cd cli && cargo testfor full validation- Use
cd cli && cargo checkif a fast static check is sufficient
Swift packages:
cd apple/InlineKit && swift build(runswift testif tests were modified)cd apple/InlineUI && swift build
Apps:
- If changes are in
apple/InlineIOSorapple/InlineMac, do not run full app builds. Ask the user to runxcodebuildlocally if needed.
4) Report Results
Summarize what ran, what passed/failed, and what was skipped with reasons. For failures, include the first actionable error and the next recommended step.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
inline-cli
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.
finalize
Finalize work to prepare a commit. Clean up unnecessary debug logs, remove unused methods added, do a final review to ensure tight elegant implementation, etc.
summarize-work
Based on the context, write a summary of changes, what's left, production readiness, tests run, and APIs/packages used.
branch-out
Isolate a subset of changes from a dirty local worktree (usually on main) into a clean feature branch, then commit, push, and open a PR. Use when the user asks to "branch out", "isolate my changes", "move this work to a new branch", or create a clean PR from only selected files/hunks.
mo-needs-to-review?
Check if uncommitted changes are important/risky/breaking to require a review before merge/production release.
fill-context
Read changes, summarize spec and work done so far, and prepare for working on next steps.
Didn't find tool you were looking for?