Skip to content

Conversation

@joahg
Copy link
Collaborator

@joahg joahg commented Jan 6, 2026

Summary

The documentation specifies ~/.config/agents/skills/ as the global skills directory, but the code was using ~/.config/agent/skills/ (singular). This fixes the mismatch to match the documented path.

Changes

  • Updated skills_extension.rs to use .config/agents/skills instead of .config/agent/skills

References

Documentation references:

  • documentation/docs/mcp/skills-mcp.md
  • documentation/docs/guides/context-engineering/using-skills.md

Copilot AI review requested due to automatic review settings January 6, 2026 18:19
@joahg joahg requested a review from a team as a code owner January 6, 2026 18:19
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 support for .config/agents and .agents directories (plural form) to the skills discovery path, making skills portable across different AI coding agents. The documentation files are new additions that describe this functionality.

  • Adds .config/agents/skills and .agents/skills to the skills discovery directories
  • Updates extension description to be more generic
  • Adds comprehensive documentation for the Skills extension and skill usage

Reviewed changes

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

File Description
documentation/docs/mcp/skills-mcp.md New documentation file describing the Skills extension, its configuration, and example usage
documentation/docs/guides/context-engineering/using-skills.md New comprehensive guide on creating and using skills, including file structure and best practices
crates/goose/src/agents/skills_extension.rs Adds .config/agents/skills (line 86) and .agents/skills (line 94) to skill discovery directories
crates/goose/src/agents/extension.rs Updates description from specific directories to generic "relevant directories"

The changes look good! The code properly adds the new directories in the correct precedence order, matching the documentation. The implementation maintains backward compatibility by keeping all existing paths while adding the new portable ones.

joahg and others added 3 commits January 6, 2026 12:23
@joahg joahg force-pushed the fix/skills-config-path branch from d496750 to f1263ab Compare January 6, 2026 18:23
The documentation specifies ~/.config/agents/skills/ as the global
skills directory, but the code was using ~/.config/agent/skills/
(singular). This fixes the mismatch to match the documented path.

Amp-Thread-ID: https://ampcode.com/threads/T-019b9485-527c-7190-a8f6-0c2f4c532dc7
Co-authored-by: Amp <amp@ampcode.com>
@joahg joahg force-pushed the fix/skills-config-path branch from f1263ab to 2231c2e Compare January 6, 2026 18:25
Copilot AI review requested due to automatic review settings January 6, 2026 18:25
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

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

@alexhancock alexhancock merged commit 3453666 into block:main Jan 6, 2026
24 checks passed
zanesq added a commit that referenced this pull request Jan 7, 2026
* 'main' of github.com:block/goose:
  Claude 3.7 is out. we had some harcoded stuff (#6197)
  Release 1.19.0
  chore: upgrade to node v24 as engine (#6361)
  chore(deps): bump rsa from 0.9.9 to 0.9.10 (#6358)
  Bump rust toolchain to 1.92 (current stable) (#6356)
  Hide advanced recipe options under expandable content (#6021)
  fix: use .config/agents (plural) for skills directory (#6357)
  fix: prevent KaTeX from treating underscores as subscripts in plain text (#6242)
  fix: make goose review PRs more like goose contributors do (#6240)
  fix : preserve provider engine type when editing custom providers (#6106)
  feat(providers): add retry for model fetching (#6347)
  allow goose issue solver to react to activation comments (#6239)
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.

3 participants