用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/asgeirtj/system_prompts_leaks --skill handoff-to-claude-code命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Reference for writing a Workflow tool script (script API and gotchas, resume, quality patterns, worked examples). Load before authoring a script for a workflow the user already opted into; it does not itself authorize running one.
Runtime capabilities a published Artifact page can be granted — behavior static HTML cannot provide on its own, such as the page reading live or connected data, remembering what people do on it (a poll, a sign-up sheet, a checklist, a document edited in place — it saves new versions of itself), keeping state shared across viewers, knowing who is viewing, asking Claude a question of its own, storing files people add, or handing the viewer a file to save. Serves this user's live capability roster and the typed call definitions. Load it whenever the user asks for an artifact needing any such runtime behavior.
Design guidance and fundamentals for Artifacts.
基于 SOC 职业分类
正在显示 SKILL.md
| name | handoff-to-claude-code |
| description | Developer handoff package |
| user-invocable | true |
Create a comprehensive handoff package so a developer using Claude Code can implement this design in a real codebase.
Create a handoff folder in the project directory:
mkdir -p <project-folder>/design_handoff_<feature-name>/
Use a descriptive feature name derived from the design (e.g., design_handoff_onboarding_flow, design_handoff_settings_redesign).
Create a README.md in the handoff folder with the following sections:
# Handoff: <Feature Name>
## Overview
Brief description of what this design is for and what it accomplishes.
## About the Design Files
State clearly that the files in this bundle are **design references created in HTML** — prototypes showing intended look and behavior, not production code to copy directly. Explain that the task is to **recreate these HTML designs in the target codebase's existing environment** (React, Vue, SwiftUI, native, etc.) using its established patterns and libraries — or, if no environment exists yet, to choose the most appropriate framework for the project and implement the designs there.
## Fidelity
State clearly whether the mocks/prototypes created in this conversation are:
- **High-fidelity (hifi)**: Pixel-perfect mockups with final colors, typography, spacing, and interactions. The developer should recreate the UI pixel-perfectly using the codebase's existing libraries and patterns.
- **Low-fidelity (lofi)**: Wireframes or rough layouts showing structure and flow. The developer should use these as a guide for layout and functionality but apply the codebase's existing design system for styling.
## Screens / Views
For each screen or view in the design:
- **Name**: What this screen is called
- **Purpose**: What the user does here
- **Layout**: Detailed description of the layout (grid structure, flex directions, widths, heights, margins, padding)
- **Components**: List each UI component with:
- Position and size
- Colors (exact hex values if hifi)
- Typography (font family, size, weight, line-height, letter-spacing)
- Border radius, shadows, borders
- Hover/active/focus states
- Content/copy (exact text used)
## Interactions & Behavior
- Click handlers and navigation flows
- Animations and transitions (duration, easing, properties)
- Hover states
- Loading states
- Error states
- Form validation rules
- Responsive behavior (if applicable)
## State Management
- What state variables are needed
- State transitions and their triggers
- Any data fetching requirements
## Design Tokens
List all design values used:
- Colors (with hex values)
- Spacing scale
- Typography scale
- Border radius values
- Shadow values
## Assets
List any images, icons, or other assets used in the design and where they came from.
## Files
List the HTML/CSS/JS files in the project that contain the design, so the developer can reference them.
Copy relevant design files into the handoff folder (the HTML prototypes, any component files, etc.)
Use the present_fs_item_for_download tool with the handoff folder path so the user can download it as a zip.