-
Notifications
You must be signed in to change notification settings - Fork 1
UI Override Mode
Introduced in v0.2.0, extended in v0.9.0 with Claude Design mockup support.
Visual is truth. Cascade is noise. Override with scope, not elegance.
Triggered automatically when the domain is UI / CSS / layout. Triggers include: styling, spacing, alignment, color, font, layout, เพี้ยน, ดูดี, ไม่ตรง, shift, overflow, responsive. Screenshot attached with visual complaint also enters this mode.
Require a visual target (choose one):
- Screenshot or wireframe of desired state
- Specific CSS values (width / margin / color / font)
- Claude Design mockup — the agent can offer to draft one (added in v0.9.0)
Do not guess. Visual target is non-negotiable.
Every CSS / JS change:
- Bump version query (
?v=1.0.X) - Tell user: "Clear cache + hard refresh (Cmd+Shift+R / Ctrl+Shift+R)"
- Confirm via DevTools that the new version loaded
- Only then evaluate the fix
If user still sees old behavior after a change, suspect cache first, not the fix.
.kasidit-fix-<mission-id> <selector> {
property: value !important;
}Documented exception — do not refactor legacy CSS unless user asks.
One property, one selector, bump version, wait for screenshot. Multiple simultaneous changes make it impossible to tell what worked.
| Tier | Rounds before handback |
|---|---|
| Opus | 4 |
| Sonnet | 3 |
| Haiku | 2 |
Round 2 fail: ask user for DevTools "Computed" panel contents.
When one element looks right and another does not, copy the exact CSS pattern from the good one. Do not invent new values.
Before fixing "too narrow / too wide / too short":
grep -rn "max-width\|min-width\|width:" <css-files>
grep -rn "style=.*width" <view-files>List all constraints: class / ID, parent containers, inline styles, media queries. Do not assume scope.
Rule 8 — Mockup-to-code parity check (v0.9.0)
If mission started with a mockup in .kasidit/prototypes/<mission-id>-after.png:
- After each CSS change, compare user screenshot vs mockup side-by-side
- Parity criteria: spacing (px-level), color (hex), typography (family + weight + size), placement
- Report
[parity high | medium | low]per round - Mission done only when parity = high and user confirms
- ❌ Audit entire cascade before a simple visual fix
- ❌ Multiple simultaneous changes in one round
- ❌ Trust that "the CSS is right" without a screenshot
- ❌ Parity check by vibes — token-level comparison required
- ❌ Invent width values — copy from source-of-truth
- v0.2.0 — introduction
- v0.9.0 — Claude Design integration + Rule 8
- Claude Design Integration
Repo • Discussions • Issues • Changelog • Security • Contributing • MIT • © Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode 🔥 v0.10
- Backend-Hooks 🔥 v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History — overview
- v0.13.0 — thClaws (Consolidated) 🦞
- v0.12.0 — thClaws Runtime Support 🦞
- v0.11.0 — Backend + Bridge + Runbook 🚀
- v0.10.0 — Mode + Backend Hooks
- v0.9.2 — Gravity
- v0.9.1 — Master Orchestrator
- v0.9.0 — Claude Design
- v0.8.0 — Tier Cascade
- v0.7.4 — SWE-bench
- v0.3.0 — Tier adaptation
- v0.2.1 — Docs protocol
- v0.2.0 — UI Override
- v0.1.0 — Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist 🔥 v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs → audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer →
--focus=quality -
Agent-Security-Auditor →
--focus=security -
Agent-Perf-Profiler →
--focus=perf