- Fixed: the token discipline check missed hardcoded numbers.
padding: 20in astyleorsxobject is now flagged as a hardcoded size, like'20px'. It covers padding, margin, gap, positions, width, height,borderRadiusandfontSize.lineHeight,opacity,zIndex,flexGrow,fontWeight,0, theme calls and smallsxtheme-scale numbers (p: 2) are left alone. Tests with anInfoTilefixture:npm test.
/ds-driftnow accepts free text after the command, next to--sinceand--label. Claude applies layout and scope notes (shared components in several folders, folders to skip) tods-drift.config.json, even when the config already exists, uses focus notes in the interpretation, and reports what it changed.- Reports now show which folders adoption is made of: a "Folders counted for adoption" section (markdown and HTML) with each folder's UI files and how many use the design system, and the UI folders that were left out, outside
includeor insidecomponentsSrc. The JSON has the same data undercoverage. - Two new notes from the scan: UI files outside
include, and folders where no UI file imports the design system (they may belong incomponentsSrc). componentsSrcaccepts a list of folders, for a design system split across several.- First run: if those notes appear, Claude asks one question about the folders after the scan, then rescans. Later runs never ask.
- The report, README and Claude's reply now say what is not checked: documentation, rules, Figma, Storybook, lookalike components and duplicates.
- Fixed a false "control has no accessible name" finding. An
aria-labeloraria-labelledbypassed throughslotProps(for exampleslotProps={{ htmlInput: { 'aria-label': 'Search' } }}),inputProps,InputPropsorcomponentsPropsnow counts, so students who apply the standard MUI fix are no longer left on areviewgate.
- Added a Download report as markdown button to the HTML report. It saves the full report with every finding, not the capped version written to disk.
- Fixed false "component not in the design system" failures in monorepos. Subpath imports such as
@mui/material/colorsare now resolved from the folder of the project'stsconfig, and names imported from a module that cannot be resolved are accepted, not failed. A run where nothing resolves reports API fidelity as not measured. - Docs: what the skill works with, why the score and the gate can disagree, and monorepo setup.
- First release:
/ds-driftskill with API fidelity, token discipline, imports and static accessibility checks, markdown, HTML and JSON reports, and comparison with the previous report.