ワンクリックで
lint-and-validate
MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Verify WCAG 2.1 AA compliance by analyzing HTML structure, ARIA usage, contrast, keyboard patterns, and semantic markup. Runs before completion in FE Designer mode.
Guide the design of beautiful, accessible, systematic UI components. Auto-triggers when creating or restyling components in FE Designer mode.
Audit design system consistency — check tokens, spacing, colors, typography usage across the codebase. Triggers when modifying shared styles or on user request.
Self-critique visual output before completion. Evaluates visual hierarchy, CTA clarity, cognitive load, spacing consistency, and layout priority. MUST run before attempt_completion in FE Designer mode.
Auto-enforce coding standards after every code change in Code mode. Checks file size, nesting, naming, error handling, and anti-patterns.
Monitor and manage context window usage to prevent overflow and optimize token efficiency.
| name | lint-and-validate |
| description | MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free. |
| risk | moderate |
| source | self |
| tags | ["linting","validation","quality","mandatory"] |
MANDATORY: Run appropriate validation tools after EVERY code change. Do not finish a task until the code is error-free.
npm run lint or npx eslint "path" --fixnpx tsc --noEmitnpm audit --audit-level=highruff check "path" --fix (Fast & Modern)bandit -r "path" -llmypy "path"npm run lint && npx tsc --noEmitlint fails: Fix the style or syntax issues immediately.tsc fails: Correct type mismatches before proceeding..eslintrc, tsconfig.json, pyproject.toml and suggest creating one.Strict Rule: No code should be committed or reported as "done" without passing these checks.
Use the execute_command tool to run all lint and type-check commands directly. Do NOT rely on external wrapper scripts.
Workflow:
package.json, tsconfig.json, pyproject.toml using read_file or list_filesexecute_command (e.g., npm run lint, npx tsc --noEmit)Note: Respond in the user's configured language when reporting lint results.
attempt_completion to confirm code compiles cleanlyThese are excuses agents use to skip validation. All are incorrect.
| Rationalization | Reality |
|---|---|
| "The change is too small to lint" | Small changes cause big breaks. A missing import or type error takes seconds to catch now, hours to debug later. |
| "I'll run lint at the end after all changes" | Errors compound. Fixing 10 issues at once is harder than fixing 1 at a time. Run after EACH change. |
| "The project doesn't have lint configured" | Check for config files first. If none exist, suggest creating one. Never assume no config = no validation. |
| "Lint is passing in my head — I wrote clean code" | Confidence is not evidence. Run the tools. Even senior engineers make typos. |
| "The user didn't ask me to lint" | This skill is MANDATORY. The user doesn't need to ask. Run validation automatically. |
| "I'll fix the warnings later" | Warnings become errors. Fix them now or document why they're acceptable. |
Signs this skill is being skipped or misapplied:
attempt_completion without any execute_command for lint/type-check