jpskill.com
🛠️ 開発・MCP コミュニティ

lint-typecheck

フロントエンドのコードに対して、ESLintによる構文チェックとTypeScriptの型チェックを実行し、コードの品質を保ち、バグを早期に発見するのに役立つSkill。

📜 元の英語説明(参考)

Run ESLint and TypeScript type checking on the frontend codebase. Use when user mentions "lint", "type check", "check code", "eslint", "tsc", or before committing changes.

🇯🇵 日本人クリエイター向け解説

一言でいうと

フロントエンドのコードに対して、ESLintによる構文チェックとTypeScriptの型チェックを実行し、コードの品質を保ち、バグを早期に発見するのに役立つSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o lint-typecheck.zip https://jpskill.com/download/17224.zip && unzip -o lint-typecheck.zip && rm lint-typecheck.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17224.zip -OutFile "$d\lint-typecheck.zip"; Expand-Archive "$d\lint-typecheck.zip" -DestinationPath $d -Force; ri "$d\lint-typecheck.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して lint-typecheck.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → lint-typecheck フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Lintと型チェック

指示

  1. frontendディレクトリに移動し、lintを実行します。

    cd frontend && npm run lint
  2. TypeScriptのコンパイルチェック(出力なし)を実行します。

    cd frontend && npx tsc -b --noEmit
  3. エラーが見つかった場合:

    • ファイルの場所とともにすべてのエラーをリストアップします。
    • 自動修正可能なESLintの問題を修正するよう提案します:npm run lint -- --fix
    • TypeScriptのエラーについては、型の不一致を特定します。
  4. サマリーを報告します:X件のlint警告、Y件のlintエラー、Z件の型エラー

  • 「frontendでlintを実行する」
  • 「型エラーをチェックする」
  • 「コミット前にコードを検証する」

ガードレール

  • まず読み取り専用モードで実行します。--fixはユーザーの確認を得てからのみ適用します。
  • エラーを抑制するためにtsconfig.jsonを修正しないでください。
  • 修正を試みる前に、すべての問題を報告します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Lint and Type Check

Instructions

  1. Navigate to frontend directory and run lint:

    cd frontend && npm run lint
  2. Run TypeScript compilation check (no emit):

    cd frontend && npx tsc -b --noEmit
  3. If errors are found:

    • List all errors with file locations
    • Offer to fix auto-fixable ESLint issues: npm run lint -- --fix
    • For TypeScript errors, identify the type mismatches
  4. Report summary: X lint warnings, Y lint errors, Z type errors

Examples

  • "Run lint on the frontend"
  • "Check for type errors"
  • "Validate code before commit"

Guardrails

  • Run in read-only mode first; only apply --fix with user confirmation
  • Do not modify tsconfig.json to suppress errors
  • Report all issues before attempting fixes