file-links
When referencing files, format them as markdown links with line numbers using GitHub-style #L syntax.
How do I install this agent skill?
npx skills add https://github.com/xenodium/emacs-skills --skill file-linksIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The analyzed content consists of developer instructions for a security analysis skill designed to audit AI agent skills. It defines 11 threat categories, provides detection patterns for malicious behaviors, and establishes an adversarial reasoning framework. The skill itself contains no malicious code or functionality; its primary purpose is diagnostic and educational.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Format file references as markdown links
When referencing files in your output, always format them as markdown links. Use the GitHub-style #L fragment for line numbers.
Format
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)
Important
- The link text uses
:for line numbers (e.g.,filename.el:42). - The URL uses
#Lfor line numbers (e.g.,filename.el#L42). - For ranges, the link text uses
-(e.g.,filename.el:42-50) and the URL uses-L(e.g.,filename.el#L42-L50). - The range must appear in both the link text and the URL.
Do NOT do this:
[filename.el#L42-L50](filename.el#L42)
Rules
- Use paths relative to the project root.
- Include line numbers when they are relevant (e.g., error locations, function definitions, modified lines).
- Use line ranges when referring to a block of code.
- The link text should be the filename (or relative path if needed for clarity) followed by the line number.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/xenodium/emacs-skills/file-links">View file-links on skillZs</a>