Agent skill
path-reference
Create properly formatted references to paths (files or folders) in a git repository. Use when writing docs that need to link to any path in the repo.
Install this agent skill to your Project
npx add-skill https://github.com/MacHu-GWU/sanhe-claude-code-plugins/tree/main/plugins/python/sanhe-py-best-practices/skills/path-reference
SKILL.md
path-reference
Create clickable links to paths in a git repository.
Commands
Get web URL (always use -b default for stable links):
uvx --from git-web-url==1.0.1 gwu url -p $path -b default
Get relative path (for display text):
uvx --from git-web-url==1.0.1 gwu relpath -p $path
Link Formats
Markdown:
[relative/path/to/file.py](https://github.com/user/repo/blob/main/relative/path/to/file.py)
reStructuredText:
`relative/path/to/file.py <https://github.com/user/repo/blob/main/relative/path/to/file.py>`_
Supported Platforms
GitHub, GitLab, Bitbucket, AWS CodeCommit (including enterprise variants)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
command-creator
Create custom slash commands for Claude Code
release-note-writer
Generate and update release notes for sanhe-claude-code-plugins. Use when user wants to create or update release notes, document version changes, or prepare for a new release. Reads git commit history, pyproject.toml version, and follows the standardized format.
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
command-creator
Create custom slash commands for Claude Code
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
enrich-citations
Find and add authoritative source links for all facts, citations, and references in markdown documents
Didn't find tool you were looking for?