impeccable 2.1.8 → 2.1.9

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Impeccable CLI
2
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.
3
+ Detect UI anti-patterns and design quality issues from the command line. Scans HTML, CSS, JSX, TSX, Vue, and Svelte files for 27 specific patterns including AI-generated UI tells, accessibility violations, and general design quality problems.
4
4
 
5
5
  ## Quick Start
6
6
 
package/README.npm.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Impeccable CLI
2
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.
3
+ Detect UI anti-patterns and design quality issues from the command line. Scans HTML, CSS, JSX, TSX, Vue, and Svelte files for 27 specific patterns including AI-generated UI tells, accessibility violations, and general design quality problems.
4
4
 
5
5
  ## Quick Start
6
6
 
package/README.repo.md CHANGED
@@ -6,30 +6,30 @@ The vocabulary you didn't know you needed. 1 skill, 23 commands, and curated ant
6
6
 
7
7
  ## Why Impeccable?
8
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.
9
+ Anthropic's [frontend-design](https://github.com/anthropics/skills/tree/main/skills/frontend-design) was the first widely-used design skill for Claude. Impeccable started from there.
10
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.
11
+ Every model trained on the same SaaS templates. Skip the guidance and you get the same handful of tells on every project: Inter for everything, purple-to-blue gradients, cards nested in cards, gray text on colored backgrounds, the rounded-square icon tile above every heading.
12
12
 
13
- Impeccable fights that bias with:
14
- - **An expanded skill** with 7 domain-specific reference files ([view source](source/skills/impeccable/))
15
- - **23 commands** to audit, review, polish, distill, animate, and more
16
- - **Curated anti-patterns** that explicitly tell the AI what NOT to do
13
+ Impeccable adds:
14
+ - **7 domain reference files** ([view source](skill/)). Typography, color, motion, spatial, interaction, responsive, UX writing. Load on every command, alongside a brand-vs-product register that adjusts the defaults.
15
+ - **23 commands.** A shared design vocabulary with your AI: `polish`, `audit`, `critique`, `distill`, `animate`, `bolder`, `quieter`, and more.
16
+ - **27 deterministic anti-pattern rules** plus a 12-rule LLM critique pass. CLI and browser extension run the deterministic ones with no LLM and no API key. Each is tied to specific design guidance the skill teaches against.
17
17
 
18
18
  ## What's Included
19
19
 
20
20
  ### The Skill: impeccable
21
21
 
22
- A comprehensive design skill with 7 domain-specific references ([view skill](source/skills/impeccable/SKILL.md)):
22
+ A comprehensive design skill with 7 domain-specific references ([view skill](skill/SKILL.md)):
23
23
 
24
24
  | Reference | Covers |
25
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 |
26
+ | [typography](skill/reference/typography.md) | Type systems, font pairing, modular scales, OpenType |
27
+ | [color-and-contrast](skill/reference/color-and-contrast.md) | OKLCH, tinted neutrals, dark mode, accessibility |
28
+ | [spatial-design](skill/reference/spatial-design.md) | Spacing systems, grids, visual hierarchy |
29
+ | [motion-design](skill/reference/motion-design.md) | Easing curves, staggering, reduced motion |
30
+ | [interaction-design](skill/reference/interaction-design.md) | Forms, focus states, loading patterns |
31
+ | [responsive-design](skill/reference/responsive-design.md) | Mobile-first, fluid design, container queries |
32
+ | [ux-writing](skill/reference/ux-writing.md) | Button labels, error messages, empty states |
33
33
 
34
34
  ### 23 Commands
35
35
 
@@ -38,8 +38,8 @@ All commands are accessed through `/impeccable`:
38
38
  | Command | What it does |
39
39
  |---------|--------------|
40
40
  | `/impeccable craft` | Full shape-then-build flow with visual iteration |
41
- | `/impeccable teach` | One-time setup: gather design context, write PRODUCT.md and DESIGN.md |
42
- | `/impeccable document` | Generate DESIGN.md from existing project code |
41
+ | `/impeccable teach` | One-time setup: gather design context, write root PRODUCT.md and DESIGN.md |
42
+ | `/impeccable document` | Generate root DESIGN.md from existing project code |
43
43
  | `/impeccable extract` | Pull reusable components and tokens into the design system |
44
44
  | `/impeccable shape` | Plan UX/UI before writing code |
45
45
  | `/impeccable critique` | UX design review: hierarchy, clarity, emotional resonance |
@@ -145,10 +145,14 @@ cp -r dist/gemini/.gemini your-project/
145
145
  ```bash
146
146
  # Project-local
147
147
  cp -r dist/agents/.agents your-project/
148
+ mkdir -p your-project/.codex
149
+ cp -r dist/codex/.codex/agents your-project/.codex/
148
150
 
149
151
  # Or user-wide
150
152
  mkdir -p ~/.agents/skills
151
153
  cp -r dist/agents/.agents/skills/* ~/.agents/skills/
154
+ mkdir -p ~/.codex
155
+ cp -r dist/codex/.codex/agents ~/.codex/
152
156
  ```
153
157
 
154
158
  **GitHub Copilot:**
@@ -180,6 +184,15 @@ cp -r dist/rovo-dev/.rovodev your-project/
180
184
  cp -r dist/rovo-dev/.rovodev/skills/* ~/.rovodev/skills/
181
185
  ```
182
186
 
187
+ **Qoder:**
188
+ ```bash
189
+ # Project-specific
190
+ cp -r dist/qoder/.qoder your-project/
191
+
192
+ # Or global (applies to all projects)
193
+ cp -r dist/qoder/.qoder/skills/* ~/.qoder/skills/
194
+ ```
195
+
183
196
  ## Usage
184
197
 
185
198
  Once installed, use commands in your AI harness:
@@ -225,6 +238,15 @@ The detector catches 24 issues across AI slop (side-tab borders, purple gradient
225
238
  - [Kiro](https://kiro.dev)
226
239
  - [Trae](https://trae.ai)
227
240
  - [Rovo Dev](https://www.atlassian.com/software/rovo)
241
+ - [Qoder](https://qoder.com)
242
+
243
+ ## Community & Ecosystem
244
+
245
+ Join the community and ecosystem conversations:
246
+
247
+ - GitHub Discussions: file bugs, request features, and help newcomers.
248
+ - [Impeccable on npm](https://www.npmjs.com/package/impeccable): grab the CLI, follow releases, and star the package.
249
+ - Follow @pbakaus on Twitter for release notes, sample lint reports, and video highlights of new rules.
228
250
 
229
251
  ## Contributing
230
252
 
@@ -36,14 +36,14 @@ Run 'impeccable <command> --help' for command-specific options.`);
36
36
  }
37
37
 
38
38
  if (command === '--version' || command === '-v') {
39
- const pkg = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf8'));
39
+ const pkg = JSON.parse(readFileSync(join(__dirname, '..', '..', 'package.json'), 'utf8'));
40
40
  console.log(pkg.version);
41
41
  process.exit(0);
42
42
  }
43
43
 
44
44
  if (command === 'detect') {
45
45
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
46
- const { detectCli } = await import('../src/detect-antipatterns.mjs');
46
+ const { detectCli } = await import('../engine/detect-antipatterns.mjs');
47
47
  await detectCli();
48
48
  } else if (command === 'skills') {
49
49
  const { run } = await import('./commands/skills.mjs');
@@ -51,6 +51,6 @@ if (command === 'detect') {
51
51
  } else {
52
52
  // Default: treat as detect arguments (allow `npx impeccable src/` shorthand)
53
53
  process.argv = [process.argv[0], process.argv[1], ...args];
54
- const { detectCli } = await import('../src/detect-antipatterns.mjs');
54
+ const { detectCli } = await import('../engine/detect-antipatterns.mjs');
55
55
  await detectCli();
56
56
  }
@@ -20,7 +20,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
20
20
  const API_BASE = 'https://impeccable.style';
21
21
 
22
22
  // Provider folder names in project roots
23
- const PROVIDER_DIRS = ['.claude', '.cursor', '.gemini', '.agents', '.github', '.kiro', '.opencode', '.pi', '.trae', '.trae-cn'];
23
+ const PROVIDER_DIRS = ['.claude', '.cursor', '.gemini', '.agents', '.github', '.kiro', '.opencode', '.pi', '.qoder', '.trae', '.trae-cn'];
24
24
 
25
25
  function ask(question) {
26
26
  const rl = createInterface({ input: process.stdin, output: process.stdout });
@@ -112,7 +112,7 @@ async function downloadAndExtractBundle() {
112
112
  */
113
113
  function normalizeForHash(content) {
114
114
  return content
115
- .replace(/\.(claude|cursor|agents|github|gemini|codex|kiro|opencode|pi|trae|trae-cn|rovodev)\/skills\//g, '.PROVIDER/skills/')
115
+ .replace(/\.(claude|cursor|agents|github|gemini|codex|kiro|opencode|pi|qoder|trae|trae-cn|rovodev)\/skills\//g, '.PROVIDER/skills/')
116
116
  .replace(/^version:\s*.+$/m, 'version: NORMALIZED');
117
117
  }
118
118
 
@@ -364,7 +364,7 @@ async function install(flags) {
364
364
 
365
365
  // Clean up deprecated skills from previous versions
366
366
  try {
367
- const { cleanup } = await import('../../source/skills/impeccable/scripts/cleanup-deprecated.mjs');
367
+ const { cleanup } = await import('../../../skill/scripts/cleanup-deprecated.mjs');
368
368
  const result = cleanup(root);
369
369
  const total = result.deletedPaths.length + result.removedLockEntries.length;
370
370
  if (total > 0) {
@@ -513,7 +513,7 @@ async function update(flags = []) {
513
513
 
514
514
  // Clean up deprecated skills from previous versions.
515
515
  try {
516
- const { cleanup } = await import('../../source/skills/impeccable/scripts/cleanup-deprecated.mjs');
516
+ const { cleanup } = await import('../../../skill/scripts/cleanup-deprecated.mjs');
517
517
  const root = findProjectRoot();
518
518
  const result = cleanup(root);
519
519
  const total = result.deletedPaths.length + result.removedLockEntries.length;
@@ -598,7 +598,7 @@ async function update(flags = []) {
598
598
 
599
599
  // Run cleanup to remove deprecated stubs from the fresh download
600
600
  try {
601
- const { cleanup: postCleanup } = await import('../../source/skills/impeccable/scripts/cleanup-deprecated.mjs');
601
+ const { cleanup: postCleanup } = await import('../../../skill/scripts/cleanup-deprecated.mjs');
602
602
  postCleanup(root);
603
603
  } catch {
604
604
  // Not available -- skip