highlight

highlight: used when the user invokes "/highlight" to highlight relevant regions in one or more files in Emacs via emacsclient.

Last repository push
GitHub Stars
154
Forks
19
Issues / PRs
8

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "highlight" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ecf5ff980c2862c28425db949a32d6a95c883fd1c49b8ad2c5a3ed85d86a439c. Verify the upstream source and version against https://github.com/xenodium/emacs-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

highlight: used when the user invokes "/highlight" to highlight relevant regions in one or more files in Emacs via emacsclient.

0 Downloads

Introduction source: third_party · xenodium · 0.0.1 Reference

SkillPi interpretation

Tasks
This skill should be used when the user invokes "/highlight" to highlight relevant regions in one or more files in Emacs via emacsclient.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: highlight
description: 'This skill should be used when the user invokes "/highlight" to highlight relevant regions in one or more files in Emacs via emacsclient.'
tools: Bash
disable-model-invocation: true

Highlight regions in Emacs

Highlight relevant regions in one or more files in Emacs using emacsclient --eval. Files are opened in a temporary read-only minor mode with highlighted overlays. The user presses q to exit the mode and remove all highlights in that buffer.

Determine the relevant files and line ranges from the most recent interaction context.

How to highlight

First, determine the path to agent-skill-highlight.el. It lives alongside this skill file at skills/highlight/agent-skill-highlight.el in the emacs-skills plugin directory.

emacsclient --eval '
(progn
  (load "/path/to/skills/highlight/agent-skill-highlight.el" nil t)
  (agent-skill-highlight
    :files (quote (("/path/to/file1.el"
                    :regions ((:start 90 :lines 18)
                              (:start 114 :lines 49)))
                   ("/path/to/file2.el"
                    :regions ((:start 94 :lines 18)))))))'
  • :start is the 1-indexed line number.
  • :lines is the number of lines to highlight from that start line.
  • Add as many files and regions as needed.

Rules

  • Use absolute paths for files.
  • Locate agent-skill-highlight.el relative to this skill file's directory.
  • If no relevant files or regions exist in the recent interaction, inform the user.
  • Run the emacsclient --eval command via the Bash tool.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value62/100

Highlights

  • 面向 Emacs 用户的专用高亮工具,解决特定开发场景下的代码定位需求
Trigger Precision85/100

Highlights

  • 触发词 "/highlight" 精准明确,边界清晰无歧义
Structure and Standards88/100

Highlights

  • 结构完整,frontmatter 齐全,提供详细命令示例和使用规则
Execution Reliability72/100

Areas to improve

  • 缺少异常处理机制 Reported severity: Minor

    未处理文件不存在、emacsclient 不可用等常见异常情况

    Recommendation: 建议补充对常见异常的处理建议或错误提示机制

  • 依赖文件路径需动态解析 Reported severity: Minor

    agent-skill-highlight.el 路径需要动态确定但未提供具体查找方法

    Recommendation: 建议提供如何动态定位依赖 elisp 文件的具体实现方案

Highlights

  • 使用标准 emacsclient --eval 接口,参数格式规范明确
Evidence Verifiability (mean of the first four)77/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.