1k dev commands

From OneKeyHQ/app-monorepo · View interactive version

1k dev commands is an AI agent skill from the GitHub repository OneKeyHQ/app-monorepo. OneKey development commands plus branch, commit, validation, and PR conventions.

How to use this skill

Skill file

OneKey Development Commands

For branch naming, commit format, rebasing, and PR conventions, read git-workflow.md.

Application Development Commands

PLATFORM-SPECIFIC DEVELOPMENT:

when evidence points to stale build artifacts or broken dependencies

it; preserve unrelated sessions and check console errors

for normal iOS/Android React Native development. Read this guide before

starting the app, restoring shell/vendor resources, or attaching UI tooling.

Pods installation, and missing injected assets.

yarn workspace @onekeyhq/mobile android. Use them only when explicitly

requested or when diagnosing the launcher.

then start Metro. Wait for Dev server ready; this does not install the app.

Build Commands

PRODUCTION BUILDS (Use for final validation):

Development Tools & Quality Assurance

Pre-commit Commands (Local Development)

Use this for fast agent pre-commit validation:

type checks, and repository checks with compact output. Matching modified and

untracked JS/TS files may be changed by oxlint --fix and oxfmt; inspect the

worktree first and preserve unrelated user changes.

Pre-commit workflow:

yarn agent:check --profile commit && git commit -m "your message"

PR Readiness And Remote Status

CI/review status. Use for implementation readiness, not read-only review.

local auto-fixes; writes local logs.

above; use lower-level lint/type commands to diagnose a failed gate.

ESLint entries are legacy compatibility remnants.

Other Tools

Testing

yarn jest --runTestsByPath <test-file>. Avoid the ambiguous root yarn test.

alone does not establish runtime correctness.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.