hirokaji/jp-ui-contracts/japanese-ui-contract-review
Claude Code and agent skill by hirokaji/jp-ui-contracts
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install hirokaji/jp-ui-contracts/japanese-ui-contract-reviewSKILL.md
Japanese UI Contract Review
Use this skill when an AI agent is asked to create, revise, or review a Japanese web interface governed by DESIGN.md.
Goal
Keep UI generation inside the selected Japanese UI contract, then return observed failures to the owning contract layer instead of patching screenshots ad hoc.
Inputs
Required:
- project
DESIGN.md - target UI code or rendered preview
Recommended:
- closest profile under
templates/ - relevant CSS recipes under
recipes/ - relevant fixture under
fixtures/ - CI or local rendered-validation Evidence when available
Workflow
- Read
DESIGN.mdbefore proposing visual changes. - Run static validation:
``bash python validators/contract.py validate DESIGN.md ``
- Identify the active profile and validation targets.
- Create or modify the UI without weakening explicit contract rules.
- Inspect the actual application states named by the contract. Use the closest fixtures as reproducible references; fixture success does not validate the application.
- When this repository's browser harness is available, run rendered validation:
``bash npm install npx playwright install chromium npm run test:rendered ``
- Check the actual local application with
npm run check:ui -- --url <local-url>. This checks document horizontal overflow only. For explicit element measurements, adapt the opt-in helper described inexamples/notification-settings/README.md; keep its table in DESIGN.md. - Review the rendered result using
validators/scorecard.mdanddocs/conditional-visual-review.md. Separate MUST failures from contextual recommendations. Unknown required checks remain WARN with acceptance pending. Do not ban colors, gradients or emoji without task-specific evidence. - Attribute each WARN or FAIL to exactly one primary bucket:
- missing contract rule
- weak profile default
- missing fixture
- validator gap
- implementation bug
- Fix the owning layer. Do not hide a contract problem with a one-off local style override unless the override is explicitly justified.
- Re-run static and rendered validation as applicable.
- Report Evidence and residual manual checks.
Evidence priority
Prefer Evidence that another reviewer can inspect or reproduce:
- failing or passing browser gate with exact fixture and viewport
- geometry or overflow measurement
- DOM / accessibility assertion
- screenshot of the rendered fixture
- human visual observation with explicit PASS / WARN / FAIL rationale
A screenshot alone is not sufficient when the relevant condition can be measured directly.
Output
Return a compact review record containing:
Guardrails
- Do not globally introduce
word-break: break-all. - Do not optimize Japanese body typography from Latin-first defaults without checking long Japanese text.
- Keep paragraph, table, and form density separate.
- Treat screenshots as Evidence, not as the contract itself.
- Prefer measurable browser checks over visual assertion when the property is measurable.
- Do not silently weaken a validation target to make a result pass.
- When Evidence is insufficient, leave the result as WARN and state the missing check.
- Do not treat Chromium-only success as proof of Firefox or WebKit compatibility.
Useful commands
Validate a contract:
Export a machine-readable projection for another agent or CI step:
Strict repository check:
Run the browser gates:
See docs/v0.3-release-gate.md for the release-level acceptance conditions.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/japanese-ui-contract-review/SKILL.md
Popularity
- Repository stars
- 72
- Repository forks
- 1
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hirokaji/jp-ui-contracts/japanese-ui-contract-review)