AgentSkillsCN

ghq

用于克隆和整理 GitHub 仓库的本地仓库管理工具。在引用现有代码库、检查源代码或管理本地仓库副本时使用。

SKILL.md
--- frontmatter
name: ghq
description: Local repository management tool for cloning and organizing GitHub repositories. Use when referencing existing codebases, inspecting source code, or managing local repository copies.

ghq - Local Repository Management

ghq is a tool for managing local clones of remote repositories in a consistent directory structure.

Triggers

GitHub repository, clone repo, existing codebase, reference code, local repository

When to Use

User mentions a GitHub repository, needs to reference existing code, wants to clone repositories for code inspection

Examples

<examples> <example> <user>Check the nixpkgs source code for how to configure this</user> <agent>I'll check if nixpkgs exists locally and clone if needed: `ghq get NixOS/nixpkgs`</agent> </example> <example> <user>Look at the React source code</user> <agent>I'll fetch React locally for reference: `ghq get facebook/react`</agent> </example> </examples>