emacs-lisp-dev
Skill by gregoryg
Writes, reviews and tests Emacs Lisp code for .el files, Emacs packages and gptel tools. Code must be batch byte-compiled and smoke-tested before it is delivered. Built for developers working in Emacs.
Install emacs-lisp-dev
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gregoryg/AIPIHKAL /tmp/AIPIHKAL && mkdir -p ~/.claude/skills && cp -r /tmp/AIPIHKAL/skills/emacs-lisp-dev ~/.claude/skills/emacs-lisp-devRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gregoryg/AIPIHKAL /tmp/AIPIHKAL && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/AIPIHKAL/skills/emacs-lisp-dev ~/.gemini/antigravity-cli/skills/emacs-lisp-devAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The emacs-lisp-dev skill guides an AI assistant through writing, editing, debugging and reviewing Emacs Lisp code, including .el files, Emacs packages and gptel tools. It follows idiomatic conventions and sets a mandatory verify-before-deliver rule. Code must be batch byte-compiled, load-checked and smoke-tested before it is shown to the user.
The skill also covers load-path management for bare batch runs, buffer-local variable safety, HTML and XML parsing with libxml and dom.el, safe file writes when a file is open in a buffer, and checking generated Org files with vanilla Org. It is intended for developers who write Emacs Lisp with an AI assistant that has shell access.
Written from the project's SKILL.md and checked against it.
What it can do
- Verify-before-deliverByte-compiles, load-checks and smoke-tests .el code before presenting it to the user.
- Load-path managementPasses -L flags for dependency directories when running Emacs in batch mode.
- Buffer-local variable safetyCaptures buffer-local values before switching buffers and explains global and local shadowing.
- HTML and XML parsingUses libxml-parse-html-region, libxml-parse-xml-region and dom.el instead of regex.
- Safe file writesChecks find-buffer-visiting first so unsaved buffer changes are not overwritten on disk.
- Org artifact checkParses generated Org files with vanilla Org in batch as a separate smoke test.
- Batch testingPrefers batch-mode probes and ert test suites when the project warrants them.
- Style conventionsCovers package prefixes, docstrings, defcustom, pcase and autoload cookies.
What you need
- Emacs available on the command line
- Shell access for the assistant
- Dependency directories for batch loading
Try asking
- Write an Emacs Lisp function that reads a page title with libxml
- Review my gptel tool file and byte-compile it to check for errors
- Check this .el file for unbound variables and missing requires
Good to know
- If Emacs or dependencies cannot load in batch, verification is incomplete.
- Bare emacs --batch does not load the user's .emacs.d config or package paths.
- The Org smoke test does not prove Agenda semantics or preservation behavior.
- Stale .elc files can load unless load-prefer-newer is set or they are deleted.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/emacs-lisp-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to emacs-lisp-dev
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
emacs-lisp-dev: common questions
Does the skill test code before showing it?
Yes. It requires byte-compiling, a load check and a smoke test of any .el code, and fixing failures before presenting the result.
Why does batch Emacs not see my packages?
Bare emacs --batch does not load the user's .emacs.d config or package paths, so each dependency directory must be passed with -L.
Does it cover gptel tools?
Yes. For gptel tools, the skill byte-compiles the file and then requires it in batch to confirm it loads cleanly.
How do I install emacs-lisp-dev?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is emacs-lisp-dev free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is emacs-lisp-dev safe to use?
It scores 56 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to emacs-lisp-dev?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
