Skip to content

feat(tui): add /skills slash command#103

Merged
yishuiliunian merged 2 commits intomainfrom
feat/skills-slash-command
Apr 15, 2026
Merged

feat(tui): add /skills slash command#103
yishuiliunian merged 2 commits intomainfrom
feat/skills-slash-command

Conversation

@yishuiliunian
Copy link
Copy Markdown
Contributor

Summary

  • Add /skills builtin command that lists all loaded skills with their source layers
  • Shows skill name, origin (global/project/plugin), and description in a formatted table
  • Includes source legend summary at the bottom

Changes

  • crates/loopal-tui/src/command/skills_cmd.rs — new command handler
  • crates/loopal-tui/src/command/mod.rs — module registration
  • crates/loopal-tui/src/command/builtin.rs — builtin registration
  • crates/loopal-tui/tests/suite/skills_cmd_test.rs — 5 test cases
  • crates/loopal-tui/tests/suite/command_test.rs — builtin assertion updated
  • crates/loopal-tui/tests/suite.rs — test module registration

Test plan

  • bazel test //crates/loopal-tui:loopal-tui_test passes
  • bazel build --config=clippy zero warnings
  • bazel build --config=rustfmt passes
  • CI passes

Shows all loaded skills with name, source layer (global/project/plugin),
and description. Helps users understand which skills are active and where
they originate from.
@yishuiliunian yishuiliunian merged commit 5025f1b into main Apr 15, 2026
4 checks passed
@yishuiliunian yishuiliunian deleted the feat/skills-slash-command branch April 15, 2026 11:55
yishuiliunian added a commit that referenced this pull request Apr 15, 2026
Replace inline system message with a full SubPage (left list + right
detail pane), matching the /mcp page pattern. Also fix scroll tracking
in both skills and mcp list views so the selected item stays visible.
yishuiliunian added a commit that referenced this pull request Apr 15, 2026
Replace inline system message with a full SubPage (left list + right
detail pane), matching the /mcp page pattern. Also fix scroll tracking
in both skills and mcp list views so the selected item stays visible.
yishuiliunian added a commit that referenced this pull request Apr 15, 2026
…110)

Replace inline system message with a full SubPage (left list + right
detail pane), matching the /mcp page pattern. Also fix scroll tracking
in both skills and mcp list views so the selected item stays visible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant