Repository navigation
Releases
Releases · felipebasurto/unslop-ui
v0.4.0
This is the first tagged release. It covers the changes since 0.3.0, which added the opt-in --surface rules (#1).
The skill no longer invents copy
- A rewrite may state only what the source already shows. It never adds a number, a speed or a feature that is not in the code.
- Claims the code cannot verify, such as "Trusted by 10,000+ teams" or a testimonial, stay in place and are listed as tasks.
- The UI rules win where they disagree with the unslop rules. A label is a fragment by design, and a lone "—" in an empty cell is not prose.
- A badge, a dot or a status text is kept when it renders from a condition or a value, and cut when it always renders with fixed text.
- A form field keeps its visible label. The placeholder and helper text that repeat it go, a real constraint stays.
- Icons in a navigation, menu or toolbar stay.
- A chart title can state a finding only when the data is fixed.
A review step and a report you can check
- Before reporting, the skill reads its own diff against the rules the counter cannot see and against the guardrails.
- The report lists every string the skill wrote, old and new. It has a Kept column, so the count does not have to reach 0.
The counter
- It now matches chart configs formatted over several lines, a status dot in any class order, generated numbering (
padStart(2, "0")) and an eyebrow whose classes span lines. - It skips loading skeletons, uppercase table headers, a lone dash, check marks, a single "·" between two facts and "New" on a button.
- It reads CSS, SCSS, Less, JSON and Python as well as markup, and counts the common forms of U12 and U13.
--max Nexits 1 above N, for CI.- U6 now counts chains, not separators, so its number is lower than before on the same file.
Loading the unslop rules
- The loader prints only the rules that apply to interface text.
- Without pstack it uses a bundled copy with the same rule numbers.
- Between cache folders named by commit hash it picks the one written last.
Permissions
allowed-tools now covers the two scripts and the skill's own references/ folder. Before, it allowed any python3 command.
Evals
evals/ holds five small screens and what must be true after a run: a clean screen comes back untouched, real state survives, i18n copy is fixed at its source, form labels stay, and nothing is invented. Run python3 evals/run.py after changing SKILL.md. It needs an agent CLI and is not part of CI.
examples/after is the unedited output of a new run with this version.
Tested with
Claude Code, on all five eval fixtures and the three examples. Cursor and Codex were not run for this release.
Update
Run the install command you used before:
npx skills add felipebasurto/unslop-ui -g