Skip to content

Conversation

@uinstinct
Copy link
Contributor

@uinstinct uinstinct commented Dec 30, 2025

Description

This PR introduces agent skills to the vscode/jetbrains extension.

References:
About agent skill: https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview
Integrating agent skill: https://github.com/agentskills/agentskills/blob/main/docs/integrate-skills.mdx

resolves CON-5136

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

image

Tests

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


Summary by cubic

Adds agent skills to the VS Code/JetBrains extension so the model can discover project-specific skills and read detailed instructions via a new tool.

  • New Features

    • Load skills from SKILL.md files in .continue/ (workspace and global).
    • Parse YAML frontmatter + markdown content.
    • New read_skill built-in tool to fetch a skill by name; returns a friendly error if not found.
  • Migration

    • Add .continue//SKILL.md with YAML frontmatter (name, description, optional license) and instructions in the body.
    • Reload Continue to pick up skills.

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

@uinstinct uinstinct requested a review from a team as a code owner December 30, 2025 07:22
@uinstinct uinstinct requested review from sestinj and removed request for a team December 30, 2025 07:22
@continue
Copy link
Contributor

continue bot commented Dec 30, 2025

All Green - Keep your PRs mergeable

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts


Unsubscribe from All Green comments

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 30, 2025
@uinstinct uinstinct marked this pull request as draft December 30, 2025 07:24
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.

4 issues found across 17 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="core/config/markdown/loadMarkdownSkills.ts">

<violation number="1" location="core/config/markdown/loadMarkdownSkills.ts:48">
P2: Magic number `slice(7)` is unclear and fragile. This appears to strip the `file://` URI scheme prefix, but should use a named constant or proper URI parsing utility for clarity and safety. Consider extracting this to a helper function or adding a comment explaining the intent.</violation>
</file>

<file name="core/llm/skills.ts">

<violation number="1" location="core/llm/skills.ts:20">
P2: Remove debug `console.log` statement before merging. The `debug1` prefix indicates this is temporary debugging code that should not be in production.</violation>
</file>

<file name="gui/src/redux/util/constructMessages.ts">

<violation number="1" location="gui/src/redux/util/constructMessages.ts:218">
P0: Critical bug: `systemMessageWithSkills` is computed but never used. `finalSystemMessage` is assigned `systemMessageWithRules` instead of `systemMessageWithSkills`, causing the skills feature to have no effect.</violation>

<violation number="2" location="gui/src/redux/util/constructMessages.ts:220">
P0: Same bug: should use `systemMessageWithSkills` instead of `systemMessageWithRules` to include skills when appending conversation summary.</violation>
</file>

Reply to cubic to teach it or ask questions. Tag @cubic-dev-ai to re-run a review.

@continue
Copy link
Contributor

continue bot commented Dec 30, 2025

I've created documentation for the agent skills feature in a separate branch: docs-agent-skills

The documentation includes:

  • Overview page at docs/customize/skills.mdx
  • Detailed guide at docs/customize/deep-dives/skills.mdx
  • Updated navigation in docs/docs.json
  • Updated reference at docs/reference.mdx

Since your PR is from a fork, I can't create a PR directly against your agent-skills branch. Here are the options:

  1. Cherry-pick my commit into your branch:

    git fetch https://github.com/continuedev/continue docs-agent-skills
    git cherry-pick 684d362
  2. Merge my branch into yours:

    git remote add continuedev-main https://github.com/continuedev/continue
    git fetch continuedev-main docs-agent-skills
    git merge continuedev-main/docs-agent-skills
  3. I can create a separate PR against main that will merge after yours

Let me know which approach you prefer!

@uinstinct uinstinct marked this pull request as ready for review January 6, 2026 12:47
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.

No issues found across 13 files

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