content-type-checker: add classify-proposal mode#68
Merged
theletterf merged 3 commits intoMay 21, 2026
Merged
Conversation
Adds a second mode that lets the skill classify an *unwritten* page idea against the content types, complementing the existing "validate-an-existing-page" mode. Useful for callers that need to decide which content type a planned page should use before drafting, or that need to gate a "create new page" recommendation on whether the proposed content actually fits a content-type definition. Changes: - SKILL.md: adds Mode-detection guidance and a new "Classify mode steps" section (read proposal, match against type definitions, assign confidence, generate classification report). Existing validate-mode flow is unchanged. - evals.json: 4 new evals (ids 6–9) covering a clear how-to proposal, a clear overview, a problem-first proposal that should be troubleshooting (not how-to), and an ambiguous reference-flavored proposal that should trigger an assembly-check recommendation rather than a confident classification. - Skill version bumped 2.1.1 → 2.2.0 (MINOR — new capability, no breaking change). - Plugin version bumped 1.0.3 → 1.0.4 per validate-skills CI. Motivation: the docs-quest-scanner skill currently does its content-type "would this fit?" check by directly fetching the guideline pages because the existing skill is file-only. Adding classify mode here keeps the canonical rules in one place and lets downstream skills delegate cleanly.
5 tasks
Trivial conflict: — escape vs literal — em dash in description. Kept the literal character form from main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
docs-content-type-checkerso callers can submit a short description of a planned page and get back the best-fit content type, confidence level, required elements still to draft, and a recommendation. Existing validate-mode flow is unchanged.Why
Today the skill only validates files or pasted content. Other skills that need to decide which content type a hypothetical page should use — for example, the
docs-quest-scannerskill, when gating a "create new page" recommendation against the content-type definitions — currently bypass this skill and fetch the guideline pages directly. That duplicates per-type definitions in two places. Adding classify mode keeps the canonical rules here and lets downstream skills delegate.What changed
SKILL.md
<file-or-directory>→<file-or-directory-or-proposal>evals.json
4 new evals (ids 6–9):
Test plan
python3 -m json.tool evals/evals.json— validvalidate-skills.ymlPython checks — 17 skills validated, 0 errorsvalidate-skills.ymlandskill-eval-test.mdruns on PRNotes for reviewers
docs-quest-scannerwas missing in its stage-2 validation step.