Skip to content
Source
Sign inSign up
TanStack/intent

fix: ignore hidden agent skills during review #295

MergedUgesh-Praavin(GitHub profile, opens in a new tab)merged 9 commits intomain fromrefs/pull/295/headmerged by LadyBluenotes(GitHub profile, opens in a new tab)

Showing 5 changed files with 9 additions and 6 deletions (loading 2).

x
0 of 5 viewed, 5 left
5 additions and 0 deletions.changeset/icy-loops-act.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/intent': patch
+---
+​
+Fix maintainer review discovering skills inside hidden agent directories
2 additions and 4 deletionspackages/intent/src/maintainer/existing.tsModified
View file
@@ -3,7 +3,7 @@
import { basename, dirname, relative } from 'node:path'
import { resolveProjectContext } from '../core/project-context.js'
import { resolveWorkspacePackages } from '../setup/workspace-patterns.js'
-import { parseFrontmatter } from '../shared/utils.js'
+import { isDefaultSkillPath, parseFrontmatter } from '../shared/utils.js'
import { stringList } from './add.js'
import {
isObject,
@@ -76,9 +76,7 @@
(path) =>
basename(path) === 'SKILL.md' &&
/(^|\/)skills\//.test(path) &&
- !path
- .split('/')