impeccable 2.0.6 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -77
- package/README.md +10 -10
- package/README.npm.md +76 -0
- package/README.repo.md +246 -0
- package/bin/commands/skills.mjs +27 -0
- package/package.json +47 -27
- package/src/detect-antipatterns-browser.js +1029 -213
- package/src/detect-antipatterns.mjs +1221 -215
package/LICENSE
CHANGED
|
@@ -1,77 +1,191 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright
|
|
52
|
+
owner or by an individual or Legal Entity authorized to submit on
|
|
53
|
+
behalf of the copyright owner. For the purposes of this definition,
|
|
54
|
+
"submitted" means any form of electronic, verbal, or written
|
|
55
|
+
communication sent to the Licensor or its representatives, including
|
|
56
|
+
but not limited to communication on electronic mailing lists, source
|
|
57
|
+
code control systems, and issue tracking systems that are managed by,
|
|
58
|
+
or on behalf of, the Licensor for the purpose of discussing and
|
|
59
|
+
improving the Work, but excluding communication that is conspicuously
|
|
60
|
+
marked or otherwise designated in writing by the copyright owner as
|
|
61
|
+
"Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2025 Paul Bakaus
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -29,27 +29,27 @@ npx impeccable detect --fast src/
|
|
|
29
29
|
|
|
30
30
|
## What It Detects
|
|
31
31
|
|
|
32
|
-
**AI Slop Tells
|
|
32
|
+
**AI Slop Tells**: patterns that scream "AI generated this":
|
|
33
33
|
- Side-tab accent borders, gradient text on headings
|
|
34
34
|
- Purple/violet gradients and cyan-on-dark palettes
|
|
35
35
|
- Dark mode with glowing accents, border + border-radius clashes
|
|
36
36
|
|
|
37
|
-
**Typography Issues
|
|
37
|
+
**Typography Issues**: overused fonts (Inter, Roboto), flat type hierarchy, single font families
|
|
38
38
|
|
|
39
|
-
**Color & Contrast
|
|
39
|
+
**Color & Contrast**: WCAG AA violations, gray text on colored backgrounds, pure black/white
|
|
40
40
|
|
|
41
|
-
**Layout & Composition
|
|
41
|
+
**Layout & Composition**: nested cards, monotonous spacing, everything-centered layouts
|
|
42
42
|
|
|
43
|
-
**Motion
|
|
43
|
+
**Motion**: bounce/elastic easing, layout property transitions
|
|
44
44
|
|
|
45
|
-
**Quality
|
|
45
|
+
**Quality**: tiny body text, cramped padding, long line lengths, small touch targets
|
|
46
46
|
|
|
47
47
|
25 detections in total. See the full list at [impeccable.style](https://impeccable.style).
|
|
48
48
|
|
|
49
49
|
## Exit Codes
|
|
50
50
|
|
|
51
|
-
- `0
|
|
52
|
-
- `2
|
|
51
|
+
- `0`: no issues found
|
|
52
|
+
- `2`: anti-patterns detected
|
|
53
53
|
|
|
54
54
|
## Options
|
|
55
55
|
|
|
@@ -69,8 +69,8 @@ impeccable detect [options] [file-or-dir-or-url...]
|
|
|
69
69
|
|
|
70
70
|
## Part of Impeccable
|
|
71
71
|
|
|
72
|
-
This CLI is part of [Impeccable](https://impeccable.style), a cross-provider design skill pack for AI-powered development tools. The full suite includes
|
|
72
|
+
This CLI is part of [Impeccable](https://impeccable.style), a cross-provider design skill pack for AI-powered development tools. The full suite includes 22 steering commands for Claude, Cursor, Gemini, Codex, and more.
|
|
73
73
|
|
|
74
74
|
## License
|
|
75
75
|
|
|
76
|
-
[
|
|
76
|
+
[Apache 2.0](https://github.com/pbakaus/impeccable/blob/main/LICENSE)
|
package/README.npm.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Impeccable CLI
|
|
2
|
+
|
|
3
|
+
Detect UI anti-patterns and design quality issues from the command line. Scans HTML, CSS, JSX, TSX, Vue, and Svelte files for 25 specific patterns including AI-generated UI tells, accessibility violations, and general design quality problems.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Install skills into your AI harness (Claude, Cursor, Gemini, etc.)
|
|
9
|
+
npx impeccable skills install
|
|
10
|
+
|
|
11
|
+
# Update skills to the latest version
|
|
12
|
+
npx impeccable skills update
|
|
13
|
+
|
|
14
|
+
# List all available commands
|
|
15
|
+
npx impeccable skills help
|
|
16
|
+
|
|
17
|
+
# Scan files or directories for anti-patterns
|
|
18
|
+
npx impeccable detect src/
|
|
19
|
+
|
|
20
|
+
# Scan a live URL (requires Puppeteer)
|
|
21
|
+
npx impeccable detect https://example.com
|
|
22
|
+
|
|
23
|
+
# JSON output for CI/tooling
|
|
24
|
+
npx impeccable detect --json src/
|
|
25
|
+
|
|
26
|
+
# Regex-only mode (faster, no jsdom)
|
|
27
|
+
npx impeccable detect --fast src/
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## What It Detects
|
|
31
|
+
|
|
32
|
+
**AI Slop Tells**: patterns that scream "AI generated this":
|
|
33
|
+
- Side-tab accent borders, gradient text on headings
|
|
34
|
+
- Purple/violet gradients and cyan-on-dark palettes
|
|
35
|
+
- Dark mode with glowing accents, border + border-radius clashes
|
|
36
|
+
|
|
37
|
+
**Typography Issues**: overused fonts (Inter, Roboto), flat type hierarchy, single font families
|
|
38
|
+
|
|
39
|
+
**Color & Contrast**: WCAG AA violations, gray text on colored backgrounds, pure black/white
|
|
40
|
+
|
|
41
|
+
**Layout & Composition**: nested cards, monotonous spacing, everything-centered layouts
|
|
42
|
+
|
|
43
|
+
**Motion**: bounce/elastic easing, layout property transitions
|
|
44
|
+
|
|
45
|
+
**Quality**: tiny body text, cramped padding, long line lengths, small touch targets
|
|
46
|
+
|
|
47
|
+
25 detections in total. See the full list at [impeccable.style](https://impeccable.style).
|
|
48
|
+
|
|
49
|
+
## Exit Codes
|
|
50
|
+
|
|
51
|
+
- `0`: no issues found
|
|
52
|
+
- `2`: anti-patterns detected
|
|
53
|
+
|
|
54
|
+
## Options
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
impeccable detect [options] [file-or-dir-or-url...]
|
|
58
|
+
|
|
59
|
+
--fast Regex-only mode (skip jsdom, faster but less accurate)
|
|
60
|
+
--json Output findings as JSON
|
|
61
|
+
--help Show help
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Requirements
|
|
65
|
+
|
|
66
|
+
- Node.js 18+
|
|
67
|
+
- `jsdom` (included as dependency, used for HTML scanning)
|
|
68
|
+
- `puppeteer` (optional, only needed for URL scanning)
|
|
69
|
+
|
|
70
|
+
## Part of Impeccable
|
|
71
|
+
|
|
72
|
+
This CLI is part of [Impeccable](https://impeccable.style), a cross-provider design skill pack for AI-powered development tools. The full suite includes 22 steering commands for Claude, Cursor, Gemini, Codex, and more.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
[Apache 2.0](https://github.com/pbakaus/impeccable/blob/main/LICENSE)
|
package/README.repo.md
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# Impeccable
|
|
2
|
+
|
|
3
|
+
The vocabulary you didn't know you needed. 1 skill, 18 commands, and curated anti-patterns for impeccable frontend design.
|
|
4
|
+
|
|
5
|
+
> **Quick start:** Visit [impeccable.style](https://impeccable.style) to download ready-to-use bundles.
|
|
6
|
+
|
|
7
|
+
## Why Impeccable?
|
|
8
|
+
|
|
9
|
+
Anthropic created [frontend-design](https://github.com/anthropics/skills/tree/main/skills/frontend-design), a skill that guides Claude toward better UI design. Impeccable builds on that foundation with deeper expertise and more control.
|
|
10
|
+
|
|
11
|
+
Every LLM learned from the same generic templates. Without guidance, you get the same predictable mistakes: Inter font, purple gradients, cards nested in cards, gray text on colored backgrounds.
|
|
12
|
+
|
|
13
|
+
Impeccable fights that bias with:
|
|
14
|
+
- **An expanded skill** with 7 domain-specific reference files ([view source](source/skills/impeccable/))
|
|
15
|
+
- **18 steering commands** to audit, review, polish, distill, animate, and more
|
|
16
|
+
- **Curated anti-patterns** that explicitly tell the AI what NOT to do
|
|
17
|
+
|
|
18
|
+
## What's Included
|
|
19
|
+
|
|
20
|
+
### The Skill: impeccable
|
|
21
|
+
|
|
22
|
+
A comprehensive design skill with 7 domain-specific references ([view skill](source/skills/impeccable/SKILL.md)):
|
|
23
|
+
|
|
24
|
+
| Reference | Covers |
|
|
25
|
+
|-----------|--------|
|
|
26
|
+
| [typography](source/skills/impeccable/reference/typography.md) | Type systems, font pairing, modular scales, OpenType |
|
|
27
|
+
| [color-and-contrast](source/skills/impeccable/reference/color-and-contrast.md) | OKLCH, tinted neutrals, dark mode, accessibility |
|
|
28
|
+
| [spatial-design](source/skills/impeccable/reference/spatial-design.md) | Spacing systems, grids, visual hierarchy |
|
|
29
|
+
| [motion-design](source/skills/impeccable/reference/motion-design.md) | Easing curves, staggering, reduced motion |
|
|
30
|
+
| [interaction-design](source/skills/impeccable/reference/interaction-design.md) | Forms, focus states, loading patterns |
|
|
31
|
+
| [responsive-design](source/skills/impeccable/reference/responsive-design.md) | Mobile-first, fluid design, container queries |
|
|
32
|
+
| [ux-writing](source/skills/impeccable/reference/ux-writing.md) | Button labels, error messages, empty states |
|
|
33
|
+
|
|
34
|
+
### 18 Commands
|
|
35
|
+
|
|
36
|
+
| Command | What it does |
|
|
37
|
+
|---------|--------------|
|
|
38
|
+
| `/impeccable teach` | One-time setup: gather design context, save to config |
|
|
39
|
+
| `/impeccable craft` | Full shape-then-build flow with visual iteration |
|
|
40
|
+
| `/impeccable extract` | Pull reusable components and tokens into the design system |
|
|
41
|
+
| `/audit` | Run technical quality checks (a11y, performance, responsive) |
|
|
42
|
+
| `/critique` | UX design review: hierarchy, clarity, emotional resonance |
|
|
43
|
+
| `/polish` | Final pass, design system alignment, and shipping readiness |
|
|
44
|
+
| `/distill` | Strip to essence |
|
|
45
|
+
| `/clarify` | Improve unclear UX copy |
|
|
46
|
+
| `/optimize` | Performance improvements |
|
|
47
|
+
| `/harden` | Error handling, onboarding, i18n, edge cases |
|
|
48
|
+
| `/animate` | Add purposeful motion |
|
|
49
|
+
| `/colorize` | Introduce strategic color |
|
|
50
|
+
| `/bolder` | Amplify boring designs |
|
|
51
|
+
| `/quieter` | Tone down overly bold designs |
|
|
52
|
+
| `/delight` | Add moments of joy |
|
|
53
|
+
| `/adapt` | Adapt for different devices |
|
|
54
|
+
| `/typeset` | Fix font choices, hierarchy, sizing |
|
|
55
|
+
| `/layout` | Fix layout, spacing, visual rhythm |
|
|
56
|
+
| `/overdrive` | Add technically extraordinary effects |
|
|
57
|
+
|
|
58
|
+
#### Usage Examples
|
|
59
|
+
|
|
60
|
+
**`/audit`** - Run quality checks, get a report (no edits)
|
|
61
|
+
```
|
|
62
|
+
/audit blog # Audit blog hub + post pages
|
|
63
|
+
/audit dashboard # Check dashboard components
|
|
64
|
+
/audit checkout flow # Focus on checkout UX
|
|
65
|
+
```
|
|
66
|
+
*When to use:* Before making changes, to understand what needs fixing.
|
|
67
|
+
|
|
68
|
+
**`/normalize`** - Align with design system
|
|
69
|
+
```
|
|
70
|
+
/normalize blog # Apply design tokens, fix spacing
|
|
71
|
+
/normalize buttons # Standardize button styles
|
|
72
|
+
```
|
|
73
|
+
*When to use:* After audit, to fix inconsistencies.
|
|
74
|
+
|
|
75
|
+
**`/critique`** - UX design review
|
|
76
|
+
```
|
|
77
|
+
/critique landing page # Review landing page UX
|
|
78
|
+
/critique onboarding # Check onboarding flow
|
|
79
|
+
```
|
|
80
|
+
*When to use:* When you want design feedback, not technical fixes.
|
|
81
|
+
|
|
82
|
+
**`/polish`** - Final pass before shipping
|
|
83
|
+
```
|
|
84
|
+
/polish feature modal # Clean up modal before release
|
|
85
|
+
/polish settings page # Final review of settings UI
|
|
86
|
+
```
|
|
87
|
+
*When to use:* Last step before deploying to production.
|
|
88
|
+
|
|
89
|
+
**Combining commands:**
|
|
90
|
+
```
|
|
91
|
+
/audit /normalize /polish blog # Full workflow: audit → fix → polish
|
|
92
|
+
/critique /harden checkout # UX review + add error handling
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Anti-Patterns
|
|
96
|
+
|
|
97
|
+
The skill includes explicit guidance on what to avoid:
|
|
98
|
+
|
|
99
|
+
- Don't use overused fonts (Arial, Inter, system defaults)
|
|
100
|
+
- Don't use gray text on colored backgrounds
|
|
101
|
+
- Don't use pure black/gray (always tint)
|
|
102
|
+
- Don't wrap everything in cards or nest cards inside cards
|
|
103
|
+
- Don't use bounce/elastic easing (feels dated)
|
|
104
|
+
|
|
105
|
+
## See It In Action
|
|
106
|
+
|
|
107
|
+
Visit [impeccable.style](https://impeccable.style#casestudies) to see before/after case studies of real projects transformed with Impeccable commands.
|
|
108
|
+
|
|
109
|
+
## Installation
|
|
110
|
+
|
|
111
|
+
### Option 1: Download from Website (Recommended)
|
|
112
|
+
|
|
113
|
+
Visit [impeccable.style](https://impeccable.style), download the ZIP for your tool, and extract to your project.
|
|
114
|
+
|
|
115
|
+
### Option 2: Copy from Repository
|
|
116
|
+
|
|
117
|
+
**Cursor:**
|
|
118
|
+
```bash
|
|
119
|
+
cp -r dist/cursor/.cursor your-project/
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
> **Note:** Cursor skills require setup:
|
|
123
|
+
> 1. Switch to Nightly channel in Cursor Settings → Beta
|
|
124
|
+
> 2. Enable Agent Skills in Cursor Settings → Rules
|
|
125
|
+
>
|
|
126
|
+
> [Learn more about Cursor skills](https://cursor.com/docs/context/skills)
|
|
127
|
+
|
|
128
|
+
**Claude Code:**
|
|
129
|
+
```bash
|
|
130
|
+
# Project-specific
|
|
131
|
+
cp -r dist/claude-code/.claude your-project/
|
|
132
|
+
|
|
133
|
+
# Or global (applies to all projects)
|
|
134
|
+
cp -r dist/claude-code/.claude/* ~/.claude/
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**OpenCode:**
|
|
138
|
+
```bash
|
|
139
|
+
cp -r dist/opencode/.opencode your-project/
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Pi:**
|
|
143
|
+
```bash
|
|
144
|
+
cp -r dist/pi/.pi your-project/
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**Gemini CLI:**
|
|
148
|
+
```bash
|
|
149
|
+
cp -r dist/gemini/.gemini your-project/
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
> **Note:** Gemini CLI skills require setup:
|
|
153
|
+
> 1. Install preview version: `npm i -g @google/gemini-cli@preview`
|
|
154
|
+
> 2. Run `/settings` and enable "Skills"
|
|
155
|
+
> 3. Run `/skills list` to verify installation
|
|
156
|
+
>
|
|
157
|
+
> [Learn more about Gemini CLI skills](https://geminicli.com/docs/cli/skills/)
|
|
158
|
+
|
|
159
|
+
**Codex CLI:**
|
|
160
|
+
```bash
|
|
161
|
+
cp -r dist/codex/.codex/* ~/.codex/
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**Trae:**
|
|
165
|
+
```bash
|
|
166
|
+
# Trae China (domestic version)
|
|
167
|
+
cp -r dist/trae/.trae-cn/skills/* ~/.trae-cn/skills/
|
|
168
|
+
|
|
169
|
+
# Trae International
|
|
170
|
+
cp -r dist/trae/.trae/skills/* ~/.trae/skills/
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
> **Note:** Trae has two versions with different config directories:
|
|
174
|
+
> - **Trae China**: `~/.trae-cn/skills/`
|
|
175
|
+
> - **Trae International**: `~/.trae/skills/`
|
|
176
|
+
>
|
|
177
|
+
> After copying, restart Trae IDE to activate the skills.
|
|
178
|
+
|
|
179
|
+
**Rovo Dev:**
|
|
180
|
+
```bash
|
|
181
|
+
# Project-specific
|
|
182
|
+
cp -r dist/rovo-dev/.rovodev your-project/
|
|
183
|
+
|
|
184
|
+
# Or global (applies to all projects)
|
|
185
|
+
cp -r dist/rovo-dev/.rovodev/skills/* ~/.rovodev/skills/
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Usage
|
|
189
|
+
|
|
190
|
+
Once installed, use commands in your AI harness:
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
/audit # Find issues
|
|
194
|
+
/normalize # Fix inconsistencies
|
|
195
|
+
/polish # Final cleanup
|
|
196
|
+
/distill # Remove complexity
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Most commands accept an optional argument to focus on a specific area:
|
|
200
|
+
|
|
201
|
+
```
|
|
202
|
+
/audit header
|
|
203
|
+
/polish checkout-form
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Note:** Codex CLI uses a different syntax: `/prompts:audit`, `/prompts:polish`, etc.
|
|
207
|
+
|
|
208
|
+
## CLI
|
|
209
|
+
|
|
210
|
+
Impeccable includes a standalone CLI for detecting anti-patterns without an AI harness:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
npx impeccable detect src/ # scan a directory
|
|
214
|
+
npx impeccable detect index.html # scan an HTML file
|
|
215
|
+
npx impeccable detect https://example.com # scan a URL (Puppeteer)
|
|
216
|
+
npx impeccable detect --fast --json . # regex-only, JSON output
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
The detector catches 24 issues across AI slop (side-tab borders, purple gradients, bounce easing, dark glows) and general design quality (line length, cramped padding, small touch targets, skipped headings, and more).
|
|
220
|
+
|
|
221
|
+
## Supported Tools
|
|
222
|
+
|
|
223
|
+
- [Cursor](https://cursor.com)
|
|
224
|
+
- [Claude Code](https://claude.ai/code)
|
|
225
|
+
- [OpenCode](https://opencode.ai)
|
|
226
|
+
- [Pi](https://pi.dev)
|
|
227
|
+
- [Gemini CLI](https://github.com/google-gemini/gemini-cli)
|
|
228
|
+
- [Codex CLI](https://github.com/openai/codex)
|
|
229
|
+
- [VS Code Copilot](https://code.visualstudio.com)
|
|
230
|
+
- [Kiro](https://kiro.dev)
|
|
231
|
+
- [Trae](https://trae.ai)
|
|
232
|
+
- [Rovo Dev](https://www.atlassian.com/software/rovo)
|
|
233
|
+
|
|
234
|
+
## Contributing
|
|
235
|
+
|
|
236
|
+
See [DEVELOP.md](DEVELOP.md) for contributor guidelines and build instructions.
|
|
237
|
+
|
|
238
|
+
## License
|
|
239
|
+
|
|
240
|
+
Apache 2.0. See [LICENSE](LICENSE).
|
|
241
|
+
|
|
242
|
+
The impeccable skill builds on [Anthropic's original frontend-design skill](https://github.com/anthropics/skills/tree/main/skills/frontend-design). See [NOTICE.md](NOTICE.md) for attribution.
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
Created by [Paul Bakaus](https://www.paulbakaus.com)
|