AGENT SKILL
Find-LocalRepo
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-09-11
- Stars
- ★ 0
- Forks
- 0
02 资源文件 5
- 其他config/LocalRepoFinder.psd1522 B
- 脚本profile/PowerShell-Profile-Snippet.ps1256 B
- 参考文档README.md2.2 KB
- 脚本scripts/Find-LocalRepo.ps115.1 KB
- 脚本tests/Test-LocalRepoFinder.ps13.6 KB
03 SKILL.md 正文
local-repo-finder
Purpose
Provide a reusable global PowerShell helper for locating the best local folder associated with a GitHub repository.
Command
Find-LocalRepo <repository> [-All] [-Exact] [-Open] [-CopyPath] [-OpenWith Explorer|Code]
Accepted repository identifiers:
https://github.com/OWNER/REPOgit@github.com:OWNER/REPO.gitOWNER/REPOREPO
Source of truth
- Implementation:
scripts/Find-LocalRepo.ps1 - Search roots/exclusions:
config/LocalRepoFinder.psd1 - Profile example:
profile/PowerShell-Profile-Snippet.ps1 - Local validation:
tests/Test-LocalRepoFinder.ps1
Safety / scope
- Search only configured project roots.
- Never recurse through all of
C:\. - Prune dependency, Git-internal, cache, and output folders.
- Use read-only Git commands (
git remote get-url origin) for verification. - Do not modify located repositories.
- Profile installation is marker-based and preserves unrelated profile content.
04 同仓库更多 Skills
Test-SiteRoutes
暂无简介
★ 0
Test-Project
暂无简介
★ 0
Start-Project
暂无简介
★ 0
local-site-preview
Start a local web server for a local website or static HTML site so it can be previewed in a browser. Use when the user wants to preview, host, serve, or open a local site on localhost.
★ 0
Search-MyStack
暂无简介
★ 0
Open-VercelProject
暂无简介
★ 0