elisp-major-mode-authoring

Community

Craft Emacs major modes with best practices

AuthorJylhis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers struggle to consistently implement Emacs major modes, requiring a reliable structure for derive-based mode creation, highlighting, indentation, and compatibility with tree-sitter ts-mode variants.

Core Features & Use Cases

  • Comprehensive skeleton for a new major mode using define-derived-mode.
  • Guidance on setting up font-lock-keywords, indentation, and a syntax-table for robust parsing.
  • Instructions for adopting tree-sitter-based ts-mode variants and remapping major modes.

Quick Start

Create a new major mode by deriving from prog-mode, define the mode, configure font-lock, indentation, and syntax table, and optionally enable a ts-mode variant.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: elisp-major-mode-authoring
Download link: https://github.com/Jylhis/skills/archive/main.zip#elisp-major-mode-authoring

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.