Formats file references as markdown links with GitHub-style #L line numbers. Useful when outputting code locations or error references.
Ships in emacs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When referencing files in your output, always format them as markdown links. Use the GitHub-style #L fragment for line numbers.
With a line number:
[filename.el:42](relative/path/to/filename.el#L42)
With a line range:
[filename.el:42-50](relative/path/to/filename.el#L42-L50)
Without a line number:
[filename.el](relative/path/to/filename.el)
: for line numbers (e.g., filename.el:42).#L for line numbers (e.g., filename.el#L42).- (e.g., filename.el:42-50) and the URL uses -L (e.g., filename.el#L42-L50).Do NOT do this:
[filename.el#L42-L50](filename.el#L42)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/emacs-skills:file-linksfrom emacs-skills
npx claudepluginhub xenodium/emacs-skills --plugin emacs-skills20 skills in this plugin
/d2This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path./describeThis skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient./diredThis skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient./emacsclientAlways use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens, running ERT tests, and any other elisp evaluation. Exception: a project's own test/build entry points (make test, eask, eldev, CI scripts) may run even though they spawn emacs --batch internally./github-activityThis skill should be used when the user invokes "/github-activity" to analyze a GitHub project's recent activity (PRs and issues) and produce a succinct, chart-backed health report./gnuplotThis skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.Other plugins' skills for the same job