スキル一覧に戻る
sayali-ingle-pdl

husky

by sayali-ingle-pdl

AI app starter template

0🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: husky description: Generates Husky Git hooks configuration with pre-commit checks. Creates .husky/pre-commit file for running linting, testing, and formatting before commits.

Husky Skill

Purpose

Generate Husky configuration for Git hooks with proper pre-commit checks.

Instructions

Step 1: Initialize Husky (Already Done During npm install)

The prepare script in package.json automatically runs husky during npm install. This creates the .husky/ directory structure.

Step 2: Create Pre-Commit Hook

CRITICAL: After Husky initialization, you MUST create or replace the .husky/pre-commit file with the proper content.

Do NOT rely on auto-generated default - it creates a default hook with just npm test which is insufficient.

Output

Create the file: .husky/pre-commit

Implementation Steps

  1. Create .husky/pre-commit file with this content:
  • Lint to check all code
  • Stylelint to check Vue and SCSS files for style issues
  • Unit tests to ensure code changes don't break tests
  • Lint-staged to auto-fix and format staged files
  1. Make the hook executable

Notes

  • Pre-commit hook ensures code quality before commits are made
  • Husky is initialized automatically via the prepare script
  • The agent MUST create/replace the pre-commit hook file after initialization

スコア

総合スコア

35/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です