ux-mizan Quickstart / Hızlı Başlangıç
The first real run is the self-validation run. / İlk gerçek koşu öz-doğrulama koşusudur. (English first, Türkçe aşağıda.)
English
Status: v0.7 [H] / [KKE]. The first real run is the self-validation run; treat
its output as a test of the skill as much as of your app.
1. Install
cp -r skill/ux-mizan ~/.claude/skills/ # path must end .../ux-mizan/SKILL.md
pip install -r skill/ux-mizan/scripts/requirements.txt
cp templates/ux-registry.yaml <your-project>/ux-registry.yaml
2. Gate 0 and Gate 1 — before any auditing
Ask Claude for a UX audit. It will propose a job model and ask you to lock it. Answer honestly about volume: below roughly 300 completions per flow per month, passive telemetry cannot decide anything in a useful window, and the skill switches to Lite mode (5–8 moderated sessions).
You are locking, at minimum:
- the two or three jobs the app exists to do, ranked;
- what “done” means for each (
success_definition) and the route that marks it (success_screen); - the
app_typeper flow — this decides which metrics are even legal; - the minimum number of screens each flow needs (
canonical_path_R).
The last one has to be declared before you look at any data. That is the whole reason lostness can be computed passively later.
3. Run the Layer-A pass
python skill/ux-mizan/scripts/structural_checks.py src/
Every count is [KKE]. It tells you where to look, not what is broken.
4. Measure the baseline BEFORE changing anything
Whatever you plan to fix, measure it first and write the numbers into the
flow’s baseline.values. Without a baseline, no later number is
interpretable, and the validator will refuse to promote a behavioural
finding to [K] (U8).
For lostness, once screen-view events exist:
python skill/ux-mizan/scripts/lostness.py events.jsonl --registry ux-registry.yaml
5. Validate before every commit
python skill/ux-mizan/scripts/ux_validate.py --strict ux-registry.yaml
git config core.hooksPath tools/hooks # or copy tools/hooks/pre-commit
What to expect in a first audit
- Most findings sit at
[H]or[KKE]. That is correct, not a shortfall. - A
[K]requires a real artifact, a baseline, and a lockedmin_n. If you have none of those yet, you have no[K]yet. - After the first measurement cycle you should have at least one
[R]— a hypothesis the data knocked down. A registry with no[R]rows is an audit that never risked anything.
Türkçe
Statü: v0.7 [H] / [KKE]. İlk gerçek koşu, öz-doğrulama koşusudur;
çıktısını uygulamanızın olduğu kadar skill’in de bir sınavı olarak okuyun.
1. Kurulum
cp -r skill/ux-mizan ~/.claude/skills/ # yol .../ux-mizan/SKILL.md ile bitmeli
pip install -r skill/ux-mizan/scripts/requirements.txt
cp templates/ux-registry.yaml <projeniz>/ux-registry.yaml
2. Kapı 0 ve Kapı 1 — herhangi bir denetimden önce
Claude’dan bir UX denetimi isteyin. Size bir iş modeli önerecek ve onu kilitlemenizi isteyecek. Hacim konusunda dürüst cevap verin: akış başına ayda kabaca 300 tamamlamanın altında, pasif telemetri işe yarar bir pencerede hiçbir şeye karar veremez ve skill Lite moda geçer (5–8 moderasyonlu oturum).
En azından şunları kilitliyorsunuz:
- uygulamanın var olma sebebi olan iki ya da üç iş, sıralanmış hâlde;
- her biri için “bitti”nin ne demek olduğu (
success_definition) ve onu işaretleyen rota (success_screen); - akış başına
app_type— hangi metriklerin meşru olduğuna bu karar verir; - her akışın ihtiyaç duyduğu asgari ekran sayısı (
canonical_path_R).
Sonuncusunun hiçbir veriye bakmadan önce ilan edilmesi gerekir. Lostness’ın sonradan pasif olarak hesaplanabilmesinin tüm sebebi budur.
3. Katman-A pasını çalıştırın
python skill/ux-mizan/scripts/structural_checks.py src/
Her sayım [KKE]‘dir. Size nereye bakacağınızı söyler, neyin bozuk olduğunu
değil.
4. Hiçbir şeyi değiştirmeden ÖNCE temel ölçümü alın
Neyi düzeltmeyi planlıyorsanız, önce onu ölçün ve sayıları akışın
baseline.values alanına yazın. Temel ölçüm olmadan sonraki hiçbir sayı
yorumlanabilir değildir ve doğrulayıcı, davranışsal bir bulguyu [K]‘ye
yükseltmeyi reddeder (U8).
Lostness için, ekran-görüntüleme olayları var olduğunda:
python skill/ux-mizan/scripts/lostness.py events.jsonl --registry ux-registry.yaml
5. Her commit’ten önce doğrulayın
python skill/ux-mizan/scripts/ux_validate.py --strict ux-registry.yaml
git config core.hooksPath tools/hooks # ya da tools/hooks/pre-commit'i kopyalayın
İlk denetimde ne beklemeli
- Bulguların çoğu
[H]ya da[KKE]seviyesinde durur. Bu doğrudur, eksiklik değildir. - Bir
[K]gerçek bir artefakt, bir temel ölçüm ve kilitlenmiş birmin_nister. Bunların hiçbiri henüz elinizde yoksa, henüz[K]‘niz yok demektir. - İlk ölçüm döngüsünden sonra en az bir
[R]olmalı — verinin devirdiği bir hipotez. Hiç[R]satırı olmayan bir registry, hiçbir şeyi riske atmamış bir denetimdir.