Skip to content

feat: Load skills from node_modules#10125

Closed
ethshea wants to merge 6 commits into
anomalyco:devfrom
ethshea:node-module-skills
Closed

feat: Load skills from node_modules#10125
ethshea wants to merge 6 commits into
anomalyco:devfrom
ethshea:node-module-skills

Conversation

@ethshea

@ethshea ethshea commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Allows OpenCode to scan node packages for root-level skills distributed via node packages.

How did you verify your code works?

Ran locally with a modified version of next.js and saw that OpenCode recognized and could use the skill.

Added a glob pattern to scan for SKILL.md files in node_modules, allowing for skills to be loaded from dependencies.
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Node module skills doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@ethshea ethshea changed the title Node module skills feat: Load skills from node_modules Jan 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant