[Feature]: Show Skill origin (project, user, plugin, built-in) in the "/" slash menu
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with buildTuiSkillCommands() and formatSkillCommandDescription() in packages/tui/src/tui/controller/run/active-run-flow.ts, then inspect how the select list renders the two columns in packages/tui/src/tui/engine/components/select-list.ts. Use the existing TuiSkill.sourceKind data and map known values to labels while retaining the current fallback for unknown values. Done when Skill origins appear in /, native command rows stay unchanged, and filtering still uses Skill names.
索引モデルが issue の本文から書いたものです。
説明
Product or interface
CLI - interactive TUI (the / slash menu)
Use case and problem
Typing / lists the built-in commands and every available Skill in one menu, and every Skill row looks the same: [Skill] <description>.
There is no way to tell where a Skill comes from:
- a Plugin the user installed,
- the project/workspace (
<workspace>/.agents/skills, and the same-named.minimax/skills/.claude/skillsdirectories), - the user's home (
~/.agents/skills, and~/.claude/skills/~/.codex/skills), - the built-in Skills shipped with MiniMax Code.
That matters in day-to-day use:
- Editing or deleting the wrong copy. A Skill name can exist both in the workspace and in a plugin or built-in bundle; the menu cannot show which one won.
- Reviewing a shared setup. When a teammate's project Skill shows up, nothing in the menu says it came from the repository rather than from the user's home directory.
- Debugging "why is this Skill here". The name alone does not say whether a plugin contributes it.
/skills already groups its output (Built-in Skills / User Skills / Other Skills via classifyTuiSkillSource), but the slash menu does not reuse that information, and the /skills text prints the raw internal token (e.g. workspace, global, skill-hub-local) instead of a user-facing label.
Desired behavior
Each Skill row in the / menu carries a short source marker; native commands stay unchanged.
Sketch (exact wording is up to maintainers):
-> artifacts [Plugin skill] Build, debug, or review code that uses Cloudflare Artifacts
agent-desktop [Project skill] Operate desktop apps on macOS, Windows, and Linux through native accessibility trees
agy-session-search [User skill] Search local Antigravity CLI (agy) sessions, past user prompts, and slash-command history
answer-me-with-html [Built-in skill] Turns an answer into a one-page visual HTML explainer
/model Switch the provider and model for this session
Suggested user-facing vocabulary, mapped from the Skill source the Runtime already returns:
| Runtime value | Suggested label |
|---|---|
plugin |
Plugin skill |
workspace (.agents/skills, .minimax/skills, .claude/skills in the workspace) |
Project skill |
user (~/.agents/skills, ~/.claude/skills, ~/.codex/skills) |
User skill |
agent |
Agent skill |
global (MiniMax Code data directory) |
Global skill |
builtin-agent, builtin-global |
Built-in skill |
skill-hub-local |
Installed from Skill Hub |
| missing / unknown | fall back to today's [Skill] |
Acceptance criteria:
- A Skill's origin is visible in the
/menu without opening/skills. - Native commands (e.g.
/model,/compact) are unchanged. - The label is derived from data the Runtime already exposes; no new filesystem scan in the TUI.
- Unknown or future
sourceKindvalues never break rendering and degrade to the current[Skill]marker. - Typing after
/still filters on the Skill name, and the longer marker does not shift or truncate the name column.
Platform
Multiple platforms
Alternatives and additional context
- Alternative: group the menu under headings (
Commands,Project skills,User skills,Plugin skills) using the group labels the select list already supports. It reads well, but it reorders the list and makes fuzzy filtering across groups less predictable. - Alternative: only change
/skillsand leave the menu alone. The menu is where the ambiguity actually bites, so that is the weaker fix. - Implementation note (from reading this checkout, not verified against a release build): the origin is already available end to end.
SkillInfo.sourceKindis produced bytoSourceKind()inpackages/local-runtime/src/skills/registry-views.ts, survivesRuntimeSkillApplication.listRuntimeSkills()(which appendssourceKind: "plugin"for plugin Skills) and theskill.listservice, and is already declared asTuiSkill.sourceKindinpackages/tui/src/types/runtime-models.ts. The TUI discards it inbuildTuiSkillCommands()/formatSkillCommandDescription()(packages/tui/src/tui/controller/run/active-run-flow.ts), which builds the[Skill] ...description rendered in the two columns ofpackages/tui/src/tui/engine/components/select-list.ts. - Naming caveat:
<workspace>/.agents/skillsis registered with kindworkspace(root idworkspace-agentsinpackages/local-runtime/src/skills/roots.ts), and~/.agents/skillswith kinduser. Theprojectvalue exists inSkillSourceKind, but no Skill root inroots.tscurrently produces it, so a UI that says "project" needs an explicitworkspaceto project mapping. - Related surface with the same
[Skill] ...convention that could follow later: the ACP command list built byavailableSkillCommands()inpackages/tui/src/acp/commands.ts.
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 315
- 平均マージ
- 3時間 54分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MiniMax-AI/minimax-code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MiniMax-AI/minimax-code#639 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MiniMax-AI/minimax-code#636 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MiniMax-AI/minimax-code#615 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MiniMax-AI/minimax-code#556 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MiniMax-AI/minimax-code#507 ·
メンテナーはふだん 1 日以内に返信
MiniMax-AI/minimax-code の issue をすべて見る
似ている issue
-
area:api bug good first issue priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Doezer/Questarr#1486 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Sergey-Bar/Penny#245 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mihazs/lazysh#3377 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Approve the Cloudflare agent plugin for harness sessions対応中かも @joshtsch が今日担当しました。 オープンenhancement ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信