Skip to content

fix(skills): skip plugin documentation files#1557

Open
destire-mio wants to merge 1 commit into
MoonshotAI:mainfrom
destire-mio:fix/skip-plugin-docs-in-skills
Open

fix(skills): skip plugin documentation files#1557
destire-mio wants to merge 1 commit into
MoonshotAI:mainfrom
destire-mio:fix/skip-plugin-docs-in-skills

Conversation

@destire-mio

@destire-mio destire-mio commented Jul 11, 2026

Copy link
Copy Markdown

Related Issue

Fixes #1539

Problem

Plugin-root flat Markdown discovery treated conventional repository documents such as CHANGELOG.md as legacy skills, so the official plugin exposed a spurious CHANGELOG skill.

What changed

Skip conventional documentation filenames only when scanning a plugin root. Non-plugin flat Markdown skills retain their legacy behavior. Added a regression test covering documentation filtering and an ordinary flat plugin skill, plus a patch changeset for the bundled CLI.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran the gen-changesets skill.
  • No documentation update is needed.

Testing

  • Focused scanner test: 61 passed
  • TypeScript check for packages/agent-core passed

@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 765f866

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@destire-mio destire-mio marked this pull request as ready for review July 11, 2026 14:20
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.

Plugin loader registers root-level CHANGELOG.md as a skill named "CHANGELOG"

1 participant