agentleFS
apideck-librariesapideck-libraries/api-skills/AGENTS.md

api-skills

AGENTS.md4 starsChanged 3 months agoApache-2.0View on GitHub

This repository contains AI agent skills for the Apideck Unified API. Follow these guidelines when contributing or modifying skills. Provider mirrors (auto-generated via node skills/sync.js): Skills are loaded in tiers to minimize context window usage: Keep SKILL.md as a quick reference / index. Put detailed API endpoint docs, migration tables, and configuration references in separate files. After modifying skills, run the sync script to update provider directories: This copies all skills and commands to providers/claude/plugin/ and providers/cursor/plugin/.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

16 rules. About 1 is common, 3 are distinctive, and 12 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Frontmatter: must include: name, description, license, alwaysApply, metadata (with author and version)

    line 27
  2. Very specific:

    name: must be kebab-case, match the directory name, and start with apideck-

    line 28
  3. Very specific:

    description: must include trigger phrases — words/phrases that help agents decide when to activate the skill

    line 29
  4. Very specific:

    alwaysApply: should be false for all skills (loaded only when contextually relevant)

    line 30
  5. Very specific:

    SKILL.md body: should stay under 500 lines.

    line 31
  6. Distinctive:

    Code examples: must use real Apideck SDK patterns with correct method signatures

    line 32
  7. Very specific:

    Doc links: should point to https://developers.apideck.com/ for official docs

    line 33
  8. Very specific:

    Keep SKILL.md as a quick reference / index.

    line 43
  9. Very specific:

    All SDKs follow the same CRUD pattern: client.{api}.{resource}.{operation}()

    line 62
  10. Common:

    Never hardcode API keys in examples — use environment variables

    line 68
  11. Distinctive:

    After modifying skills, run the sync script to update provider directories:

    line 73
  12. Very specific:

    Create skills/apideck-{name}/SKILL.md with proper frontmatter

    line 83
  13. Very specific:

    Add references in skills/apideck-{name}/references/ if needed

    line 85
  14. Very specific:

    Run node skills/sync.js --skills-only to sync to providers

    line 86
  15. Distinctive:

    Update README.md with the new skill

    line 87
  16. Very specific:

    Update llms.txt if the skill covers a new API or tool

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

Agent Guidelines for Apideck API Skills

This repository contains AI agent skills for the Apideck Unified API. Follow these guidelines when contributing or modifying skills.

Repository Structure

skills/{skill-name}/
  SKILL.md              # Required: Agent instructions with YAML frontmatter
  metadata.json         # Required: Version, references, organization metadata
  references/           # Optional: Detailed reference docs (loaded on demand)
  scripts/              # Optional: Executable scripts

Provider mirrors (auto-generated via node skills/sync.js):

providers/{claude,cursor}/plugin/
  skills/               # Mirror of skills/ (do not edit directly)
  commands/             # Slash commands
  .{provider}-plugin/   # Plugin configuration

Skill Authoring Rules

SKILL.md Requirements

  • Frontmatter must include: name, description, license, alwaysApply, metadata (with author and version)
  • name must be kebab-case, match the directory name, and start with apideck-
  • description must include trigger phrases — words/phrases that help agents decide when to activate the skill
  • alwaysApply should be false for all skills (loaded only when contextually relevant)
  • SKILL.md body should stay under 500 lines. Move detailed content to references/ files
  • Code examples must use real Apideck SDK patterns with correct method signatures
  • Doc links should point to https://developers.apideck.com/ for official docs

Progressive Disclosure (Context Efficiency)

Skills are loaded in tiers to minimize context window usage:

  1. Metadata (~100 tokens): name and description from frontmatter — loaded at startup for ALL installed skills
  2. Instructions (< 5000 tokens): Full SKILL.md body — loaded when skill is activated
  3. References (as needed): Files in references/ — loaded only when agent needs specific details

Keep SKILL.md as a quick reference / index. Put detailed API endpoint docs, migration tables, and configuration references in separate files.

metadata.json Format

{
  "version": "1.0.0",
  "organization": "Apideck",
  "date": "February 2026",
  "abstract": "Brief description of the skill's purpose",
  "references": [
    "https://developers.apideck.com",
    "https://apideck.com"
  ]
}

Important Conventions

  • All SDKs follow the same CRUD pattern: client.{api}.{resource}.{operation}()
  • Authentication always requires: apiKey, appId, consumerId
  • serviceId specifies the downstream connector (e.g., salesforce, quickbooks)
  • Base URL is always https://unify.apideck.com
  • OpenAPI specs are at https://specs.apideck.com/{api-name}.yml
  • API Explorer URL format: https://developers.apideck.com/api-explorer?id={api}
  • Never hardcode API keys in examples — use environment variables
  • Connector count is 200+

Sync Workflow

After modifying skills, run the sync script to update provider directories:

node skills/sync.js --skills-only

This copies all skills and commands to providers/claude/plugin/ and providers/cursor/plugin/.

Adding a New Skill

  1. Create skills/apideck-{name}/SKILL.md with proper frontmatter
  2. Create skills/apideck-{name}/metadata.json
  3. Add references in skills/apideck-{name}/references/ if needed
  4. Run node skills/sync.js --skills-only to sync to providers
  5. Update README.md with the new skill
  6. Update llms.txt if the skill covers a new API or tool

Validation Checklist

  • name field matches directory name
  • name is kebab-case with apideck- prefix
  • description includes trigger phrases for agent matching
  • alwaysApply: false is set
  • metadata.json exists with version and references
  • SKILL.md is under 500 lines
  • Code examples use correct SDK patterns
  • No hardcoded API keys in examples
  • Provider mirrors are up to date (node skills/sync.js --skills-only)

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.