Token导航 LogoToken导航

Agent Skill · 研究检索

api-onboarding(API 入门)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

api-onboarding 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 45,111。

总安装 870周安装 37GitHub Stars 69下载 305核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jonathimer/devmarketing-skills --skill api-onboarding

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

缩短开发者首次调用 API 的时间窗口。聚焦降低认证摩擦和提升沙箱环境易用性。构建交互式文档减少上手学习成本障碍。

安装方式:通过 GitHub 仓库添加,命令为 npx skills add https://github.com/jonathimer/devmarketing-skills --skill api-onboarding。适用宿主包括 Codex、Claude、Cursor 和 Gemini CLI。

来源仓库内路径:skills/api-onboarding

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jonathimer/devmarketing-skills --skill api-onb…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

api-onboarding 怎么安装?

在终端执行 npx skills add https://github.com/jonathimer/devmarketing-skills --skill api-onboarding。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

api-onboarding 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

api-onboarding 需要什么权限?

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

api-onboarding 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

api-onboarding 用的人多吗?

公开数据是累计安装 870 次,近一周安装 37 次,下载 305 次,GitHub 69 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

api-onboarding 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
api-onboarding

API 入门 · 本页

87069接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Reducing Time-to-First-API-Call

The time between a developer discovering your API and successfully making their first call is the most critical window in your entire developer journey. Every minute of friction here costs you potential users.

Overview

Time-to-First-API-Call (TTFAC) is the single most predictive metric for developer adoption. Developers who succeed quickly become active users. Developers who struggle leave—often silently.

This skill covers:

  • Measuring and optimizing TTFAC
  • Removing authentication friction
  • Creating effective sandbox environments
  • Building interactive documentation
  • Identifying and fixing common failure points

Before You Start

Review the developer-audience-context skill to understand:

  • What's the typical technical sophistication of your developers?
  • What tools and environments do they commonly use?
  • What alternative products have they tried? What was their experience?
  • What's their urgency level? (Evaluating vs. building immediately)

Your onboarding should meet developers where they are.

Understanding TTFAC

What TTFAC Measures

Time-to-First-API-Call measures the elapsed time from a developer's first interaction to their first successful API response. This includes:

  1. Discovery time: Finding the "Get Started" content
  2. Signup time: Creating an account
  3. Credential time: Obtaining API keys
  4. Setup time: Installing SDK, configuring environment
  5. Execution time: Running first request
  6. Success time: Receiving successful response

TTFAC Benchmarks

RatingTTFACDeveloper Experience
Excellent< 5 min"This is amazing"
Good5-15 min"Pretty straightforward"
Acceptable15-30 min"Got there eventually"
Poor30-60 min"This is frustrating"
Failing> 60 min"I'll try something else"

Measuring TTFAC

Instrumentation points:

// Track these events with timestamps
analytics.track('docs_quickstart_viewed');
analytics.track('signup_started');
analytics.track('signup_completed');
analytics.track('api_key_created');
analytics.track('sdk_installed');     // Via package manager data
analytics.track('first_api_call');    // Via API logs
analytics.track('first_successful_call');

Calculate:

  • Median TTFAC (more useful than average)
  • TTFAC by developer segment
  • Drop-off rates at each step
  • Success rates within time windows (5 min, 15 min, 60 min)

Authentication Simplification

Authentication is the #1 source of onboarding friction. Simplify ruthlessly.

The Ideal Auth Flow

  1. Developer signs up (< 2 minutes)
  2. API key visible immediately (not buried in settings)
  3. Key works immediately (no activation delay)
  4. Copy-paste into example code
  5. Success

Auth Anti-Patterns to Avoid

The Approval Queue

❌ "Your API access request has been submitted.
    You'll receive access within 2-3 business days."

Developers leave and find an alternative.

The Hidden Key

❌ Settings → Team → API → Credentials → Keys → Show Key

Make keys visible on dashboard home.

The Complex Token

❌ OAuth flow requiring:
   - Client ID
   - Client secret
   - Redirect URI configuration
   - Token exchange
   - Token refresh handling

For getting started, provide simple API keys.

The Verification Gauntlet

❌ Sign up → Verify email → Verify phone →
   Add payment → Verify payment → Then API key

Minimize friction for first API call.

Auth Simplification Strategies

Provide Test Keys Immediately

✅ "Here's your test API key: sk_test_abc123...
    Use this in sandbox mode—no charges, no setup."

Support Multiple Auth Methods

✅ Quickstart: API key header
   Production: OAuth when they need it

Pre-populate Examples

✅ # Your API key is pre-filled in these examples
   curl -H "Authorization: Bearer sk_test_YOUR_KEY" ...

Delay Production Requirements

✅ Test mode: Instant access
   Production mode: Add payment, verify identity (later)

Sandbox Environments

A sandbox removes the fear of "breaking something" and lets developers experiment freely.

Sandbox Requirements

Instant Access: No approval, no payment, no complex setup

Realistic Behavior: Same API, same responses, same errors

Clear Boundaries: Obvious when in sandbox vs. production

Reset Capability: Easy way to start fresh

Generous Limits: Don't rate-limit experimentation

Sandbox Implementation Patterns

Separate Endpoints

Production: api.example.com
Sandbox:    sandbox-api.example.com

Key Prefixes

Production key: sk_live_abc123...
Sandbox key:    sk_test_xyz789...

Environment Parameter

curl -X POST https://api.example.com/v1/messages \
  -H "Authorization: Bearer $API_KEY" \
  -d '{"sandbox": true, ...}'

Sandbox Data

Pre-populated Test Data

// Sandbox comes with test users
const testUsers = await client.users.list();
// Returns: [
//   { id: "usr_test_alice", name: "Alice (Test)" },
//   { id: "usr_test_bob", name: "Bob (Test)" }
// ]

Magic Values

// Special values trigger specific behaviors
client.payments.create({
  amount: 1000,
  card: "4242424242424242"  // Always succeeds
});

client.payments.create({
  amount: 1000,
  card: "4000000000000002"  // Always declines
});

Documented Test Scenarios

## Test Card Numbers

| Number           | Behavior              |
|-----------------|----------------------|
| 4242424242424242 | Successful charge    |
| 4000000000000002 | Declined             |
| 4000000000009995 | Insufficient funds   |
| 4000000000000069 | Expired card         |

Interactive Documentation

Let developers make API calls without leaving the browser.

"Try It" Functionality

Essential Features:

  • Pre-authenticated (use their sandbox key automatically)
  • Pre-filled with working example data
  • Editable request parameters
  • Real API responses (not mocked)
  • Copy as cURL/code option

Implementation:

<div class="api-explorer">
  <h3>Try it: Send a Message</h3>

  <div class="request-editor">
    <label>To Phone Number</label>
    <input type="text" value="+15551234567" />

    <label>Message Body</label>
    <textarea>Hello from the API Explorer!</textarea>

    <button onclick="sendRequest()">Send Request</button>
  </div>

  <div class="response-viewer">
    <h4>Response</h4>
    <pre><code id="response"></code></pre>
  </div>
</div>

Interactive Docs Tools

OpenAPI-Based:

  • Swagger UI
  • Redoc
  • Stoplight Elements

Custom Platforms:

  • ReadMe.io
  • Postman Published Docs
  • Custom React components

Interactive Examples

Go beyond single requests:

## Interactive Tutorial: Send Your First Message

### Step 1: Check your balance
<api-explorer endpoint="GET /account/balance" />

### Step 2: Send a message
<api-explorer endpoint="POST /messages"
  body='{"to": "+15551234567", "body": "Hello!"}' />

### Step 3: Check message status
<api-explorer endpoint="GET /messages/{id}"
  params='{"id": "{{previous.id}}"}' />

Common Failure Points

Failure Point Analysis

Track where developers fail and why:

// Instrument error events
api.on('request_error', (error, request) => {
  analytics.track('api_error', {
    error_type: error.type,
    error_code: error.code,
    endpoint: request.endpoint,
    time_since_signup: timeSinceSignup(),
    is_first_call: isFirstCall()
  });
});

Most Common First-Call Failures

1. Authentication Errors (40% of first-call failures)

Problem: Wrong key, malformed header, missing auth
Fix:
- Clearer error messages: "API key should start with 'sk_test_'"
- Pre-filled code examples with actual key
- Auth header format shown with example

2. Request Format Errors (25%)

Problem: Wrong content type, malformed JSON, missing fields
Fix:
- Accept flexible content types on simple endpoints
- Return specific field-level errors
- Show exactly what was expected vs. received

3. Environment/Setup Errors (20%)

Problem: SDK not installed, wrong SDK version, missing dependencies
Fix:
- Version-specific installation instructions
- Compatibility matrix clearly visible
- Quick environment check script

4. Rate Limiting (10%)

Problem: Aggressive rate limits during exploration
Fix:
- Generous sandbox limits (or none)
- Clear rate limit errors with retry-after
- Don't count failed requests against limits

5. Networking Errors (5%)

Problem: Firewall, proxy, SSL issues
Fix:
- Connectivity test endpoint
- Clear networking troubleshooting guide
- Alternative ports/protocols if possible

Error Recovery Flows

Design error messages that recover the onboarding:

{
  "error": {
    "type": "authentication_error",
    "message": "Invalid API key provided",
    "code": "invalid_api_key",
    "recovery": {
      "steps": [
        "Check that your API key starts with 'sk_test_' or 'sk_live_'",
        "Ensure there are no extra spaces or newlines",
        "Generate a new key at https://dashboard.example.com/keys"
      ],
      "docs": "https://docs.example.com/authentication",
      "support": "https://support.example.com/auth-issues"
    }
  }
}

The First-Call Experience Audit

Audit Checklist

Perform this audit quarterly (or after any onboarding changes):

As a New Developer:

  • Create a new account (use a fresh browser/incognito)
  • Time how long until you have a working API key
  • Follow the quickstart exactly as written
  • Make your first API call
  • Record total time and every friction point

Questions to Answer:

  • How many clicks from homepage to first API call?
  • How many pages/tabs did you need open?
  • What did you have to figure out that wasn't explained?
  • Where did you get stuck or confused?
  • What would have made you give up?

Friction Point Scoring

FrictionImpactPriority
Must verify email before API keyHighFix immediately
API key buried in settingsHighFix immediately
No copy button on code examplesMediumFix this quarter
Quickstart assumes specific OSMediumFix this quarter
Example uses outdated SDK versionLowFix when updating docs

Onboarding Optimization Framework

Step 1: Measure Current State

  • Instrument TTFAC tracking
  • Run first-call audit with 5 developers
  • Identify top 3 drop-off points

Step 2: Reduce Steps

  • Can any step be eliminated entirely?
  • Can any step be deferred until later?
  • Can multiple steps be combined?

Step 3: Accelerate Remaining Steps

  • Pre-fill everything possible
  • Provide copy buttons everywhere
  • Show progress and next steps

Step 4: Recover Failures

  • Improve error messages
  • Add inline troubleshooting
  • Provide live support for stuck developers

Step 5: Measure and Iterate

  • Track TTFAC improvements
  • A/B test onboarding changes
  • Regular audits with real developers

Tools

Onboarding Analytics

  • Amplitude/Mixpanel: Event tracking and funnels
  • FullStory/Hotjar: Session recording
  • Custom dashboards: TTFAC metrics

Interactive Docs

  • ReadMe.io: Full-featured developer hub
  • Stoplight: OpenAPI-powered docs
  • Redocly: API documentation platform
  • Custom: Build with React/Vue

Testing

  • Ghost Inspector: Automated onboarding testing
  • Checkly: API monitoring and testing
  • k6: Load testing of onboarding flows

Related Skills

  • docs-as-marketing: Quickstart documentation
  • sdk-dx: SDK that reduces onboarding complexity
  • developer-sandbox: The playground developers onboard with
  • developer-audience-context: Understanding your onboarding audience
  • developer-metrics: Measuring onboarding success

平台分布

Codex

39.01%
按下载量换算119

Claude

28.89%
按下载量换算88

Cursor

18.76%
按下载量换算57

Gemini CLI

9.18%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills