Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 25, 2025

Adds .cursor/skills as a skill discovery location alongside the existing .agents/skills path.

Changes

  • pkg/codingcontext/paths.go: Added .cursor/skills to skillSearchPaths() return slice
  • docs/reference/search-paths.md: Documented new search path with directory structure examples
  • pkg/codingcontext/context_test.go: Added test coverage for .cursor/skills discovery and coexistence with .agents/skills

Skills in both directories are now discovered and merged into the available skills list. Discovery order follows the paths array sequencing.

Original prompt

Add .cursor/skills to the skill search paths.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI changed the title [WIP] Add .cursor/skills to skill search paths Add .cursor/skills to skill search paths Dec 25, 2025
Copilot AI requested a review from alexec December 25, 2025 18:14
@alexec alexec marked this pull request as ready for review December 25, 2025 18:30
Copilot AI review requested due to automatic review settings December 25, 2025 18:30
@alexec alexec enabled auto-merge (squash) December 25, 2025 18:30
@alexec alexec merged commit ae0aa96 into main Dec 25, 2025
5 checks passed
@alexec alexec deleted the copilot/add-cursor-skills-path branch December 25, 2025 18:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds .cursor/skills as an additional skill discovery location, enabling Cursor IDE users to store skills alongside the existing .agents/skills directory. Skills from both directories are discovered and merged seamlessly.

Key changes:

  • Extended skill search paths to include .cursor/skills directory
  • Added comprehensive test coverage for the new search path
  • Updated reference documentation with examples

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pkg/codingcontext/paths.go Added .cursor/skills to the skillSearchPaths() function, following the same pattern used for command search paths
pkg/codingcontext/context_test.go Added two table-driven tests verifying skill discovery from .cursor/skills and coexistence with .agents/skills
docs/reference/search-paths.md Documented the new .cursor/skills search path with directory structure examples

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.

2 participants