Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计通过

devex-sdk-designdevex SDK 设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

428

周安装

18

GitHub Stars

48

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:devex-sdk-design(devex SDK 设计)
来源仓库:https://github.com/travisjneuman/.claude
仓库路径:skills/devex-sdk-design
安装命令:
npx skills add https://github.com/travisjneuman/.claude --skill devex-sdk-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/travisjneuman/.claude --skill devex-sdk-design

简介

该技能辅助界面视觉规范制定,涵盖排版、配色与交互层级优化。

  • 适用于产品 UI 方案生成与一致性检查等设计相关任务。
  • 需结合品牌指南与用户旅程地图,避免仅堆砌装饰元素。
  • 真实页面修改后应通过截图比对验证文本溢出与对齐问题。
  • devex-sdk-design 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
devex-sdk-design
description
Developer experience (DX) engineering, SDK design patterns, API ergonomics, CLI tooling design, documentation-driven development, and developer onboarding. Use when designing SDKs, improving API ergonomics, building developer tools, or creating developer documentation.

Developer Experience & SDK Design

SDK Design Principles

API Ergonomics

// Bad: too many required params, unclear ordering
createUser(name, email, role, true, false, null, 'active');

// Good: builder pattern with named properties
const user = await sdk.users.create({
  name: 'Alice',
  email: 'alice@example.com',
  role: 'admin',
});

// Good: fluent API for complex operations
const results = await sdk.query('users')
  .where('role', '=', 'admin')
  .orderBy('createdAt', 'desc')
  .limit(10)
  .execute();

Progressive Disclosure

// Simple case: just works with defaults
const client = new MySDK('api-key');
const result = await client.doThing();

// Advanced case: full control available
const client = new MySDK({
  apiKey: 'api-key',
  baseUrl: 'https://custom.endpoint.com',
  timeout: 30000,
  retries: { maxAttempts: 3, backoff: 'exponential' },
  middleware: [loggingMiddleware, authRefreshMiddleware],
});

Error Design

// SDK errors should be structured and actionable
class SDKError extends Error {
  constructor(
    message: string,
    public readonly code: string,        // machine-readable
    public readonly statusCode?: number,  // HTTP status if applicable
    public readonly retryable: boolean = false,
    public readonly docs?: string,        // link to relevant docs
  ) {
    super(message);
  }
}

// User sees:
// SDKError: Rate limit exceeded (rate_limit_exceeded)
//   Retryable: true, retry after 2.3s
//   Docs: https://docs.example.com/rate-limits

CLI Design

Command Structure

mycli <command> <subcommand> [flags]

mycli init                    # Interactive setup
mycli deploy --env production # Explicit flags
mycli logs --follow           # Streaming output
mycli config set key value    # Noun-verb pattern

CLI Best Practices

  • Sensible defaults: Work out of the box, --flag for customization
  • Progressive output: Spinners for long ops, --verbose for debug, --json for machines
  • Confirmation prompts: Destructive actions require --yes or interactive confirm
  • Shell completion: Generate for bash/zsh/fish/PowerShell
  • Exit codes: 0 = success, 1 = error, 2 = usage error

Documentation-Driven Development

README Structure (for SDKs)

  1. One-liner: What it does in one sentence
  2. Quick start: Copy-paste working example (< 10 lines)
  3. Installation: Package manager commands
  4. Usage: Common patterns with code examples
  5. API reference: Auto-generated from types/docstrings
  6. Error handling: Common errors and solutions
  7. Migration guide: Breaking changes between versions

Code Examples

  • Every public method needs a usage example
  • Examples must compile/run — test them in CI
  • Show the happy path first, then edge cases
  • Include expected output in comments

Developer Onboarding Metrics

  • Time to Hello World: < 5 minutes from docs to working code
  • Time to first API call: < 10 minutes including auth setup
  • Copy-paste success rate: Quick start examples work on first try
  • Error resolution time: Error messages lead directly to fix

Versioning & Breaking Changes

  • Semantic versioning strictly followed
  • Deprecation warnings 2 minor versions before removal
  • Migration codemods for major version upgrades
  • Changelog with every release (keep-a-changelog format)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.9%
按下载量换算52

Claude

27.39%
按下载量换算41

Cursor

18.79%
按下载量换算28

Gemini CLI

9.49%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills