@bastani/atomic 0.9.20-alpha.4 → 0.9.20-alpha.5
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/CHANGELOG.md +19 -0
- package/dist/builtin/intercom/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/intercom/skills/intercom/SKILL.md +32 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +12 -0
- package/dist/builtin/subagents/README.md +2 -0
- package/dist/builtin/subagents/agents/code-simplifier.md +1 -1
- package/dist/builtin/subagents/agents/codebase-analyzer.md +1 -1
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +3 -3
- package/dist/builtin/subagents/agents/debugger.md +7 -5
- package/dist/builtin/subagents/agents/worker.md +4 -2
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/agent-browser/SKILL.md +56 -0
- package/dist/builtin/subagents/skills/subagent/SKILL.md +32 -8
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +7 -4
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/builtin/workflows/CHANGELOG.md +30 -0
- package/dist/builtin/workflows/README.md +4 -2
- package/dist/builtin/workflows/builtin/adversarial-verification.js +3 -3
- package/dist/builtin/workflows/builtin/{chunk-n8g2da69.js → chunk-00ywx588.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-d1xqh1rd.js → chunk-55p5dxjk.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-1dydq7w3.js → chunk-7f381xnq.js} +62 -24
- package/dist/builtin/workflows/builtin/{chunk-k18g9me8.js → chunk-7h7s5xdj.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-n4yxrsm9.js → chunk-e83tc6nr.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-sn5mchnx.js → chunk-evfb0312.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-scgprmdj.js → chunk-ne6vh5ct.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-119kxb28.js → chunk-pfm1kgqz.js} +62 -43
- package/dist/builtin/workflows/builtin/{chunk-hnbbb5r0.js → chunk-tdqvdrg1.js} +4 -4
- package/dist/builtin/workflows/builtin/{chunk-kf5xpbkz.js → chunk-tvcydq13.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-9y0f90rd.js → chunk-x2nftpgj.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-vt9zgr9d.js → chunk-zj5162bh.js} +4 -4
- package/dist/builtin/workflows/builtin/classify-and-act.js +3 -3
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +3 -3
- package/dist/builtin/workflows/builtin/generate-and-filter.js +3 -3
- package/dist/builtin/workflows/builtin/goal.js +4 -4
- package/dist/builtin/workflows/builtin/index.d.ts +1 -1
- package/dist/builtin/workflows/builtin/index.js +12 -12
- package/dist/builtin/workflows/builtin/loop-until-done.js +3 -3
- package/dist/builtin/workflows/builtin/open-claude-design.d.ts +1 -1
- package/dist/builtin/workflows/builtin/open-claude-design.js +3 -3
- package/dist/builtin/workflows/builtin/ralph.js +4 -4
- package/dist/builtin/workflows/builtin/steering-context.js +1 -1
- package/dist/builtin/workflows/builtin/tournament.js +3 -3
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/builtin/workflows/skills/impeccable/SKILL.md +18 -11
- package/dist/builtin/workflows/skills/impeccable/reference/adapt.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/adapt.native.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/animate.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/audit.md +5 -5
- package/dist/builtin/workflows/skills/impeccable/reference/audit.native.md +6 -6
- package/dist/builtin/workflows/skills/impeccable/reference/bolder.md +2 -2
- package/dist/builtin/workflows/skills/impeccable/reference/clarify.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/colorize.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/craft-floor.md +0 -6
- package/dist/builtin/workflows/skills/impeccable/reference/critique.md +19 -41
- package/dist/builtin/workflows/skills/impeccable/reference/degraded/asset-producer.md +11 -65
- package/dist/builtin/workflows/skills/impeccable/reference/degraded/documenter.md +3 -3
- package/dist/builtin/workflows/skills/impeccable/reference/degraded/finish-reviewer.md +4 -4
- package/dist/builtin/workflows/skills/impeccable/reference/degraded/manual-edit-applier.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/delight.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/distill.md +2 -2
- package/dist/builtin/workflows/skills/impeccable/reference/doctor.md +4 -4
- package/dist/builtin/workflows/skills/impeccable/reference/document.md +4 -4
- package/dist/builtin/workflows/skills/impeccable/reference/extract.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/harden.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/hooks.md +21 -21
- package/dist/builtin/workflows/skills/impeccable/reference/init.md +8 -8
- package/dist/builtin/workflows/skills/impeccable/reference/layout.md +2 -2
- package/dist/builtin/workflows/skills/impeccable/reference/live-setup.md +10 -8
- package/dist/builtin/workflows/skills/impeccable/reference/live.md +39 -38
- package/dist/builtin/workflows/skills/impeccable/reference/new-work.md +48 -21
- package/dist/builtin/workflows/skills/impeccable/reference/onboard.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/optimize.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/overdrive.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/polish.md +11 -3
- package/dist/builtin/workflows/skills/impeccable/reference/quieter.md +2 -2
- package/dist/builtin/workflows/skills/impeccable/reference/routing.md +13 -7
- package/dist/builtin/workflows/skills/impeccable/reference/typeset.md +2 -2
- package/dist/builtin/workflows/skills/impeccable/reference/visualize.md +13 -19
- package/dist/builtin/workflows/skills/impeccable/scripts/VERSION +1 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/data/font-index-failures.json +121 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/data/font-index.json +1 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/impeccable +212 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/impeccable.cmd +218 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-dom.js +21 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-ignores.js +242 -0
- package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-session.js +25 -4
- package/dist/builtin/workflows/skills/impeccable/scripts/live-browser.js +666 -197
- package/dist/builtin/workflows/skills/research-codebase/SKILL.md +1 -1
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +156 -84
- package/dist/builtin/workflows/src/index.js +62 -24
- package/dist/core/execution-model-router.d.ts +2 -0
- package/dist/core/execution-model-router.d.ts.map +1 -1
- package/dist/core/execution-model-router.js +30 -4
- package/dist/core/execution-model-router.js.map +1 -1
- package/dist/core/model-routing-task.d.ts +1 -1
- package/dist/core/model-routing-task.d.ts.map +1 -1
- package/dist/core/model-routing-task.js +4 -3
- package/dist/core/model-routing-task.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +2 -1
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.js +4 -0
- package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
- package/docs/computer-use.md +22 -21
- package/docs/getting-started/first-session.md +2 -2
- package/docs/getting-started/installation.md +6 -2
- package/docs/intercom.md +6 -1
- package/docs/models/model-selection.md +11 -7
- package/docs/quickstart.md +1 -1
- package/docs/skills.md +1 -1
- package/docs/subagents/reference.md +2 -2
- package/docs/subagents.md +7 -1
- package/docs/usage.md +2 -0
- package/docs/windows.md +1 -1
- package/docs/workflows/api-reference.md +3 -4
- package/docs/workflows/builtins.md +2 -2
- package/docs/workflows/operations.md +1 -1
- package/docs/workflows/reliable-design.md +12 -1
- package/docs/workflows/verification.md +8 -8
- package/npm-shrinkwrap.json +32 -32
- package/package.json +3 -3
- package/dist/builtin/subagents/skills/playwright-cli/SKILL.md +0 -420
- package/dist/builtin/subagents/skills/playwright-cli/references/element-attributes.md +0 -23
- package/dist/builtin/subagents/skills/playwright-cli/references/playwright-tests.md +0 -39
- package/dist/builtin/subagents/skills/playwright-cli/references/request-mocking.md +0 -87
- package/dist/builtin/subagents/skills/playwright-cli/references/running-code.md +0 -241
- package/dist/builtin/subagents/skills/playwright-cli/references/session-management.md +0 -225
- package/dist/builtin/subagents/skills/playwright-cli/references/storage-state.md +0 -275
- package/dist/builtin/subagents/skills/playwright-cli/references/test-generation.md +0 -433
- package/dist/builtin/subagents/skills/playwright-cli/references/tracing.md +0 -139
- package/dist/builtin/subagents/skills/playwright-cli/references/video-recording.md +0 -143
- package/dist/builtin/workflows/skills/impeccable/agents/impeccable_asset_producer.toml +0 -94
- package/dist/builtin/workflows/skills/impeccable/agents/impeccable_documenter.toml +0 -27
- package/dist/builtin/workflows/skills/impeccable/agents/impeccable_finish_reviewer.toml +0 -41
- package/dist/builtin/workflows/skills/impeccable/agents/impeccable_manual_edit_applier.toml +0 -95
- package/dist/builtin/workflows/skills/impeccable/agents/openai.yaml +0 -4
- package/dist/builtin/workflows/skills/impeccable/scripts/concept-seed.mjs +0 -695
- package/dist/builtin/workflows/skills/impeccable/scripts/context-signals.mjs +0 -325
- package/dist/builtin/workflows/skills/impeccable/scripts/context.mjs +0 -1503
- package/dist/builtin/workflows/skills/impeccable/scripts/critique-storage.mjs +0 -222
- package/dist/builtin/workflows/skills/impeccable/scripts/detect-csp.mjs +0 -198
- package/dist/builtin/workflows/skills/impeccable/scripts/detect.mjs +0 -21
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/browser/injected/index.mjs +0 -2073
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/cli/main.mjs +0 -432
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/design-system.mjs +0 -1121
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +0 -8746
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/detect-antipatterns.mjs +0 -51
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +0 -376
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +0 -1168
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +0 -1192
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +0 -290
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -189
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/findings.mjs +0 -18
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/node/file-system.mjs +0 -213
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/profile/profiler.mjs +0 -166
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/registry/antipatterns.mjs +0 -617
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/rules/checks.mjs +0 -5534
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/color.mjs +0 -588
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/constants.mjs +0 -112
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/fonts.mjs +0 -30
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/inline-ignores.mjs +0 -148
- package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/page.mjs +0 -35
- package/dist/builtin/workflows/skills/impeccable/scripts/doctor.mjs +0 -338
- package/dist/builtin/workflows/skills/impeccable/scripts/embed-prompt.mjs +0 -270
- package/dist/builtin/workflows/skills/impeccable/scripts/generate-image.mjs +0 -277
- package/dist/builtin/workflows/skills/impeccable/scripts/hook-admin.mjs +0 -783
- package/dist/builtin/workflows/skills/impeccable/scripts/hook-lib.mjs +0 -2305
- package/dist/builtin/workflows/skills/impeccable/scripts/hook.mjs +0 -78
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/artifact-schema.mjs +0 -93
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/composition-catalog.mjs +0 -200
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/concept-catalog.mjs +0 -395
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/design-parser.mjs +0 -925
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/impeccable-config.mjs +0 -640
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/impeccable-paths.mjs +0 -137
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/is-generated.mjs +0 -72
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/open-system-browser.mjs +0 -57
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/provider.mjs +0 -5
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/roll-selection.mjs +0 -369
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness-deep.mjs +0 -483
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness-notice.mjs +0 -169
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness.mjs +0 -528
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/surface-briefs.mjs +0 -151
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/target-args.mjs +0 -42
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/target-slug.mjs +0 -33
- package/dist/builtin/workflows/skills/impeccable/scripts/lib/template-extensions.mjs +0 -146
- package/dist/builtin/workflows/skills/impeccable/scripts/live/accept-css.mjs +0 -617
- package/dist/builtin/workflows/skills/impeccable/scripts/live/accept-verify.mjs +0 -71
- package/dist/builtin/workflows/skills/impeccable/scripts/live/browser-script-parts.mjs +0 -77
- package/dist/builtin/workflows/skills/impeccable/scripts/live/completion.mjs +0 -28
- package/dist/builtin/workflows/skills/impeccable/scripts/live/event-validation.mjs +0 -199
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/astro.mjs +0 -47
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/detect-utils.mjs +0 -157
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/index.mjs +0 -143
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/journal.mjs +0 -205
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/nextjs.mjs +0 -49
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/nuxt.mjs +0 -170
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/script-src.mjs +0 -26
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/static-html.mjs +0 -26
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/sveltekit.mjs +0 -71
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/tag-strategy.mjs +0 -247
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/tanstack-start.mjs +0 -70
- package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/vite-generic.mjs +0 -42
- package/dist/builtin/workflows/skills/impeccable/scripts/live/generation-preflight.mjs +0 -149
- package/dist/builtin/workflows/skills/impeccable/scripts/live/insert-ui.mjs +0 -458
- package/dist/builtin/workflows/skills/impeccable/scripts/live/instructions.mjs +0 -169
- package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-apply.mjs +0 -939
- package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-edit-routes.mjs +0 -357
- package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-edits-buffer.mjs +0 -152
- package/dist/builtin/workflows/skills/impeccable/scripts/live/poll-lanes.mjs +0 -14
- package/dist/builtin/workflows/skills/impeccable/scripts/live/roots.mjs +0 -670
- package/dist/builtin/workflows/skills/impeccable/scripts/live/session-store.mjs +0 -563
- package/dist/builtin/workflows/skills/impeccable/scripts/live/source-lock.mjs +0 -105
- package/dist/builtin/workflows/skills/impeccable/scripts/live/source-search.mjs +0 -105
- package/dist/builtin/workflows/skills/impeccable/scripts/live/svelte-ast.mjs +0 -969
- package/dist/builtin/workflows/skills/impeccable/scripts/live/svelte-component.mjs +0 -1401
- package/dist/builtin/workflows/skills/impeccable/scripts/live/sveltekit-adapter.mjs +0 -314
- package/dist/builtin/workflows/skills/impeccable/scripts/live/tanstack-adapter.mjs +0 -280
- package/dist/builtin/workflows/skills/impeccable/scripts/live/ui-surfaces.mjs +0 -75
- package/dist/builtin/workflows/skills/impeccable/scripts/live/vocabulary.mjs +0 -171
- package/dist/builtin/workflows/skills/impeccable/scripts/live-accept.mjs +0 -961
- package/dist/builtin/workflows/skills/impeccable/scripts/live-commit-manual-edits.mjs +0 -1244
- package/dist/builtin/workflows/skills/impeccable/scripts/live-complete.mjs +0 -107
- package/dist/builtin/workflows/skills/impeccable/scripts/live-copy-edit-agent.mjs +0 -800
- package/dist/builtin/workflows/skills/impeccable/scripts/live-discard-manual-edits.mjs +0 -51
- package/dist/builtin/workflows/skills/impeccable/scripts/live-inject.mjs +0 -515
- package/dist/builtin/workflows/skills/impeccable/scripts/live-insert.mjs +0 -292
- package/dist/builtin/workflows/skills/impeccable/scripts/live-manual-edit-evidence.mjs +0 -371
- package/dist/builtin/workflows/skills/impeccable/scripts/live-poll.mjs +0 -427
- package/dist/builtin/workflows/skills/impeccable/scripts/live-resume.mjs +0 -123
- package/dist/builtin/workflows/skills/impeccable/scripts/live-server.mjs +0 -1675
- package/dist/builtin/workflows/skills/impeccable/scripts/live-status.mjs +0 -71
- package/dist/builtin/workflows/skills/impeccable/scripts/live-target.mjs +0 -30
- package/dist/builtin/workflows/skills/impeccable/scripts/live-wrap.mjs +0 -927
- package/dist/builtin/workflows/skills/impeccable/scripts/live.mjs +0 -365
- package/dist/builtin/workflows/skills/impeccable/scripts/palette.mjs +0 -628
- package/dist/builtin/workflows/skills/impeccable/scripts/pin.mjs +0 -224
- package/dist/builtin/workflows/skills/impeccable/scripts/serve-question.mjs +0 -1540
- package/dist/builtin/workflows/skills/impeccable/scripts/surface-brief.mjs +0 -74
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loop_until_done_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-evfb0312.js";
|
|
4
4
|
import"./chunk-z0d03ktm.js";
|
|
5
5
|
import"./chunk-n1910xc4.js";
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-00ywx588.js";
|
|
7
|
+
import"./chunk-e83tc6nr.js";
|
|
8
8
|
export {
|
|
9
9
|
loop_until_done_default as default
|
|
10
10
|
};
|
|
@@ -23,7 +23,7 @@ export type OpenClaudeDesignWorkflowOutputs = WorkflowOutputValues & {
|
|
|
23
23
|
readonly preview_file_url?: string;
|
|
24
24
|
readonly spec_path?: string;
|
|
25
25
|
readonly spec_file_url?: string;
|
|
26
|
-
readonly
|
|
26
|
+
readonly agent_browser_status?: string;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export type OpenClaudeDesignWorkflowDefinition = WorkflowDefinition<
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
open_claude_design_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
5
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-pfm1kgqz.js";
|
|
4
|
+
import"./chunk-00ywx588.js";
|
|
5
|
+
import"./chunk-e83tc6nr.js";
|
|
6
6
|
export {
|
|
7
7
|
open_claude_design_default as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ralph_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-tdqvdrg1.js";
|
|
4
|
+
import"./chunk-7f381xnq.js";
|
|
5
5
|
import"./chunk-2377r57g.js";
|
|
6
6
|
import"./chunk-z0d03ktm.js";
|
|
7
7
|
import"./chunk-n1910xc4.js";
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-00ywx588.js";
|
|
9
|
+
import"./chunk-e83tc6nr.js";
|
|
10
10
|
export {
|
|
11
11
|
ralph_default as default
|
|
12
12
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tournament_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-x2nftpgj.js";
|
|
4
4
|
import"./chunk-2377r57g.js";
|
|
5
5
|
import"./chunk-n1910xc4.js";
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-00ywx588.js";
|
|
7
|
+
import"./chunk-e83tc6nr.js";
|
|
8
8
|
export {
|
|
9
9
|
tournament_default as default
|
|
10
10
|
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: impeccable
|
|
3
3
|
description: Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.3.1
|
|
5
|
+
license: Apache 2.0
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Bash(npx impeccable *)
|
|
8
|
+
- Bash(.pi/skills/impeccable/scripts/impeccable *)
|
|
5
9
|
---
|
|
6
10
|
|
|
7
|
-
This skill gives you the tools and permission to create design that earns to be called out-of-distribution craft: Whereas before, your design work would have been safe, timid and measured, you now approach every design task as
|
|
11
|
+
This skill gives you the tools and permission to create design that earns to be called out-of-distribution craft: Whereas before, your design work would have been safe, timid and measured, you now approach every design task as an award-winning design director with impeccable understanding for what makes exceptional design work: production-grade code, peak creativity, a clear POV, deep understanding of the needs of the client and users, and exceptional craft.
|
|
8
12
|
|
|
9
13
|
Core principles:
|
|
10
14
|
- Go all out. No hedging, no shortcuts. The deliverable must be complete (except assets the user must provide).
|
|
@@ -13,9 +17,11 @@ Core principles:
|
|
|
13
17
|
|
|
14
18
|
## Setup
|
|
15
19
|
|
|
16
|
-
1. Run
|
|
17
|
-
2.
|
|
18
|
-
3. After analysis and direction
|
|
20
|
+
1. Run `<skill-base-dir>/scripts/impeccable context` once per session, where `<skill-base-dir>` is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every `.pi/skills/impeccable/scripts/impeccable <verb>` command in this skill and its references, and `.pi/skills/impeccable/scripts` is the fallback only when the runtime reports no base directory. On a Windows shell without `sh`, call `.pi/skills/impeccable/scripts/impeccable.cmd` instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as `--target <path>`. It loads PRODUCT.md, DESIGN.md, the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.
|
|
21
|
+
2. Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or [reference/new-work.md](reference/new-work.md) for a new surface or replacement visual world. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
|
|
22
|
+
3. After resolving analysis and direction, read [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, including small refinements. It carries the quality floor, the absolute bans, and the reflexes no detector catches. Do not load it for planning-only work.
|
|
23
|
+
|
|
24
|
+
**Launcher unavailable:** On refusal or failure, send a separate message **before the next tool call**: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
|
|
19
25
|
|
|
20
26
|
## How to design
|
|
21
27
|
|
|
@@ -65,16 +71,17 @@ Choose the mode from the requested surface, not the product, and persist it only
|
|
|
65
71
|
Routing:
|
|
66
72
|
|
|
67
73
|
- **No argument:** read [routing.md](reference/routing.md) and present its context-aware menu; never auto-run a command.
|
|
68
|
-
- **Explicit or clearly implied command:** load its reference (native variant on native platforms) and follow it. Ask once if two commands fit.
|
|
69
|
-
- **
|
|
74
|
+
- **Explicit or clearly implied request to run a command:** load its reference (native variant on native platforms) and follow it. Ask once if two commands fit.
|
|
75
|
+
- **Workflow or command-selection question:** read [Workflow questions](reference/routing.md#workflow-questions).
|
|
76
|
+
- **Otherwise:** treat the request as general design work. Missing PRODUCT.md routes a new surface or replacement world through init, then new-work; a narrow refinement of existing code proceeds on the incumbent implementation as `impeccable context` directs, offering init afterward rather than blocking on it.
|
|
70
77
|
- `teach` aliases `init`. `craft` is a deprecated alias for ordinary new-work and adds nothing. `shape` owns task discovery, then enters new-work only for visual-world and surface-concept decisions.
|
|
71
78
|
|
|
72
|
-
After init writes PRODUCT.md, resume without rerunning `context
|
|
79
|
+
After init writes PRODUCT.md, resume without rerunning `impeccable context`; init loads the native platform reference itself when the platform it recorded is `ios`, `android`, or `adaptive`.
|
|
73
80
|
|
|
74
|
-
**Pin / Unpin:**
|
|
81
|
+
**Pin / Unpin:** `.pi/skills/impeccable/scripts/impeccable pin <pin|unpin> <command>` creates or removes a standalone `/<command>` shortcut. Report the script's result concisely; relay stderr verbatim on error.
|
|
75
82
|
|
|
76
|
-
**Hooks:**
|
|
83
|
+
**Hooks:** `/impeccable hooks <on|off|status|ignore-rule|ignore-file|ignore-value|reset>` manages the design detector hook for this project (auto-runs the detector after UI file edits and surfaces findings). Load [reference/hooks.md](reference/hooks.md) when the user invokes it with any argument.
|
|
77
84
|
|
|
78
|
-
**Doctor:**
|
|
85
|
+
**Doctor:** `/impeccable doctor` reports and repairs drift between this project's Impeccable artifacts (PRODUCT.md, DESIGN.md and its sidecar, config, surface briefs, the hook) and what this version reads. Load [reference/doctor.md](reference/doctor.md) when the user invokes it, or when they ask what is out of date, stale, or needs refreshing. A `CONTEXT_STALE` directive in Setup's output is the cheap subset of the same report; act on it there per its own instructions rather than running doctor unasked.
|
|
79
86
|
|
|
80
87
|
**Never repair drift as a side effect of a design task.** A `CONTEXT_STALE` finding is reported, not acted on, unless the user asks. The one exception is a finding marked `auto`, which the next write to that file performs anyway.
|
|
@@ -188,7 +188,7 @@ Test thoroughly across contexts:
|
|
|
188
188
|
- **Edge cases**: Very small screens (320px), very large screens (4K)
|
|
189
189
|
- **Slow connections**: Test on throttled network
|
|
190
190
|
|
|
191
|
-
When the adaptation feels native to each context, hand off to
|
|
191
|
+
When the adaptation feels native to each context, hand off to `/impeccable polish` for the final pass.
|
|
192
192
|
|
|
193
193
|
---
|
|
194
194
|
|
|
@@ -48,7 +48,7 @@ Reconform, don't reflow. Replace web navigation with the platform's model, HTML-
|
|
|
48
48
|
- Respect safe areas and window insets in every new configuration (notch, hinge, status bar, keyboard).
|
|
49
49
|
- Test on simulators for breadth, then real hardware for truth: at least one phone and one tablet per shipped platform, both orientations, split-screen where supported.
|
|
50
50
|
|
|
51
|
-
When the adaptation feels native to each context, hand off to
|
|
51
|
+
When the adaptation feels native to each context, hand off to `/impeccable polish` for the final pass.
|
|
52
52
|
|
|
53
53
|
**NEVER**:
|
|
54
54
|
- Ship a stretched phone layout on a tablet
|
|
@@ -86,4 +86,4 @@ Every web animation needs a `prefers-reduced-motion` path with an intentional al
|
|
|
86
86
|
- Expensive effects stay smooth on the target device.
|
|
87
87
|
- Removing an animation would lose meaning or authored character, not merely decoration.
|
|
88
88
|
|
|
89
|
-
When motion earns its place, hand off to
|
|
89
|
+
When motion earns its place, hand off to `/impeccable polish` for the final pass.
|
|
@@ -99,7 +99,7 @@ For each issue, document:
|
|
|
99
99
|
- **Impact**: How it affects users
|
|
100
100
|
- **WCAG/Standard**: Which standard it violates (if applicable)
|
|
101
101
|
- **Recommendation**: How to fix it
|
|
102
|
-
- **Suggested command**: Which command to use (prefer:
|
|
102
|
+
- **Suggested command**: Which command to use (prefer: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
|
|
103
103
|
|
|
104
104
|
### Patterns & Systemic Issues
|
|
105
105
|
|
|
@@ -115,16 +115,16 @@ Note what's working well: good practices to maintain and replicate.
|
|
|
115
115
|
|
|
116
116
|
List recommended commands in priority order (P0 first, then P1, then P2):
|
|
117
117
|
|
|
118
|
-
1. **[P?]
|
|
119
|
-
2. **[P?]
|
|
118
|
+
1. **[P?] `/command-name`**: Brief description (specific context from audit findings)
|
|
119
|
+
2. **[P?] `/command-name`**: Brief description (specific context)
|
|
120
120
|
|
|
121
|
-
**Rules**: Only recommend commands from:
|
|
121
|
+
**Rules**: Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset. Map findings to the most appropriate command. End with `/impeccable polish` as the final step if any fixes were recommended.
|
|
122
122
|
|
|
123
123
|
After presenting the summary, tell the user:
|
|
124
124
|
|
|
125
125
|
> You can ask me to run these one at a time, all at once, or in any order you prefer.
|
|
126
126
|
>
|
|
127
|
-
> Re-run
|
|
127
|
+
> Re-run `/impeccable audit` after fixes to see your score improve.
|
|
128
128
|
|
|
129
129
|
**IMPORTANT**: Be thorough but actionable. Too many P3 issues creates noise. Focus on what actually matters.
|
|
130
130
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Run systematic **technical** quality checks on a native app (`ios` / `android` / `adaptive`) and generate a comprehensive report. Don't fix issues; document them for other commands to address.
|
|
2
2
|
|
|
3
|
-
This is a code-level audit, not a design critique. Audit from source (SwiftUI / UIKit / Compose / React Native / Flutter); no browser tooling or `detect
|
|
3
|
+
This is a code-level audit, not a design critique. Audit from source (SwiftUI / UIKit / Compose / React Native / Flutter); no browser tooling or `impeccable detect` applies. Score against the platform reference(s): [ios.md](ios.md) / [android.md](android.md), both for `adaptive`. Read them before scoring if Setup hasn't already. The report skeleton mirrors [audit.md](audit.md); keep the two in sync when changing it.
|
|
4
4
|
|
|
5
5
|
## Diagnostic Scan
|
|
6
6
|
|
|
@@ -102,7 +102,7 @@ For each issue, document:
|
|
|
102
102
|
- **Impact**: How it affects users
|
|
103
103
|
- **Guideline**: The HIG / Material rule it violates (if applicable)
|
|
104
104
|
- **Recommendation**: How to fix it
|
|
105
|
-
- **Suggested command**: Which command to use (prefer:
|
|
105
|
+
- **Suggested command**: Which command to use (prefer: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
|
|
106
106
|
|
|
107
107
|
### Patterns & Systemic Issues
|
|
108
108
|
|
|
@@ -118,16 +118,16 @@ Note what's working well: good practices to maintain and replicate.
|
|
|
118
118
|
|
|
119
119
|
List recommended commands in priority order (P0 first, then P1, then P2):
|
|
120
120
|
|
|
121
|
-
1. **[P?]
|
|
122
|
-
2. **[P?]
|
|
121
|
+
1. **[P?] `/command-name`**: Brief description (specific context from audit findings)
|
|
122
|
+
2. **[P?] `/command-name`**: Brief description (specific context)
|
|
123
123
|
|
|
124
|
-
**Rules**: Only recommend commands from:
|
|
124
|
+
**Rules**: Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset. Map findings to the most appropriate command. End with `/impeccable polish` as the final step if any fixes were recommended.
|
|
125
125
|
|
|
126
126
|
After presenting the summary, tell the user:
|
|
127
127
|
|
|
128
128
|
> You can ask me to run these one at a time, all at once, or in any order you prefer.
|
|
129
129
|
>
|
|
130
|
-
> Re-run
|
|
130
|
+
> Re-run `/impeccable audit` after fixes to see your score improve.
|
|
131
131
|
|
|
132
132
|
**IMPORTANT**: Be thorough but actionable. Too many P3 issues creates noise. Focus on what actually matters.
|
|
133
133
|
|
|
@@ -6,7 +6,7 @@ An open direction round owns the word first: "bolder" said while a direction dec
|
|
|
6
6
|
|
|
7
7
|
## Scope is sovereign
|
|
8
8
|
|
|
9
|
-
"Everything else stays" is a literal instruction. Touch only the named target. Do not restyle its neighbors, do not migrate the page to a new idea, do not add colors, fonts, radii, shadows, or system primitives the surface does not already own. If the existing system genuinely cannot express the direction, do not expand it on your own.
|
|
9
|
+
"Everything else stays" is a literal instruction. Touch only the named target. Do not restyle its neighbors, do not migrate the page to a new idea, do not add colors, fonts, radii, shadows, or system primitives the surface does not already own. If the existing system genuinely cannot express the direction, do not expand it on your own. Ask the user directly to clarify what you cannot infer. Name the exact addition and the job it would do.
|
|
10
10
|
|
|
11
11
|
## Why it reads flat
|
|
12
12
|
|
|
@@ -30,4 +30,4 @@ Strip the copy out of your planned section and study the bare structure. Does th
|
|
|
30
30
|
- The conventions the section carried, including anything that drives an action, still work the same way.
|
|
31
31
|
- The section is unmistakably the same brand, only more sure of itself.
|
|
32
32
|
|
|
33
|
-
When the target holds its own without pulling the page apart, hand off to
|
|
33
|
+
When the target holds its own without pulling the page apart, hand off to `/impeccable polish` for the final pass.
|
|
@@ -91,4 +91,4 @@ Read the flow in context and test:
|
|
|
91
91
|
|
|
92
92
|
The final copy is as short as it can be without removing meaning or recovery.
|
|
93
93
|
|
|
94
|
-
When the language reads cleanly, hand off to
|
|
94
|
+
When the language reads cleanly, hand off to `/impeccable polish` for the final pass.
|
|
@@ -73,7 +73,7 @@ When deriving OKLCH ramps, vary lightness and reduce chroma near white and black
|
|
|
73
73
|
- Contrast and non-color cues pass in all relevant states.
|
|
74
74
|
- The result is recognizably this product, not a generic “colorful” treatment.
|
|
75
75
|
|
|
76
|
-
When the palette earns its place, hand off to
|
|
76
|
+
When the palette earns its place, hand off to `/impeccable polish` for the final pass.
|
|
77
77
|
|
|
78
78
|
## Live-mode signature params
|
|
79
79
|
|
|
@@ -41,10 +41,4 @@ Surface habits:
|
|
|
41
41
|
- Geometric masks standing in for organic contours. A circle, polygon, or radial-gradient cutout approximating a photographic subject's edge is the cheap version of the effect and reads worse than omitting it. Derive an alpha matte from the actual image, or produce a cut-out asset.
|
|
42
42
|
- Light or dark picked by category. Pick it from the use scene: who, where, under what ambient light.
|
|
43
43
|
|
|
44
|
-
- Tracking stops at -0.04em. -0.02 to -0.03em usually reads better.
|
|
45
|
-
- Declare elevation once, border or shadow. A 1px border under a wide soft shadow is the ghost card. Card radii stay at 12–16px; pills are for small controls.
|
|
46
|
-
- Real illustration or none. Sketch-style SVG scenes, `loose-sketch` / `doodle` class names, and `feTurbulence` grain read as amateur. This bans SVG imitating pictures, never SVG doing geometry: crisp vector shapes, diagrams, animated linework, and shader-driven effects remain first-class media. A shaded, perspectived, or figure-bearing illustration is a picture even in line-art style; geometry means shapes a session can specify exactly.
|
|
47
|
-
- Backgrounds are surfaces, textured only from the subject's world. `repeating-linear-gradient` stripes and two-axis grid overlays need an actual canvas, map, blueprint, or measuring tool under them.
|
|
48
|
-
- Claims and configuration come from supplied truth; label illustrative values honestly. Naming a concept and then ironizing it is not a claim.
|
|
49
|
-
|
|
50
44
|
The floor holds the mechanics; it never picks the direction. With every check green, spend the page on the committed world, and when torn between refined and committed, commit.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
### Purpose
|
|
2
2
|
|
|
3
|
-
Resolve one stable target, run two independent assessments, synthesize a design critique, persist a snapshot, and ask the user what to improve next. The chat response is the primary deliverable; the snapshot is an archive
|
|
3
|
+
Resolve one stable target, run two independent assessments, synthesize a design critique, persist a snapshot, and ask the user what to improve next. The chat response is the primary deliverable; the snapshot is an archive of that run.
|
|
4
4
|
|
|
5
5
|
### Hard Invariants
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Resolve one stable target, run two independent assessments, synthesize a design
|
|
|
8
8
|
- Assessment A and B MUST run as two isolated sub-agents whenever a sub-agent/Task tool is exposed. Running them inline in this context is "possible" but is NOT permitted; it is a degraded run. Inline is allowed ONLY when no sub-agent tool exists (or the user declined, on harnesses that ask).
|
|
9
9
|
- If you degrade for any reason, the report's first line MUST be a banner: `⚠️ DEGRADED: single-context (<reason>)`. A silent degraded critique is a failed critique.
|
|
10
10
|
- Assessment A must finish before detector findings enter the parent synthesis context. Detector output is deterministic, but it still anchors judgment.
|
|
11
|
-
- A skipped detector is a failed critique run unless `detect
|
|
11
|
+
- A skipped detector is a failed critique run unless `impeccable detect` is missing or crashes after a real attempt.
|
|
12
12
|
- Viewable targets require browser inspection when available.
|
|
13
13
|
- Any local server started only for critique visualization must run in the background, have a recorded stop method, and be stopped before final reporting unless the user asks to keep it.
|
|
14
14
|
- Do not claim a user-visible overlay exists unless script injection succeeded and the detector ran in the page.
|
|
@@ -23,7 +23,7 @@ Resolve one stable target, run two independent assessments, synthesize a design
|
|
|
23
23
|
- "this page" -> the current URL or source file
|
|
24
24
|
2. **Confirm the target slugs cleanly**:
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
.pi/skills/impeccable/scripts/impeccable critique-storage slug "<resolved-path-or-url>"
|
|
27
27
|
```
|
|
28
28
|
Every later command also accepts the resolved target directly and derives the same slug internally; never hand-write a slug. If this exits non-zero, skip persistence and trend for this run, but continue the critique.
|
|
29
29
|
3. **Read `.impeccable/critique/ignore.md`** if it exists. Drop matching findings silently; it is the only prior-run input critique consumes.
|
|
@@ -38,15 +38,6 @@ Sub-agent gate (all harnesses):
|
|
|
38
38
|
- If and only if sub-agents are unavailable, fall back sequentially: finish and record Assessment A, then run Assessment B, then synthesize, and emit the degraded banner.
|
|
39
39
|
- Whichever path you take, declare it in the report header (see Report header provenance). Skipping sub-agents without the banner is the most common failure of this command.
|
|
40
40
|
|
|
41
|
-
Codex sub-agent gate (overrides the default above; Codex's permission model requires asking before spawning):
|
|
42
|
-
- Asking is the normal path, not a degradation. Approving and spawning is the dual-agent path; do not emit the degraded banner just for asking.
|
|
43
|
-
- If `spawn_agent` is exposed and the user explicitly allowed sub-agents, delegation, or parallel agent work, spawn A and B immediately.
|
|
44
|
-
- If `spawn_agent` is exposed but the user did not explicitly allow sub-agents, ask exactly once: "Impeccable critique is designed to run two independent sub-agents for an unanchored assessment. May I use sub-agents for this critique?" Then stop until the user answers.
|
|
45
|
-
- If allowed, spawn A and B. If declined, run sequentially and lead the report with `⚠️ DEGRADED: single-context (sub-agents declined by user)`.
|
|
46
|
-
- If `spawn_agent` is not exposed, do not ask; run sequentially and lead with `⚠️ DEGRADED: single-context (spawn_agent unavailable in this session)`.
|
|
47
|
-
- If spawning fails after permission, run sequentially and lead with `⚠️ DEGRADED: single-context (sub-agent spawn failed: <exact error>)`.
|
|
48
|
-
Prefer `fork_context: false` with self-contained prompts containing cwd, target, live URL, references, product context, and output contract. If using `fork_context: true`, omit `agent_type`, `model`, and `reasoning_effort`.
|
|
49
|
-
|
|
50
41
|
If browser automation is available, each assessment creates its own new tab. Never reuse an existing tab, even if it is already at the right URL.
|
|
51
42
|
|
|
52
43
|
### Assessment A: Design Review
|
|
@@ -68,7 +59,7 @@ Run the bundled detector and browser visualization evidence. Assessment B is man
|
|
|
68
59
|
|
|
69
60
|
CLI scan:
|
|
70
61
|
```bash
|
|
71
|
-
|
|
62
|
+
.pi/skills/impeccable/scripts/impeccable detect --json [target]
|
|
72
63
|
```
|
|
73
64
|
|
|
74
65
|
- Pass markup files/directories as `[target]`; do not pass CSS-only files.
|
|
@@ -82,24 +73,18 @@ Browser visualization is required for a viewable target when browser automation
|
|
|
82
73
|
1. Create a fresh tab and navigate. Prefer the harness's native/browser-canvas screenshot path before hand-rolling a Playwright/Puppeteer script; only fall back to a custom script when no native browser tool is exposed.
|
|
83
74
|
2. Preflight mutable injection by setting `document.title` and appending a `<script>` tag. Read-only evaluate APIs do not count.
|
|
84
75
|
3. If mutation is unavailable, skip live server, browser presentation, and injection; report fallback signal.
|
|
85
|
-
4. If mutation is available, start
|
|
76
|
+
4. If mutation is available, start `.pi/skills/impeccable/scripts/impeccable live-server --background`, present the browser if supported, label `[Human]`, scroll top, inject `http://localhost:PORT/detect.js`, wait 2-3 seconds, read `impeccable` console messages, then stop the live server.
|
|
86
77
|
5. For multi-view targets, inject on 3-5 representative pages.
|
|
87
78
|
|
|
88
|
-
Codex Browser note: Use the Browser skill. Do not spend a Browser attempt on `file://`. Only call `visibility.set(true)` after mutable script injection is confirmed for the `[Human]` overlay path; verify with `get()`. Use `tab.dev.logs({ filter: "impeccable" })` for console results. Its Playwright `evaluate(...)` surface is read-only; do not rely on it for mutation.
|
|
89
|
-
|
|
90
79
|
Return: CLI findings JSON/counts, browser console findings if applicable, false positives, and skipped/failed browser steps with concrete reasons.
|
|
91
80
|
|
|
92
|
-
After Assessment B returns usable CLI findings, reuse them. Do not rerun `detect
|
|
93
|
-
|
|
94
|
-
Codex failure accounting: final Run Notes must include target slug, ignore list, assessment independence, CLI detector, browser visibility, overlay injection, live-server cleanup, temp-file cleanup, and any fallback signal used. Do not run repo status checks, late API spelunking, or unrelated verification after the report is assembled.
|
|
81
|
+
After Assessment B returns usable CLI findings, reuse them. Do not rerun `impeccable detect` in the parent unless Assessment B failed, was truncated, or omitted count, rule names, or file locations.
|
|
95
82
|
|
|
96
83
|
### Generate Combined Critique Report
|
|
97
84
|
|
|
98
85
|
Synthesize both assessments into a single report. Do NOT simply concatenate. Weave the findings together, noting where the LLM review and detector agree, where the detector caught issues the LLM missed, and where detector findings are false positives.
|
|
99
86
|
|
|
100
|
-
The chat response is the primary user-facing deliverable. Present the full structured critique below in chat; do not replace it with a summary and a link. The persisted snapshot is
|
|
101
|
-
|
|
102
|
-
Codex final-answer note: `$impeccable critique` produces a report artifact, so the final chat response should intentionally exceed the usual concise close-out style. Do not title the final response "Critique Summary" unless the user explicitly asked for a summary.
|
|
87
|
+
The chat response is the primary user-facing deliverable. Present the full structured critique below in chat; do not replace it with a summary and a link. The persisted snapshot is an archive of that run.
|
|
103
88
|
|
|
104
89
|
Structure your feedback as a design director would:
|
|
105
90
|
|
|
@@ -157,7 +142,7 @@ For each issue, tag with **P0-P3 severity** (see [Issue Severity below](#issue-s
|
|
|
157
142
|
- **[P?] What**: Name the problem clearly
|
|
158
143
|
- **Why it matters**: How this hurts users or undermines goals
|
|
159
144
|
- **Fix**: What to do about it (be concrete)
|
|
160
|
-
- **Suggested command**: Which command could address this (from:
|
|
145
|
+
- **Suggested command**: Which command could address this (from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
|
|
161
146
|
|
|
162
147
|
#### Persona Red Flags
|
|
163
148
|
> *Consult the [Personas reference](#persona-based-design-testing) below.*
|
|
@@ -181,11 +166,6 @@ Provocative questions that might unlock better solutions:
|
|
|
181
166
|
- "Does this need to feel this complex?"
|
|
182
167
|
- "What would a confident version of this look like?"
|
|
183
168
|
|
|
184
|
-
#### Run Notes
|
|
185
|
-
Keep this compact. Include status for target slug, ignore list, assessment independence, CLI detector, browser visibility, overlay injection, live server cleanup, and temp-file cleanup. For failed or skipped steps, give the concrete observed reason and the fallback signal used. In the final chat response, also include snapshot write and trend read status after persistence has run.
|
|
186
|
-
|
|
187
|
-
Codex Run Notes are final-chat only. Do not include this section in the persisted snapshot body, because persistence, trend read, and temp cleanup happen after the snapshot write and would otherwise archive stale status such as "pending after persistence."
|
|
188
|
-
|
|
189
169
|
**Remember**:
|
|
190
170
|
- Be direct. Vague feedback wastes everyone's time.
|
|
191
171
|
- Be specific. "The submit button," not "some elements."
|
|
@@ -204,7 +184,7 @@ Persistence is not the end of the run. After it, the response continues with the
|
|
|
204
184
|
|
|
205
185
|
### Persist the Snapshot
|
|
206
186
|
|
|
207
|
-
Once the report above is finalized, write it to `.impeccable/critique/` so the user can refer back, and so
|
|
187
|
+
Once the report above is finalized, write it to `.impeccable/critique/` so the user can refer back, and so `/impeccable polish` can pick up the priority issues without a copy-paste.
|
|
208
188
|
|
|
209
189
|
Skip this step if the Setup slug was null (vague or root-level target).
|
|
210
190
|
|
|
@@ -212,20 +192,18 @@ Skip this step if the Setup slug was null (vague or root-level target).
|
|
|
212
192
|
|
|
213
193
|
This is a copy of the report you already delivered above, for later commands to read. It is not delivery. If you find yourself composing the report for the first time inside this heredoc, you have skipped Deliver the Report; go back and send it.
|
|
214
194
|
|
|
215
|
-
Codex: exclude Run Notes from the temp body file; Run Notes are final-chat only because persistence, trend read, and temp cleanup happen after the snapshot write.
|
|
216
|
-
|
|
217
195
|
2. **Pass the structured metadata** through `IMPECCABLE_CRITIQUE_META` (JSON), then run the write command:
|
|
218
196
|
```bash
|
|
219
197
|
IMPECCABLE_CRITIQUE_META='{"target":"<user phrasing>","total_score":<n>,"max_score":<n>,"na_heuristics":"<comma-separated numbers, or empty>","p0_count":<n>,"p1_count":<n>}' \
|
|
220
|
-
|
|
198
|
+
.pi/skills/impeccable/scripts/impeccable critique-storage write "<resolved target>" <body-file>
|
|
221
199
|
```
|
|
222
|
-
`max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. The helper prints the absolute path it wrote.
|
|
200
|
+
`max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. For a local file target, the helper also records an exact content fingerprint so polish can distinguish the assessed bytes from later edits without relying on Git state or timestamps. The helper prints the absolute path it wrote. Leave that file on disk. Polish closes it; this run does not.
|
|
223
201
|
|
|
224
202
|
3. **Delete the temp body file** after the write attempt completes, whether the write succeeded or failed. If deletion fails, mention `temp-file cleanup failed: <reason>` briefly in the final output, but do not block the critique.
|
|
225
203
|
|
|
226
204
|
4. **Read the trend** for context:
|
|
227
205
|
```bash
|
|
228
|
-
|
|
206
|
+
.pi/skills/impeccable/scripts/impeccable critique-storage trend "<resolved target>" 5
|
|
229
207
|
```
|
|
230
208
|
This returns a JSON array of the last 5 frontmatter entries (including the one you just wrote).
|
|
231
209
|
|
|
@@ -238,13 +216,13 @@ Skip this step if the Setup slug was null (vague or root-level target).
|
|
|
238
216
|
|
|
239
217
|
If this is the first run for the slug, the trend is just one score; say so: "First run for this target, no trend yet."
|
|
240
218
|
|
|
241
|
-
6. **Close the run.** Go to Ask the User below and emit the questions, or the `Questions skipped: <reason>` line when the count allows it. The run is not complete until you do. Persistence is bookkeeping and cleanup is not an ending; stopping here leaves the user with a report and no way forward, and leaves
|
|
219
|
+
6. **Close the run.** Go to Ask the User below and emit the questions, or the `Questions skipped: <reason>` line when the count allows it. The run is not complete until you do. Persistence is bookkeeping and cleanup is not an ending; stopping here leaves the user with a report and no way forward, and leaves `/impeccable polish` with no priorities to inherit.
|
|
242
220
|
|
|
243
221
|
This is fire-and-forget. Do not show the user the helper's JSON output; only the human-readable trend line and the written path. Failures here should not block the rest of the flow; print the error and move on.
|
|
244
222
|
|
|
245
223
|
### Ask the User
|
|
246
224
|
|
|
247
|
-
**After presenting findings**, use targeted questions based on what was actually found.
|
|
225
|
+
**After presenting findings**, use targeted questions based on what was actually found. Ask the user directly to clarify what you cannot infer. These answers will shape the action plan.
|
|
248
226
|
|
|
249
227
|
Ask in the same message that carries the report, with the report written out first and the question last. Do not split the two across turns: a turn that ends on the report is a turn that ends, and the questions never arrive. Order within the message is what matters, because prose emitted after a structured question is withheld until the user answers.
|
|
250
228
|
|
|
@@ -274,25 +252,25 @@ Ask questions along these lines (adapt to the specific findings; do NOT ask gene
|
|
|
274
252
|
|
|
275
253
|
List recommended commands in priority order, based on the user's answers:
|
|
276
254
|
|
|
277
|
-
1.
|
|
278
|
-
2.
|
|
255
|
+
1. **`/command-name`**: Brief description of what to fix (specific context from critique findings)
|
|
256
|
+
2. **`/command-name`**: Brief description (specific context)
|
|
279
257
|
...
|
|
280
258
|
|
|
281
259
|
**Rules for recommendations**:
|
|
282
|
-
- Only recommend commands from:
|
|
260
|
+
- Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset
|
|
283
261
|
- Order by the user's stated priorities first, then by impact
|
|
284
262
|
- Each item's description should carry enough context that the command knows what to focus on
|
|
285
263
|
- Map each Priority Issue to the appropriate command
|
|
286
264
|
- Skip commands that would address zero issues
|
|
287
265
|
- If the user chose a limited scope, only include items within that scope
|
|
288
266
|
- If the user marked areas as off-limits, exclude commands that would touch those areas
|
|
289
|
-
- End with
|
|
267
|
+
- End with `/impeccable polish` as the final step if any fixes were recommended
|
|
290
268
|
|
|
291
269
|
After presenting the summary, tell the user:
|
|
292
270
|
|
|
293
271
|
> You can ask me to run these one at a time, all at once, or in any order you prefer.
|
|
294
272
|
>
|
|
295
|
-
> Re-run
|
|
273
|
+
> Re-run `/impeccable critique` after fixes to see your score improve.
|
|
296
274
|
|
|
297
275
|
---
|
|
298
276
|
|
|
@@ -15,77 +15,23 @@ When the parent hands you a decision card packet instead of an approved mock, th
|
|
|
15
15
|
|
|
16
16
|
## Input Contract
|
|
17
17
|
|
|
18
|
-
Expect:
|
|
18
|
+
Expect the measured spec (`.impeccable/build/spec.json`, written by `impeccable comp-spec` from the approved comp), the approved comp path, and the skill scripts path. Optionally: a subset of region ids to produce, extra prompt notes per region, and format or transparency needs. Everything else you need is in the spec: each raster region's id, kind (plate, image, texture), pixel box, sampled palette, aspect, note, and the plate path it must land on.
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
- Crop paths or a contact sheet with crop ids.
|
|
22
|
-
- Output directory.
|
|
23
|
-
- Required dimensions, format, transparency needs, and avoid list.
|
|
24
|
-
- Notes on what should remain semantic HTML/CSS/SVG instead of raster.
|
|
20
|
+
If there is no spec, stop and return one line asking the parent to run `impeccable comp-spec` first. You do not inventory the comp yourself; the spec is the inventory, and a second inventory disagrees with the first.
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
## The job
|
|
27
23
|
|
|
28
|
-
|
|
24
|
+
Every region with `medium: raster` in the spec ships as a plate at its `plate` path. A plate is the region regenerated at asset resolution from the comp crop as reference: same subject, same composition, same palette, same lighting and material, with the UI text and page chrome removed, at 1.5x the comp region's pixel size or more. The page draws text, controls, radius, shadow, and layout in code; the plate carries what code cannot draw. Crops from the comp are references, never shipping pixels: a comp is reference grade and a shipped crop is how a beautiful comp becomes a blurry site.
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
- `.png` for transparent cutouts, seals, tickets, and illustrations.
|
|
32
|
-
- Target production size, or at least 2x display size when dimensions are known. Never default to the small size of a full-page mock crop.
|
|
33
|
-
- Remove UI text, navigation, buttons, labels, and body copy.
|
|
34
|
-
- Keep physical marks only when the parent says they are part of the asset.
|
|
35
|
-
- Remove letterboxing, empty padding, baked card corners, borders, shadows, caption bands, and layout background unless the parent says those pixels are intrinsic.
|
|
36
|
-
- Keep the final assets directory clean: only files the build will consume. Source crops, reference crops, masks, and contact sheets go in a sibling `_sources`, `sources`, or review folder.
|
|
26
|
+
Per region, in the spec's order:
|
|
37
27
|
|
|
38
|
-
|
|
28
|
+
1. `.pi/skills/impeccable/scripts/impeccable comp-spec --crop <id>` writes the reference crop under `.impeccable/build/crops/`.
|
|
29
|
+
2. Choose the background from the approved region: an isolated figure, object, or line drawing on the page ground is a **transparent cutout**; a photograph, full-frame illustration, or texture stays **opaque**. Save `.pi/skills/impeccable/scripts/impeccable comp-spec --plate-prompt <id> --background transparent` to a UTF-8 prompt file for a cutout; use `--background opaque` otherwise. The transparent prompt preserves reference placement and clear margins, white paint, fine edges, and interior holes.
|
|
30
|
+
3. Produce the plate at its exact spec `plate` path. Create the output directory first and choose a supported output size matching the region's aspect, at least 1.5x its pixel dimensions. Prefer the harness-native image tool with the crop as input and the saved prompt; request a transparent PNG for cutouts, then run `.pi/skills/impeccable/scripts/impeccable embed-prompt <plate> --prompt-file <prompt.txt>` (if you refine the prompt, save and embed the exact text sent). With the API fallback, run `.pi/skills/impeccable/scripts/impeccable generate-image --ref <crop.png> --prompt-file <prompt.txt> --out <plate.png> --size <WxH> --quality high --background transparent` for a cutout, or `--background opaque` otherwise. The API fallback embeds the prompt and records the background in the sidecar. The output must be PNG; the fallback requests native alpha and performs no chroma-keying.
|
|
31
|
+
4. Open the plate beside the crop and compare subject, placement, scale, palette, and style. For cutouts, verify a real alpha channel and inspect composites on light and dark grounds: white paint must stay solid, interior holes must clear, and fine edges must avoid halos. Inspect glass and soft shadows carefully; partial alpha alone does not ensure convincing translucency. Never chroma-key native transparent output or flatten it before saving. If a native tool returns opaque pixels or a painted checkerboard, retry with the API fallback when available; otherwise report the transparency blocker. On a visual miss, tighten the prompt and regenerate once. Two misses on one region: keep the better plate, mark it `needs_parent_review`, and name the drift. The parent runs the plates gate after all assets exist; report `unscored` until a gate score is available.
|
|
39
32
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
1. Inventory the full approved mock or every assigned crop.
|
|
43
|
-
2. Put each visual role in exactly one bucket:
|
|
44
|
-
- `produce`: needs generation, image editing, cleanup, cutout work, or a clean plate before it can ship.
|
|
45
|
-
- `direct`: ships after format conversion, compression, or renaming because the parent supplied a real standalone source: a project file, stock, or prior production art. A crop from the approved mock is never `direct`, whatever its apparent size.
|
|
46
|
-
- `semantic`: build in HTML/CSS/SVG/canvas, no raster output.
|
|
47
|
-
3. Crops from the mock are binding visual references, never shipping pixels: a full-page mock's effective resolution is reference grade, and a shipped crop, however close it looks, is how a beautiful comp becomes a blurry site. Every mock-derived asset goes through `produce` as a clean regeneration.
|
|
48
|
-
4. Give the parent an execution order for the `produce` bucket.
|
|
49
|
-
5. For produced assets, choose the least inventive strategy: image-to-image clean plate, faithful regeneration from crop reference, transparent cutout, texture/pattern reconstruction, stock/project source, or a semantic HTML/CSS/SVG recommendation when raster is wrong.
|
|
50
|
-
6. Use the harness's native image tool by default when generation or editing is needed; otherwise use the skill's generate-image.mjs.
|
|
51
|
-
|
|
52
|
-
Codex: the imagegen skill's built-in `image_gen` path is the native tool here; prefer it for generation, editing, and the chroma-key workflow.
|
|
53
|
-
7. Remove baked-in UI text, navigation, buttons, body copy, and mock chrome unless the text is part of the asset.
|
|
54
|
-
8. Think through the final DOM/CSS representation before generating. If CSS will own radius, clipping, shadows, borders, perspective, responsive cropping, captions, or card frames, do not bake those into the bitmap.
|
|
55
|
-
9. Save outputs non-destructively in the requested project directory, and leave the intent with the file: after every generation, run `node .agents/skills/impeccable/scripts/embed-prompt.mjs <asset> --prompt "<the prompt used>"` so the prompt lives inside the image itself. The build thread composes what you made and needs to know what it is looking at, and the embedding survives copies where sidecars get lost.
|
|
56
|
-
10. Compare each output against its source crop, opening every image by its workspace-relative path; sandboxed viewers reject absolute paths. If a review/QA tool is available, run it before the final manifest, then retry each major/fatal finding once before finalizing.
|
|
57
|
-
|
|
58
|
-
Use `direct` only for provided source assets that can already ship after crop tightening, conversion, compression, or naming. Do not ship a small crop from the full-page mock as `direct` just because it looks close.
|
|
59
|
-
|
|
60
|
-
Use `texture/pattern extraction` only when the source region is already clean enough to sample as texture. If UI, cards, labels, headings, body copy, or footer chrome must be removed first, classify it as crop-derived cleanup or clean-plate work.
|
|
61
|
-
|
|
62
|
-
Use `semantic` for dashboards, charts, controls, screenshots of whole UI sections, data widgets, card chrome, app frames, icon toolbars, logos, wordmarks, and anything the final implementation can render crisply in HTML/CSS/SVG/canvas. Ship a screenshot raster only when the parent explicitly says the screenshot itself is the final asset.
|
|
63
|
-
|
|
64
|
-
Semantic does not mean ignored. For every semantic role, write a concrete implementation handoff for the parent craft agent: the DOM/component layers, CSS-owned visual treatment, SVG/canvas/icon-library pieces, responsive behavior, and which nearby produced raster assets it composes with. For logos and icons, prefer inline SVG/vector or icon-library implementation unless the parent provides a production logo raster.
|
|
65
|
-
|
|
66
|
-
## Prompt Pattern
|
|
67
|
-
|
|
68
|
-
Use this shape for image-to-image work:
|
|
69
|
-
|
|
70
|
-
```text
|
|
71
|
-
Use the provided crop as the approved visual reference.
|
|
72
|
-
Recreate the same asset as a clean reusable production image at the target component aspect ratio and at least 2x display resolution.
|
|
73
|
-
Preserve silhouette, object/scene perspective, camera angle, palette, lighting, material, texture, and visual role.
|
|
74
|
-
Remove baked-in UI copy, navigation, buttons, labels, body text, watermarks, and mock chrome unless explicitly part of the asset.
|
|
75
|
-
Remove letterboxing, padding, card borders, rounded clipping, CSS shadows, perspective transforms, caption bands, and layout backgrounds that the implementation should create in code.
|
|
76
|
-
Do not add new objects. Do not change the concept. Do not redesign the composition.
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
For transparent cutouts: use true alpha when the tool supports it; otherwise generate on a flat chroma-key color that cannot appear in the subject and post-process that color to alpha before shipping the PNG/WebP. Never ship the keyed background as the final asset.
|
|
33
|
+
Do not redesign. Do not add objects, restyle, or reinterpret; the comp was approved as it is. Do not touch the page code, the spec, or the comp. Do not produce anything the spec does not list; a region the parent forgot goes back as a one-line note, not a plate.
|
|
80
34
|
|
|
81
35
|
## Output Contract
|
|
82
36
|
|
|
83
|
-
Return
|
|
84
|
-
|
|
85
|
-
For each semantic row include `id`, `implementation`, `notes`, and `qa_status`. The `implementation` is a concrete build handoff, not a note that no asset was produced: name the likely HTML/CSS/SVG/canvas/icon/component pieces and the visual responsibilities code owns.
|
|
86
|
-
|
|
87
|
-
`qa_status` is `accepted`, `needs_parent_review`, or `blocked`. `accepted` only after visual comparison passes. `needs_parent_review` for cut-off subjects, unwanted borders or rounded-card chrome, letterboxing, baked semantic text, low-resolution output, perspective that should have been CSS, missing transparency, or drift from the crop. `blocked` when inputs, permissions, image capability, or asset source quality prevent a credible result.
|
|
88
|
-
|
|
89
|
-
End with `execution_order`, `blockers`, and `assumptions` sections. Keep blockers global and minimal; per-asset rows carry only asset-specific risks or decisions.
|
|
90
|
-
|
|
91
|
-
Do not modify implementation code. Do not edit the approved mock. Do not produce final page copy. The parent craft agent owns implementation and final mock fidelity.
|
|
37
|
+
Return one line per raster region: `<id> <plate path> <WxH> <score%|unscored> <accepted|needs_parent_review|blocked> <one-line note or ->`. Then `blockers` (missing spec, missing comp, no image capability, exhausted key) and `assumptions`, each global and minimal. Nothing else: no summary, no praise, no implementation advice. The parent runs `impeccable build-phase advance` to verify the plates against the same spec; a visual acceptance does not override a failing gate.
|