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

explore-api探索 API

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

2

下载量

66
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/giladresisi/ai-dev-env --skill explore-api

简介

explore-api 系统性调研外部接口文档与集成约束条件。

  • 生成 OpenAPI 草案并校验字段命名与错误码规范。
  • 辅助前后端联调,减少因假设错误导致的返工风险。
  • 接口定义应以现有 schema 或样例为准,禁止虚构未实现的参数。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Explore External API

Mission

Systematically research external APIs to prevent integration bugs and validate assumptions before implementation.

When to Use

  • Integrating with unfamiliar external APIs or SDKs
  • Using new features of existing APIs
  • Switching between API versions or providers
  • Any time API documentation needs verification

Research Workflow

Phase 1: Documentation Discovery

  1. Official Documentation

- Primary API reference: [URL] - SDK documentation: [URL] - Authentication guide: [URL] - Rate limits and quotas: [URL]

  1. Compatibility Matrix

- Supported versions: [list] - Language SDK versions: [list] - Known limitations: [list] - Deprecation notices: [check]

  1. Community Resources

- GitHub issues for known bugs - Stack Overflow common problems - Blog posts with integration examples

Phase 2: API Capability Verification

  1. Endpoint/Feature Support

- Required feature: [name] - Supported? ✓/✗ - API method: [name] - Available in version X? ✓/✗ - Event types (for streaming): [list actual types]

  1. Authentication & Configuration

- Auth method: [API key, OAuth, JWT, etc.] - Required environment variables: [list] - Configuration precedence: [env vars > config file > defaults]

  1. Request/Response Formats

- Request parameters: [required, optional, defaults] - Response structure: [schema or example] - Error response format: [structure] - Pagination pattern (if applicable): [method]

Phase 3: Integration Pattern Research

  1. Official SDK Usage

- Initialization pattern: [code example] - Basic request example: [code] - Error handling pattern: [code] - Async/streaming pattern: [code if applicable]

  1. Environment Setup

- Import order requirements: [if any] - Initialization timing: [when to init client] - Configuration loading: [before/during/after init]

  1. Existing Examples

- Official examples: [URLs] - Working code samples: [URLs] - Integration tutorials: [URLs]

Phase 4: Proof of Concept

Create minimal working example to validate understanding:

# Minimal POC to verify API works as expected
# Test: [what this proves]

Expected Outcome: [describe success criteria] Fallback Plan: [alternative if POC fails]

Phase 5: Risk Assessment

  1. Known Issues

- Issue: [description] - Impact: [high/medium/low] - Mitigation: [approach]

  1. Breaking Changes

- Version X → Y changes: [list] - Migration required: ✓/✗ - Backward compatibility: ✓/✗

  1. Rate Limits & Quotas

- Requests per minute: [limit] - Daily quota: [limit] - Retry strategy: [approach]

Output Format

API Research Document

Create file: .agents/research/[api-name]-research.md

Contents:

  • API Overview & Version
  • Supported Features Matrix
  • Integration Patterns & Code Examples
  • Configuration Requirements
  • Validation Strategy
  • Known Issues & Mitigations
  • Reference Links

Quick Reference for Plan

Generate summary block for embedding in plan-feature.md:

## API: [Name] v[Version]

**Documentation:** [Primary URL]
**SDK:** [Library] v[Version] - Compatible: ✓/✗

**Key Findings:**
- Feature [X] supported via [method]
- Event type: [actual name] (not [assumed name])
- Requires: [specific config/setup]
- Limitation: [if any]

**Integration Pattern:**
[Brief code example or reference]

**Validation:**
- [ ] POC tested successfully
- [ ] API key validated
- [ ] Response format verified

Validation Checklist

  • Official documentation reviewed
  • SDK compatibility confirmed
  • Code example tested locally
  • Authentication pattern validated
  • Error handling verified
  • Rate limits documented
  • Known issues identified
  • Fallback plan defined

Example: LangSmith Integration

What should have been researched:

Documentation URLs

Compatibility Check

  • Does wrap_openai() support Responses API? ✗ No (only Chat Completions)
  • Alternative: Manual tracing with Client.create_run() / update_run()

Critical Findings

  • Event type: response.completed (not response.done)
  • Trace completion requires: end_time parameter in update_run()
  • Import order: Must set env vars before OpenAI client init

POC Test

from langsmith import Client
client = Client()
run_id = uuid.uuid4()
client.create_run(id=run_id, name="test", run_type="llm", inputs={"test": "data"})
client.update_run(run_id=run_id, outputs={"result": "success"}, end_time=datetime.now())
# Verify in dashboard: trace shows SUCCESS status

This research would have prevented:

  • Wrong event type assumption
  • Using unsupported auto-wrapper
  • Missing end_time parameter
  • Import order issues

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.19%
按下载量换算26

Claude

30.44%
按下载量换算20

Cursor

18.45%
按下载量换算12

Gemini CLI

9.89%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills