Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

yyl-test-skillyyl 测试技能

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

3,719

周安装

149

GitHub Stars

1

下载量

1,204
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:yyl-test-skill(yyl 测试技能)
来源仓库:https://github.com/yylgit/yyl-test-skill
安装命令:
openclaw skills install yyl-test-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install yyl-test-skill

简介

yyl-test-skill 用于 Figma 设计分析与资产导出,支持提取界面数据、审核可访问性及多格式输出。

  • 它适合 UI/UX 团队协作中的设计规范检查与交付物准备场景。
  • 安装命令为 openclaw skills install yyl-test-skill,需授权访问 Figma 项目文件。
  • 使用时请确认设计稿版本与实际代码实现一致性,避免因脱节导致还原偏差。
  • 建议定期同步设计变更,确保测试用例反映最新交互逻辑。

SKILL.md

name
figma
description
Professional Figma design analysis and asset export. Use for extracting design data, exporting assets in multiple formats, auditing accessibility compliance, analyzing design systems, and generating comprehensive design documentation. Read-only analysis of Figma files with powerful export and reporting capabilities.

Figma Design Analysis & Export

Professional-grade Figma integration for design system analysis, asset export, and comprehensive design auditing.

Core Capabilities

1. File Operations & Analysis

  • File inspection: Get complete JSON representation of any Figma file
  • Component extraction: List all components, styles, and design tokens
  • Asset export: Batch export frames, components, or specific nodes as PNG/SVG/PDF
  • Version management: Access specific file versions and branch information

Example usage:

  • "Export all components from this design system file"
  • "Get the JSON data for these specific frames"
  • "Show me all the colors and typography used in this file"

2. Design System Management

  • Style auditing: Analyze color usage, typography consistency, spacing patterns
  • Component analysis: Identify unused components, measure usage patterns
  • Brand compliance: Check adherence to brand guidelines across files
  • Design token extraction: Generate CSS/JSON design tokens from Figma styles

Example usage:

  • "Audit this design system for accessibility issues"
  • "Generate CSS custom properties from these Figma styles"
  • "Find all inconsistencies in our component library"

3. Bulk Asset Export

  • Multi-format exports: Export assets as PNG, SVG, PDF, or WEBP
  • Platform-specific sizing: Generate @1x, @2x, @3x assets for iOS/Android
  • Organized output: Automatic folder organization by format or platform
  • Client packages: Complete deliverable packages with documentation

Example usage:

  • "Export all components in PNG and SVG formats"
  • "Generate complete asset package for mobile app development"
  • "Create client deliverable with all marketing assets"

4. Accessibility & Quality Analysis

  • Contrast checking: Verify WCAG color contrast requirements
  • Font size analysis: Ensure readable typography scales
  • Interactive element sizing: Check touch target requirements
  • Focus state validation: Verify keyboard navigation patterns

Example usage:

  • "Check this design for WCAG AA compliance"
  • "Analyze touch targets for mobile usability"
  • "Generate an accessibility report for this app design"

Quick Start

Authentication Setup

# Set your Figma access token
export FIGMA_ACCESS_TOKEN="your-token-here"

# Or store in .env file
echo "FIGMA_ACCESS_TOKEN=your-token" >> .env

Basic Operations

# Get file information and structure
python scripts/figma_client.py get-file "your-file-key"

# Export frames as images
python scripts/export_manager.py export-frames "file-key" --formats png,svg

# Analyze design system consistency
python scripts/style_auditor.py audit-file "file-key" --generate-html

# Check accessibility compliance
python scripts/accessibility_checker.py "file-key" --level AA --format html

Workflow Patterns

Design System Audit Workflow

  1. Extract file data → Get components, styles, and structure
  2. Analyze consistency → Check for style variations and unused elements
  3. Generate report → Create detailed findings and recommendations
  4. Manual implementation → Use findings to guide design improvements

Asset Export Workflow

  1. Identify export targets → Specify frames, components, or nodes
  2. Configure export settings → Set formats, sizes, and naming conventions
  3. Batch process → Export multiple assets simultaneously
  4. Organize output → Structure files for handoff or implementation

Analysis & Documentation Workflow

  1. Extract design data → Pull components, styles, and design tokens
  2. Audit compliance → Check accessibility and brand consistency
  3. Generate documentation → Create style guides and component specs
  4. Export deliverables → Package assets for development or client handoff

Resources

scripts/

  • figma_client.py - Complete Figma API wrapper with all REST endpoints
  • export_manager.py - Professional asset export with multiple formats and scales
  • style_auditor.py - Design system analysis and brand consistency checking
  • accessibility_checker.py - Comprehensive WCAG compliance validation and reporting

references/

  • figma-api-reference.md - Complete API documentation and examples
  • design-patterns.md - UI patterns and component best practices
  • accessibility-guidelines.md - WCAG compliance requirements
  • export-formats.md - Asset export options and specifications

assets/

  • templates/design-system/ - Pre-built component library templates
  • templates/brand-kits/ - Standard brand guideline structures
  • templates/wireframes/ - Common layout patterns and flows

Integration Examples

With Development Workflows

# Generate design tokens for CSS
python scripts/export_manager.py export-tokens "file-key" --format css

# Create component documentation
python scripts/figma_client.py document-components "file-key" --output docs/

With Brand Management

# Audit brand compliance in designs
python scripts/style_auditor.py audit-file "file-key" --brand-colors "#FF0000,#00FF00,#0000FF"

# Extract current brand colors for analysis
python scripts/figma_client.py extract-colors "file-key" --output brand-colors.json

With Client Deliverables

# Generate client presentation assets
python scripts/export_manager.py client-package "file-key" --template presentation

# Create development handoff assets
python scripts/export_manager.py dev-handoff "file-key" --include-specs

Limitations & Scope

Read-Only Operations

This skill provides read-only access to Figma files through the REST API. It can:

  • ✅ Extract data, components, and styles
  • ✅ Export assets in multiple formats
  • ✅ Analyze and audit design files
  • ✅ Generate comprehensive reports

What It Cannot Do

  • Modify existing files (colors, text, components)
  • Create new designs or components
  • Batch update multiple files
  • Real-time collaboration features

For file modifications, you would need to develop a Figma plugin using the Plugin API.

Technical Features

API Rate Limiting

Built-in rate limiting and retry logic to handle Figma's API constraints gracefully.

Error Handling

Comprehensive error handling with detailed logging and recovery suggestions.

Multi-Format Support

Export assets in PNG, SVG, PDF, and WEBP with platform-specific sizing.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.16%
按下载量换算917

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills