cute-claude-hooks (可爱提示钩子)

Adds Chinese tooltips and interface translations to Claude Code via hooks.

11|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Dublin1231/polished-localization-for-claude-code --skill cute-claude-hooks-dublin1231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cute-claude-hooks (可爱提示钩子)
Source: https://github.com/Dublin1231/polished-localization-for-claude-code/tree/main
Command: npx skills add https://github.com/Dublin1231/polished-localization-for-claude-code --skill cute-claude-hooks-dublin1231

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the language and usability barriers of Claude Code by adding contextual Chinese explanations for tool actions and translating important interface text, helping Chinese-speaking users understand what Claude is doing and why.

Core Features & Use Cases

  • Chinese Tooltips: Adds PostToolUse hook messages for file operations, shell commands, searches, agents, tasks, and MCP tools.
  • Interface Localization: Translates configuration panels, slash-command descriptions, keyboard hints, status messages, and onboarding text through a maintainable keyword mapping.
  • Cross-Platform Installation and Recovery: Supports Windows, macOS, and Linux with installation, restoration, diagnostics, LF line-ending checks, settings backups, and Git Bash detection.
  • Customization and Troubleshooting: Provides guidance for editing tooltip text, adding command explanations and translations, configuring matchers, diagnosing Windows hook failures, and restoring the original interface.
  • Use Case: A Chinese-speaking developer can install the package, receive plain-language explanations for commands such as Git, npm, Python, Docker, and file operations, and use the localized Claude Code interface without manually maintaining hook configuration.

Quick Start

Install the package with Node.js, run the polished localization installer, and restart Claude Code to activate Chinese tooltips and interface translations.

Frequently Asked Questions about cute-claude-hooks (可爱提示钩子)

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

FAQPage Schema
How do I add Chinese tooltips to Claude Code for file operations and shell commands?

Adding Chinese tooltips to Claude Code requires configuring PostToolUse hooks that intercept file operations, shell commands, and searches to inject localized explanations. This Skill automates that hook setup and provides maintainable keyword mappings for translating tool activity contextually.

Can I localize the Claude Code interface on Windows using Git Bash?

Yes, Claude Code interface localization works on Windows using Git Bash, as well as macOS and Linux. The installer detects Git Bash on Windows, checks LF line-endings, and modifies interface configuration files with backups for safe cross-platform recovery.

Does Claude Code hooks customization require Node.js to install Chinese translations?

Yes, Chinese translations via Claude Code hooks require Node.js 14 or newer to run the installer and manage hook configuration. You also need Bash or Git Bash on Windows and access to the Claude Code settings.json file.

Why are my Claude Code hooks not working on Windows after adding Chinese tooltips?

Claude Code hooks fail on Windows often due to line-ending issues or Git Bash path misconfiguration. This Skill provides diagnostics for Windows hook failures, verifies LF line-endings, detects Git Bash, and offers restoration from backups to troubleshoot installation problems.

What is the best way to translate Claude Code slash commands and configuration panels into Chinese?

Translating Claude Code slash commands and configuration panels into Chinese is best handled through a maintainable keyword mapping applied to interface files. This Skill installs that mapping, covering onboarding text, status messages, and keyboard hints without manual maintenance.

How do I restore the original Claude Code interface after applying Chinese localization?

Restoring the original Claude Code interface after applying Chinese localization uses the built-in recovery feature. The installer creates settings backups before modifying interface files, allowing you to run the restoration process to revert all Chinese translations and hook modifications.