/quality-commands
:::info This document covers the code quality commands for validating comment standards and i18n completeness in the eIsland frontend. :::
$ npx -y skills add JNTMTMTM/eIsland --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/quality-commands
Context preview
What this command does when you run it.
:::info This document covers the code quality commands for validating comment standards and i18n completeness in the eIsland frontend. :::
Command definition
quality-commands.mdtitle: Code Quality Commands
icon: check-double
Code Quality Commands
:::info This document covers the code quality commands for validating comment standards and i18n completeness in the eIsland frontend. :::
All commands are run from the `web/` directory:
cd web
npm run <script>
:::warning Both commands use `node --experimental-strip-types` for native TypeScript execution. This requires **Node.js 22+**. See [Frontend Setup — Prerequisites](/developer/environment-setup/frontend-setup.md#prerequisites). :::
`comment:check`
Validates that source files comply with the project's comment standards.
npm run comment:check
**Under the hood:** `node --experimental-strip-types scripts/check-comment-standards.ts`
**What it checks:**
- JSDoc headers on exported functions and classes
- Inline comments for complex logic
- Compliance with project documentation conventions
:::important Run this before committing. CI will reject PRs that fail the comment check. :::
`i18n:check`
Validates i18n completeness — checks that all `t()` keys exist in both `zh-CN.json` and `en-US.json`.
npm run i18n:check
**Under the hood:** `node --experimental-strip-types scripts/check-i18n-completeness.ts`
**When to use:**
- After any UI change that adds or modifies `t()` translation calls
- Before committing to catch missing translations early
:::tip Run this after adding new UI text. A missing translation key will show a runtime fallback (usually the key name itself), which looks broken to users. :::
Troubleshooting
Fails with Syntax Error
**Node.js version too old:**
node -v # Must be v22+
# If using nvm-windows
nvm install 25
nvm use 25
:::important Both `comment:check` and `i18n:check` use `--experimental-strip-types` (Node.js 22+ native TypeScript execution). Older Node.js versions will fail with syntax errors on TypeScript annotations. :::
Read more
title: Code Quality Commands icon: check-double
Code Quality Commands
:::info This document covers the code quality commands for validating comment standards and i18n completeness in the eIsland frontend. :::
All commands are run from the `web/` directory:
cd web npm run <script>
:::warning Both commands use `node --experimental-strip-types` for native TypeScript execution. This requires **Node.js 22+**. See [Frontend Setup — Prerequisites](/developer/environment-setup/frontend-setup.md#prerequisites). :::
`comment:check`
Validates that source files comply with the project's comment standards.
npm run comment:check
**Under the hood:** `node --experimental-strip-types scripts/check-comment-standards.ts`
**What it checks:**
- JSDoc headers on exported functions and classes
- Inline comments for complex logic
- Compliance with project documentation conventions
:::important Run this before committing. CI will reject PRs that fail the comment check. :::
`i18n:check`
Validates i18n completeness — checks that all `t()` keys exist in both `zh-CN.json` and `en-US.json`.
npm run i18n:check
**Under the hood:** `node --experimental-strip-types scripts/check-i18n-completeness.ts`
**When to use:**
- After any UI change that adds or modifies `t()` translation calls
- Before committing to catch missing translations early
:::tip Run this after adding new UI text. A missing translation key will show a runtime fallback (usually the key name itself), which looks broken to users. :::
Troubleshooting
Fails with Syntax Error
**Node.js version too old:**
node -v # Must be v22+ # If using nvm-windows nvm install 25 nvm use 25
:::important Both `comment:check` and `i18n:check` use `--experimental-strip-types` (Node.js 22+ native TypeScript execution). Older Node.js versions will fail with syntax errors on TypeScript annotations. :::
eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron.
Repo: JNTMTMTM/eIsland
Other commands on eisland.
- /dev-commands
:::info This document covers the core development commands for building, running, and previewing the eIsland application. For environment setup and prerequisites, see [Frontend Setup](/developer/environment-setup/frontend-setup.md). :::
Open command - /esa-commands
:::info This document covers the ESA (Edge Security Acceleration) CDN cache purge commands for clearing cached content on Alibaba Cloud ESA. These commands use the official `@alicloud/esa20240910` SDK. :::
Open command - /package-commands
:::info This document covers the packaging and lifecycle commands for building distributable installers and managing native modules. For development commands (dev, build, preview), see [Development Commands](dev-commands.md). :::
Open command - /plugin-commands
:::info This document covers all build, test, and smoke commands for eIsland native plugins. Each plugin lives under `plugins/` and has its own `package.json` with independent scripts. :::
Open command - /release-commands
:::info This document covers the release and changelog commands for publishing eIsland builds and generating release notes. For packaging the installer locally, see [Package Commands](package-commands.md). :::
Open command - /test-commands
:::info This document covers the testing commands for running, filtering, and measuring test coverage in the eIsland frontend. :::
Open command

