当前位置: 首页 > Skill >

Figma Annotation Guide

Figma Annotation Guide

Figma Annotation Guide

为 Figma 屏幕或组件生成结构化的开发交接注释。适用于在被要求编写 Figma 注释、创建设发交接说明文档等场景。

1.0.0 2026.11.26 264
获取Skill文件查看使用说明
作 者:顾宁 许可证: 更新时间:2026.11.26
本文目录展开

Figma Annotation Guide Skill

Produces a complete set of developer handoff annotations for a Figma screen or component — the notes that turn a visual design into a buildable spec.

Required Inputs

  • Screen or component description (describe or summarise what was designed)
  • Platform (iOS / Android / Web / React Native)
  • Interaction type (static / interactive / animated / form)
  • Developer audience (mobile / frontend / full-stack)

Output Structure

1. Screen/Component Overview

Name, purpose, entry points, exit points.

2. Interaction Annotations

[Element name]

  • Default state: [Visual description]
  • On tap/click: [Exact action — API call, state change, navigation]
  • Loading state: [Description]
  • Success state: [What happens after]
  • Error state: [What error looks like and user options]
  • Disabled condition: [When and why]

3. State Inventory

Element States Required
[Element] Default, Hover, Active, Disabled, Loading, Error, Empty

Flag missing designs: "Warning: Error state not designed — needed before build"

4. Spacing and Layout Notes

Fixed vs fluid elements, scroll behaviour, breakpoints, safe areas.

5. Content and Copy Rules

Character limits, dynamic vs static content, truncation rules, empty states.

6. Accessibility Annotations

Touch targets, screen reader labels, focus order, colour contrast, motion preferences.

7. Edge Cases and Developer Questions

  • [Unresolved question for developer to flag]

Quality Checks

  • Every interactive element has all states defined
  • State inventory flags missing designs
  • Accessibility covers touch targets and screen reader labels
  • Empty states specified
  • Edge cases listed as actionable questions

Anti-Patterns

  • Do not annotate only the happy path — error states, loading states, and empty states must all be documented
  • Do not use vague spacing descriptions like "some padding" — specify exact pixel values or token names
  • Do not skip accessibility annotations — focus order, ARIA labels, and colour contrast ratios must be included
  • Do not leave interaction behaviour undescribed — every interactive element needs a documented response
  • Do not produce annotations without edge cases — developers need to know what happens at boundaries

Example Trigger Phrases

  • "Write dev annotations for this Figma screen"
  • "Create developer handoff notes for [screen/component]"
  • "Document this design for the engineering team"
  • "Write the Figma spec for [feature]"
  • "What should I annotate before handing off this design?"

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,018
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,013
Skill 文件
  • SKILL.md
    • Figma Annotation Guide Skill
    • Required Inputs
    • Output Structure
      • 1. Screen/Component Overview
      • 2. Interaction Annotations
      • 3. State Inventory
      • 4. Spacing and Layout Notes
      • 5. Content and Copy Rules
      • 6. Accessibility Annotations
      • 7. Edge Cases and Developer Questions
    • Quality Checks
    • Anti-Patterns
    • Example Trigger Phrases
  • 项目或源文件

相关 Skill

更多
Figma Agent Figma Agent Figma MCP 与 OpenClaw 的集成。用于读取 Figma 设计、检查设计标记/变量、使用 Code Connect 或创建/编辑。
figma-to-mobile figma-to-mobile Convert Figma designs to mobile UI code. Supports Android (Jetpack Compose, XML) and iOS (SwiftUI, UIKit). Use when a user provides a Figma link and wants mobile layout code. Extracts design tokens via Figma REST API, asks clarifying questions, then generates production-ready code files.
Figma Bridge Figma Bridge 从 Figma 文件中提取设计信息,包括设计令牌、组件结构、颜色、排版和间距,并导出资源。当用户提出相关请求时使用。
Figma Design Brief Figma Design Brief 基于产品需求或功能需求,为Figma设计任务撰写结构化设计简介,适用于需要创建设计简报的场景。
Figma工作室(免费版) Figma工作室(免费版) 轻量级Figma设计文件读取工具,覆盖文件解析、评论管理与图片导出,60秒上手。