highlight
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.
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
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: trueHighlight 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)))))))'
:startis the 1-indexed line number.:linesis 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.elrelative to this skill file's directory. - If no relevant files or regions exist in the recent interaction, inform the user.
- Run the
emacsclient --evalcommand via the Bash tool.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向 Emacs 用户的专用高亮工具,解决特定开发场景下的代码定位需求
Highlights
- 触发词 "/highlight" 精准明确,边界清晰无歧义
Highlights
- 结构完整,frontmatter 齐全,提供详细命令示例和使用规则
Areas to improve
-
缺少异常处理机制 Reported severity: Minor
未处理文件不存在、emacsclient 不可用等常见异常情况
Recommendation: 建议补充对常见异常的处理建议或错误提示机制
-
依赖文件路径需动态解析 Reported severity: Minor
agent-skill-highlight.el 路径需要动态确定但未提供具体查找方法
Recommendation: 建议提供如何动态定位依赖 elisp 文件的具体实现方案
Highlights
- 使用标准 emacsclient --eval 接口,参数格式规范明确
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.
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.
User discussion
No verified reviews yet.