Repository navigation
Conversation
Add a third classifier branch to /docs skill that detects infra/scaffold paths (package.json, *.config.*, .env.example, layout/page files, middleware, framework configs) and routes them to the developer-tool template. Change the fallback default from admin to developer-tool so admin is opt-in via /admin/ path only. Sync all three skill directories (.claude/skills/, templates/skills/, skills/) to the same content including the full classifier, both templates, and the documentation-only early exit logic. Closes #531
4 tasks
Follow-up refinements to the classifier added in d45eee4: 1. Config extension variants — add .cts/.cjs/.mts to the config extension group so e.g. `vitest.config.mts` routes to developer-tool the same as `vitest.config.mjs`. 2. TypeScript/JavaScript project config — add `tsconfig.json` / `jsconfig.json` (name-based, since they don't fit the `*.config.ext` pattern). Previously fell through to the developer-tool default by accident; now matched explicitly. 3. Remove stale "User-Facing Documentation" bullet list — it no longer corresponds to a distinct classifier branch now that the ELSE fallback routes everything non-admin, non-dev-tool, non-infra to developer-tool. Replaced with a one-line note clarifying that fall-through behavior. No CHANGELOG bump — still under the same unreleased #531 entry. Applied identically to all three copies of docs/SKILL.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/docsskill detecting infra/scaffold paths (package.json,*.config.*,.env.example,src/app/**/layout.tsx,src/middleware.ts, framework configs) and routing to thedeveloper-tooltemplateadmintodeveloper-tool—admintemplate is now opt-in via/admin/path only.claude/skills/,templates/skills/,skills/) to identical content with full classifier, both templates, and doc-only early exitAC Verification
SKILL.md:153— regex matches all specified patternsSKILL.md:157-160— ELSE branch routes to developer-toolcheck-skill-sync.tsconfirms syncCHANGELOG.md— new Changed entryTest plan
npm run buildpassesnpm run lintpassesnpm test— 2673/2673 tests passscripts/check-skill-sync.ts— docs skill in synced groupCloses #531