emacs-keybind-check

Scan Emacs configurations to detect keybinding conflicts and locate command bindings.

2|Updated Jan 19, 2023
One-click install
npx skills add https://github.com/sleepyeye/.emacs.d --skill emacs-keybind-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: emacs-keybind-check
Source: https://github.com/sleepyeye/.emacs.d/tree/main/.claude/skills/emacs-keybind-check
Command: npx skills add https://github.com/sleepyeye/.emacs.d --skill emacs-keybind-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ripgrep, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill scans your Emacs configuration to locate and analyze keybindings, identify conflicts, find which commands are bound to specific keys, and list where each binding is defined. It helps you quickly detect clashes and streamline your workflow.

Core Features & Use Cases

  • Automatic binding discovery: Find all keybindings across your Emacs config.
  • Conflict detection: Identify conflicting bindings and their sources.
  • Targeted search: Locate bindings for a specific key sequence or a command.
  • Output-ready reports: Save a detailed report for review and refactor.

Quick Start

Run a scan against your Emacs configuration:

  • Find all keybindings: ~/.claude/skills/emacs-keybind-check/scripts/find-keybindings.sh ~/.emacs.d
  • Find bindings for a key sequence: ~/.claude/skills/emacs-keybind-check/scripts/find-keybindings.sh ~/.emacs.d --key "C-c p"
  • Find bindings for a command: ~/.claude/skills/emacs-keybind-check/scripts/find-keybindings.sh ~/.emacs.d --cmd "projectile"
  • Detect conflicts and write to a file: ~/.claude/skills/emacs-keybind-check/scripts/find-keybindings.sh ~/.emacs.d --conflicts --output /tmp/keybind-conflicts.md