skills/kimi-ui-agent/SKILL.md
Explicit-only Kimi-powered frontend/UI orchestration skill and CLI for repo profiling, design-system context generation, Codex/Kimi Code/Claude Code adapter setup, plan-first git worktree runs, status/reply/finalize lifecycle control, and review artifacts. Use only when the user explicitly invokes `$kimi-ui-agent` or asks to use Kimi UI Agent for frontend/UI audits, redesigns, components, screenshots, implementation planning, or worktree orchestration.
npx skillsauth add bjornmelin/dev-skills kimi-ui-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the bundled Bun CLI script as the deterministic controller for Kimi-powered frontend/UI work. The CLI owns repo scanning, adapter rendering, path validation, project config, run state, and artifact files. The active harness, Codex, Kimi Code, or Claude Code, owns judgment, edits, and final verification.
Confirm the user explicitly invoked $kimi-ui-agent or explicitly asked for
Kimi UI Agent.
Run:
KIMI_UI_AGENT_SKILL_DIR="${KIMI_UI_AGENT_SKILL_DIR:-${CODEX_HOME:-$HOME/.codex}/skills/kimi-ui-agent}"
KIMI_UI_AGENT_CLI="${KIMI_UI_AGENT_CLI:-$KIMI_UI_AGENT_SKILL_DIR/scripts/kimi-ui-agent.ts}"
bun "$KIMI_UI_AGENT_CLI" --json doctor
If this repo has not been profiled, run setup in dry-run mode first:
bun "$KIMI_UI_AGENT_CLI" --json setup --dry-run
Apply setup only when durable project intelligence should be written:
bun "$KIMI_UI_AGENT_CLI" --json setup --apply
Read .agents/kimi-ui-agent/project-profile.md,
.agents/kimi-ui-agent/frontend-map.md,
.agents/kimi-ui-agent/design-system.md,
.agents/kimi-ui-agent/verification.md, and
.agents/kimi-ui-agent/protected-paths.md when present.
setup for first-run deterministic repo scanning and lean project context
generation. Read setup-profile before changing
profile behavior or interpreting profile files.install --dry-run to render project-local Codex, Kimi Code, and Claude
Code adapters. Read install-targets before
applying adapter writes.start --task "<task>" --dry-run to preview a plan-first isolated
worktree run. Apply only after checking the intended worktree, branch, and
artifact paths.status, reply, continue, finalize, and abort to manage a run.
Read lifecycle before modifying run protocol or
interpreting artifacts.mcp only as a stdio MCP server configured by Codex, Kimi Code, or Claude
Code. Read adapter-contracts before
changing MCP tool schemas.--apply.scripts/kimi-ui-agent.ts: Bun TypeScript CLI entrypoint. Invoke it with
bun "$KIMI_UI_AGENT_CLI" after setting KIMI_UI_AGENT_CLI to the installed
or repo-local script path; do not assume a global kimi-ui-agent binary
exists.references/security-and-privacy.md: sanitization, path, env, and artifact
safety rules.references/output-contract.md: JSON and Markdown artifact contract.references/kimi-code.md, references/claude-code.md, and
references/codex.md: harness-specific notes.assets/design-brief.md: optional prompt input for high-stakes UI work.development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.