Agent Skills › instructa/agent-skills › claude-designer

claude-designer

GitHub

Astra直接调用Claude Code进行UI/UX设计和前端实现,支持设计优先、契约优先或并行策略。替代旧版通过Luna任务中转的模式,直接在当前任务中管理原型、集成与审查,提升开发效率。

skills/codex/claude-designer/SKILL.md instructa/agent-skills

Trigger Scenarios

用户显式调用 $claude-designer 需要设计或实现界面/前端工作

Install

npx skills add instructa/agent-skills --skill claude-designer -g -y
More Options

Non-standard path

npx skills add https://github.com/instructa/agent-skills/tree/main/skills/codex/claude-designer -g -y

Use without installing

npx skills use instructa/agent-skills@claude-designer

指定 Agent (Claude Code)

npx skills add instructa/agent-skills --skill claude-designer -a claude-code -g -y

安装 repo 全部 skill

npx skills add instructa/agent-skills --all -g -y

预览 repo 内 skill

npx skills add instructa/agent-skills --list

SKILL.md

Frontmatter
{
    "name": "claude-designer",
    "description": "Use Claude Code directly from Astra's current task to design or implement UI\/UX and frontend work, with Astra owning sequencing, review, and integration. Use when the user invokes $claude-designer or requests this workflow."
}

Claude Designer

Astra handles the workflow in the current task and calls Claude Code directly. Do not create or route through an intermediary Codex task. This skill supports existing interfaces and new interfaces; it does not prescribe a framework.

Choose the sequence

Inspect enough of the user journey, repository instructions, UI, and data contracts to choose:

  • Design first: interaction, information hierarchy, or product direction is uncertain. Ask Claude to implement a bounded prototype using clearly isolated fixtures, then use its findings to guide backend work.
  • Contracts first: calculations, permissions, persistence, or API semantics determine the interface. Establish those contracts before asking Claude to integrate them. Do not create speculative APIs just to unblock cosmetic work.
  • Parallel: the UI can use an agreed contract while Astra works on backend or domain files. Define file ownership and integration points before either side edits shared files.

State the sequence and reason briefly. Astra keeps architectural decisions, backend/domain ownership, review, and final integration unless the user explicitly assigns them otherwise.

Call Claude directly

An explicit $claude-designer invocation authorizes this workflow. Use the current checkout by default and keep the Claude run in Astra's current task. Do not create a separate Codex task or worktree just to supervise Claude. Use an isolated checkout only when the requested work needs one and the relevant state can be made available without silently copying the entire dirty tree.

Read the direct Claude workflow. In brief:

  • Prepare a bounded brief with the requested outcome, audience, main journey, references, scope, acceptance criteria, agreed contracts, unresolved dependencies, allowed paths, and relevant project instructions.
  • Check Claude Code's installed version, supported flags, and authentication status without printing credentials. Do not install, update, log in, or switch models silently.
  • Start Claude Code from the relevant checkout using its CLI and the reviewed brief. Keep the process handle and Claude session ID in this task; reuse the same session for focused corrections.
  • Prefer a verified, directly exposed Claude worker tool that stays pending until completion. Do not wrap it in Code Mode or replace completion waiting with repeated sleep/status/log-tail responses. If that integration is unavailable, disclose the limitation before starting; the CLI fallback is not verified polling-free. Follow the completion-wait section in the direct workflow reference.
  • If a prerequisite or permission blocks the run, report the concrete blocker. Do not retry the same denied operation repeatedly or bypass permissions without explicit authorization.

Review and integrate

Inspect Claude's actual diff, preserve unrelated changes, and verify the requested user journey against the agreed contracts. Use the project's existing checks when appropriate and inspect the relevant responsive, keyboard, and loading/empty/error/success states. Keep fixtures clearly marked. Save useful screenshots or preview details when available. Report what was verified and what remains unverified; a successful build alone does not establish design acceptance.

Keep the response concise: summarize the sequence, Claude's result, changed paths, evidence, remaining gaps, and integration outcome. Do not substitute a native Codex implementation for the requested Claude work without explaining why Claude Code was unavailable.

Version History

  • 624519d Current 2026-10-19 21:49

    重构为从Astra当前任务直接调用Claude Code,移除Luna任务中转;新增codex-reviewer等技能;更新参考文档。

  • 79ae4e5 2026-09-28 12:41

Same Skill Collection

skills/3d-gaming/unity-docs/SKILL.md
skills/claude/codex-reviewer/SKILL.md
skills/delegation/delegate-fable/SKILL.md
skills/delegation/delegate-grok/SKILL.md
skills/delegation/delegate-sol/SKILL.md
skills/design/redesign-my-landingpage/SKILL.md
skills/electron/electron-live-test/SKILL.md
skills/engineering/architecture-ownership/SKILL.md
skills/engineering/clarify/SKILL.md
skills/engineering/code-quality/SKILL.md
skills/engineering/consolidate-test-suites/SKILL.md
skills/engineering/find-duplicate-ownership/SKILL.md
skills/engineering/hard-cut/SKILL.md
skills/engineering/lean-ci/SKILL.md
skills/engineering/lean-testing/SKILL.md
skills/engineering/root-cause-finder/SKILL.md
skills/engineering/search-context/SKILL.md
skills/git/gitwhat/SKILL.md
skills/go/go-local-health/SKILL.md
skills/herdr/delegate-fable/SKILL.md
skills/herdr/delegate-grok/SKILL.md
skills/herdr/delegate-sol/SKILL.md
skills/orchestration/sitrep/SKILL.md
skills/release/homebrew-publish/SKILL.md
skills/security/package-security-check/SKILL.md
skills/security/secleak-check/SKILL.md
skills/shell/shellck/SKILL.md
skills/specs/app-spec-packager/SKILL.md

Metadata

Files
0
Version
624519d
Hash
75bc5a3e
Indexed
2026-09-28 12:41

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-24 14:42
浙ICP备14020137号-1