OneKey development commands plus branch, commit, validation, and PR conventions.
62
74%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.skillshare/skills/1k-dev-commands/SKILL.mdFor branch naming, commit format, rebasing, and PR conventions, read git-workflow.md.
PLATFORM-SPECIFIC DEVELOPMENT:
yarn app:desktop - Start desktop Electron app development with Rspack
yarn clean && yarn reinstall if startup failsyarn app:web:rspack - Start web development server (port 3000)
yarn app:ext - Start browser extension development with Rspack
Mobile DevSession launcher - Default path for normal iOS/Android React Native development. Read this guide before starting the app, restoring shell/vendor resources, or attaching UI tooling.
yarn app:ios - Start iOS development through the Mobile DevSession launcher
yarn app:android - Start Android development through the Mobile DevSession launcher
Direct local native builds: yarn workspace @onekeyhq/mobile ios and
yarn workspace @onekeyhq/mobile android. Use them only when explicitly
requested or when diagnosing the launcher.
yarn app:web-embed - Start embeddable components development
PRODUCTION BUILDS (Use for final validation):
yarn app:desktop:build - Build desktop app for all platforms
apps/desktop/dist/yarn app:ext:build - Build browser extension
apps/ext/build/chrome_v3/yarn app:web:build - Build web application
apps/web/dist/yarn app:native-bundle - Bundle React Native app
Use this for fast agent pre-commit validation:
yarn agent:check --profile commit - Runs staged lint and type checks with compact outputPre-commit workflow:
yarn agent:check --profile commit && git commit -m "your message"These run in CI pipeline or for comprehensive validation:
yarn lint - Comprehensive linting (TypeScript, oxlint, folder structure, i18n)
yarn eslint, npx eslint, or node_modules/.bin/eslint.
ESLint entries are legacy compatibility remnants; active lint validation uses
oxlint through agent:check or yarn lint.yarn test - Jest test execution
yarn clean - Clean all build artifacts and node_modulesyarn reinstall - Full clean install (use when dependency issues occur)jest.config.jsjest-setup.js@tests/ directories within packagesjest-expo preset518bbeb
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.