agentleFS
XData-siXData-si/xdata-agenthub/skills/api-integration/SKILL.md

api-integration

Skill1 starsChanged 32 days agoMITView on GitHub

Design and review reliable third-party API integrations — authentication, timeouts, retries, rate limits, idempotency and failure handling. Use when connecting to an external service or debugging a flaky integration.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use data-analysis, critique and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • shanggqmSkill

    data-analysis

    数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。

    Also in 3 projects that use this

  • GoogleSkill

    critique

    Expertise in auditing and fixing repository scripts and GitHub Actions workflows to ensure technical robustness and security.

    Also in 3 projects that use this

  • OpenAISkill

    executing-plans

    Use when you have a written implementation plan to execute in a separate session with review checkpoints

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Document authentication, scopes, rate limits and data boundaries.

    line 16
  2. Distinctive:

    Verify webhook signatures, replay protection and pagination.

    line 18
  3. Distinctive:

    Test sandbox and mocked failures.

    line 19
  4. Distinctive:

    Read-only by default. Do not expose credentials, execute untrusted code, access unrelated data or make production changes without explicit …

    line 35

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

API Integration

Purpose

Design reliable third-party API integrations. Follow project conventions and explicitly state assumptions.

Inputs

Relevant source and configuration, desired behavior, supported versions, operating environment, ownership and constraints.

Procedure

  1. Document authentication, scopes, rate limits and data boundaries.
  2. Define retries, exponential backoff, timeouts and idempotency.
  3. Verify webhook signatures, replay protection and pagination.
  4. Test sandbox and mocked failures.
  5. Specify observability, credential rotation and graceful degradation.

Example judgment

A timeout after a mutating request is ambiguous; do not blindly retry without an idempotency strategy.

Required output

Summarize scope, prioritized findings, affected artifacts, observed evidence, recommendations, verification steps and residual risks. Mark tests as PASS, FAIL, NOT RUN or BLOCKED; never infer a passing test from a proposed command.

Acceptance checks

  • Findings cite a concrete artifact or a clearly labeled assumption.
  • At least one negative or boundary case is covered when relevant.
  • Recommendations consider compatibility and operational cost.
  • Unverified behavior is not represented as an observed fact.

Safety

Read-only by default. Do not expose credentials, execute untrusted code, access unrelated data or make production changes without explicit authorization. Prefer disposable fixtures.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.