Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

ghpm-suggestghpm 建议

Agent Skill

ghpm-suggest 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

710

周安装

29

GitHub Stars

19

下载量

230
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ghpm-suggest(ghpm 建议)
来源仓库:https://github.com/jackchuka/ghpm
仓库路径:skills/ghpm-suggest
安装命令:
npx skills add https://github.com/jackchuka/ghpm --skill ghpm-suggest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jackchuka/ghpm --skill ghpm-suggest

简介

GHPM 建议技能用于信息查找、检索和筛选,支持关键词快速定位。

  • 适用于需要根据任务场景或来源线索定位候选结果的场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加技能模块。
  • 安装前建议确认权限范围和维护状态,注意可能触发的网络请求。
  • ghpm-suggest 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

ghpm-suggest

PREREQUISITE: Read ../ghpm-shared/SKILL.md for prerequisites and error handling.

Recommend what to work on next by assembling session context and project state, then reasoning about the best options.

Arguments

  • /ghpm-suggest — open-ended recommendation
  • /ghpm-suggest <constraint> — any natural language constraint, e.g.:

- "I have 2 hours" - "I want to switch context" - "I want to focus on frontend work" - "something small"

Session Context

The following is auto-injected at invocation time. If any value is empty, that context is unavailable — skip it gracefully.

  • Current repo:!git remote get-url origin 2>/dev/null
  • Current branch:!git branch --show-current 2>/dev/null
  • Recent commits:!git log --oneline -5 2>/dev/null
  • Changed files:!git diff --stat HEAD~5..HEAD 2>/dev/null
  • GitHub user:!gh api user --jq '.login' 2>/dev/null

Workflow

Phase 1: Gather Context

  1. Project config (required): Follow the startup sequence in ../ghpm-shared/SKILL.md.
  2. Project items (required): Load cache per ../ghpm-shared/references/cache.md. Focus on non-Done items: ReadyForDev, Planned, InProgress.
  3. Session context: Use the auto-injected values above. If GitHub user is available, find items assigned to them in cache. Find items in Done status assigned to user (these indicate completed work, but no completion date is available).
  4. Relevant views (optional — skip if session context unavailable):

- If in a repo that matches a component, that component's view is relevant. - Team standup views that match the user's assignments are relevant. - Triage views are always relevant (unassigned work).

Degraded mode: If only project config and items are available (no git context, no user identity), suggest based purely on project state: prioritize ReadyForDev items with no assignee, then Planned items.

Phase 2: Reason and Suggest

  1. With all context assembled, reason about what to suggest. Consider:

- Proximity: items in the same repo/component as current work require less context-switching. - Momentum: items related to recently completed work — the user has warm context. - Status: ReadyForDev items are higher priority than Planned (already vetted). - Dependencies: items unblocked by the user's recent completions (parent/sub-issue relationships if visible in cache). - Size: if the user mentioned time constraints, prefer smaller items. - Breadth: if the user wants to switch context, suggest items in different components. - Assignee: prefer items already assigned to the user, then unassigned items.

  1. User constraints from arguments adjust the reasoning:

- "2 hours" / "something small" → prefer XS/S sized items - "switch context" → prefer items in DIFFERENT components than recent work - "" → filter to that component - No constraint → balance proximity with priority

Phase 3: Present Suggestions

  1. Format per conventions in ../ghpm-shared/references/format.md. Present suggestions in tiers — a top recommendation, strong alternatives, and optionally a "change of pace" option. The exact count is flexible (3-5 is typical), but every suggestion should earn its place.

For each suggestion, explain why now — what makes this the right item at this moment. Be specific: mention deadlines, recent momentum, blocking relationships, or team context. Also explain how it fits the constraint (e.g., "2-hour fit: migrate a batch of test files, each is self-contained").

Based on your context:
  Repo: <current repo>
  Recent work: <summary of recent commits>
  <component/team> affinity: <inferred from context>

## Top Recommendation

### 1. <title>
- **Issue:** <repo>#<num>
- **URL:** <github url>
- **Status:** <status>
- **Why now:** <specific reasoning — deadlines, momentum, blocking, team needs>
- **<constraint> fit:** <how this fits the user's time/energy/focus constraint>

## Strong Alternatives

### 2. <title>
...

### 3. <title>
...

## If You Want a Change of Pace

### 4. <title>
- (optional tier for lower-priority or different-domain options)

Include a summary table at the end for quick scanning:

| Priority | Issue | Status | Rationale |
|----------|-------|--------|-----------|
| 1 | ... | ... | one-line why |
  • Include issue URL for easy navigation.
  • If user constraint was provided, note how it influenced the suggestions.
  • If no good candidates found, say so and suggest running /ghpm-view triage to find unassigned work.

Tips

  • Read-only — never modifies the project or its items.

See Also

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.16%
按下载量换算83

Claude

26.96%
按下载量换算62

Cursor

17.8%
按下载量换算41

Gemini CLI

9.39%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/jackchuka/ghpm --skill ghpm-suggest 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills