hk

Bootstrap pre-commit hook configuration for projects using hk.

9|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/ivy/dotfiles --skill hk-ivy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hk
Source: https://github.com/ivy/dotfiles/tree/main/home/dot_claude/skills/hk
Command: npx skills add https://github.com/ivy/dotfiles --skill hk-ivy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

hk streamlines bootstrapping pre-commit hooks and configurations for a project, ensuring consistent checks and guardrails from the start.

Core Features & Use Cases

  • Auto-initialization: Sets up hk configuration and recommended stacks in the repository.
  • Validation & Update: Validates current configuration and proposes or applies updates to keep hooks current.
  • Usage Scenarios: Ideal for starting new projects or integrating hk into existing ones to standardize quality checks across environments.

Quick Start

Run hk bootstrap in your project root to initialize pre-commit hooks.

Frequently Asked Questions about hk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap pre-commit hooks for a new project?

To bootstrap pre-commit hooks, run the hk bootstrap command in your project root to initialize configuration and apply recommended stacks for consistent quality checks across environments.

What is the best way to standardize code quality checks across existing repositories?

Standardizing code quality checks involves integrating hk to validate current configurations and apply automated updates, ensuring consistent hook behavior across all environments.

Can I validate and update existing pre-commit hook configurations?

Yes, you can validate existing configurations and apply updates using hk to keep pre-commit hooks current and ensure consistent hook behavior across environments.

Do I need any dependencies to initialize hk pre-commit hooks?

You do not need any dependencies to initialize hk pre-commit hooks; the skill operates independently to bootstrap configurations and recommended stacks in your repository.

Why does my pre-commit hook behavior vary across different environments?

Pre-commit hook behavior varies across environments when configurations are not standardized; bootstrapping hk ensures consistent hook behavior by validating and updating stacks.