Skip to content

feat(cli): invokable skills and import any skill#11113

Open
uinstinct wants to merge 8 commits intocontinuedev:mainfrom
uinstinct:skills-commands
Open

feat(cli): invokable skills and import any skill#11113
uinstinct wants to merge 8 commits intocontinuedev:mainfrom
uinstinct:skills-commands

Conversation

@uinstinct
Copy link
Contributor

@uinstinct uinstinct commented Mar 6, 2026

Description

  • Make skills invokable using slash commands
  • Add a /skills command to list all the available skills
  • Add /import-skill command to import any skill
image image

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Continue Tasks: 🔄 7 running — View all


Summary by cubic

Added invokable skill slash commands and new commands to list and import skills, making skills easier to discover and run from the CLI.

  • New Features

    • Skills are invokable via generated slash commands (skill-<name>, slugified) from Markdown skills under ~/.continue/skills or .claude/skills; invoking routes to the Skills tool and sets skill_name automatically.
    • /skills lists all skills with name, description, and path (shows a helpful message if none found).
    • /import-skill <url-or-name> prepares a guided prompt to fetch and save skills into ~/.continue/skills/<skill-name>, with user confirmation.
    • Skills tool allowed by default in permissions (default and plan modes).
  • Refactors

    • getAllSlashCommands is now async; UI (SlashCommandUI, UserInput) loads commands asynchronously and avoids stale updates on unmount; integration tests updated to await command loading.

Written for commit c1a6f80. Summary will update on new commits.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 6, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 9 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="extensions/cli/src/util/loadMarkdownSkills.ts">

<violation number="1" location="extensions/cli/src/util/loadMarkdownSkills.ts:157">
P2: Generated skill slash command names are not guaranteed unique, causing collisions where only one of multiple skills can be invoked by the shared command.</violation>
</file>

<file name="extensions/cli/src/tools/skills.ts">

<violation number="1" location="extensions/cli/src/tools/skills.ts:103">
P1: Incomplete sentence in buildImportSkillPrompt() function</violation>
</file>

<file name="extensions/cli/src/ui/SlashCommandUI.tsx">

<violation number="1" location="extensions/cli/src/ui/SlashCommandUI.tsx:55">
P2: Async effect has no staleness guard, so out-of-order `getAllSlashCommands` resolutions can overwrite newer command state.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@uinstinct uinstinct requested a review from a team as a code owner March 9, 2026 10:06
@uinstinct uinstinct requested review from RomneyDa and removed request for a team March 9, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant