fix: leave skills that review.ignore matches out of default discovery #330
Merged
viclafouch(GitHub profile, opens in a new tab)merged 3 commits into
main fromrefs/pull/330/head·merged by LadyBluenotes(GitHub profile, opens in a new tab) Showing 7 changed files with 9 additions and 2 deletions (loading 4).
x
@@ -0,0 +1,5 @@
+---
+'@tanstack/intent': patch
+---
+
+Leave a `SKILL.md` that `review.ignore` matches out of the skills that `review` and `maintainer setup` discover. A Claude Code plugin kept beside the library, such as `plugins/<name>/skills/`, was reviewed as a library skill and reported `No source paths declared`, and `maintainer setup` registered it. A skill that the tree declares is still reviewed.
@@ -43,7 +43,7 @@
-Setup automatically registers valid, Git-visible `skills/**/SKILL.md` files in the root package and workspace packages, preserving their content. It skips dependencies, hidden agent directories, invalid skills, and conflicting names, reporting each skipped candidate. Domains come from `metadata.domain`, the existing domain map, a parent directory under `skills/`, or `uncategorized`; review that placeholder and complete task coverage. For custom locations outside `skills/`, use `maintainer add --path`. Repeating setup preserves existing registrations and workflow files. Reviewers can use [interactive review](./intent-review#interactive-review) in a human terminal; CI uses the noninteractive checks.
+Setup automatically registers valid, Git-visible `skills/**/SKILL.md` files in the root package and workspace packages, preserving their content. It skips dependencies, hidden agent directories, and paths that [`review.ignore`](./intent-review#ignored-paths) matches. It also skips invalid skills and conflicting names, and reports each one. Domains come from `metadata.domain`, the existing domain map, a parent directory under `skills/`, or `uncategorized`; review that placeholder and complete task coverage. For custom locations outside `skills/`, use `maintainer add --path`. Repeating setup preserves existing registrations and workflow files. Reviewers can use [interactive review](./intent-review#interactive-review) in a human terminal; CI uses the noninteractive checks.
@@ -102,7 +102,7 @@
-Discovery covers first-party `skills/**/SKILL.md` files in the repository and its packages, custom roots containing `_artifacts/`, exact paths declared in the skill tree, and previously reviewed skill paths. An unrelated `SKILL.md` elsewhere does not automatically become a library skill. Review excludes `node_modules`, even without a Git ignore rule.
+Discovery covers first-party `skills/**/SKILL.md` files in the repository and its packages that [`review.ignore`](#ignored-paths) does not match, custom roots containing `_artifacts/`, exact paths declared in the skill tree, and previously reviewed skill paths. An unrelated `SKILL.md` elsewhere does not automatically become a library skill. Review excludes `node_modules`, even without a Git ignore rule.