content-island-client-api

Explain Content Island Client API usage patterns from official documentation.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/content-island/content-island-ai-skill --skill content-island-client-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: content-island-client-api
Source: https://github.com/content-island/content-island-ai-skill/tree/main
Command: npx skills add https://github.com/content-island/content-island-ai-skill --skill content-island-client-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often attempt to interact with the Content Island Client API without strict reference to the official documentation, risking incorrect usage. This Skill confines guidance to the official Content Island Client API docs and the official JavaScript client library @content-island/api-client, preventing hallucinations and misconfiguration.

Core Features & Use Cases

  • Grounded usage patterns drawn from official docs
  • Production-ready code examples strictly derived from documented behavior
  • Use cases: fetching content lists, single items, and mapping raw content to models

Quick Start

Install the @content-island/api-client package and start querying content using getContentList and getContent according to the official docs.

Frequently Asked Questions about content-island-client-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch content lists using the Content Island Client API?

Fetch content lists by instantiating the client and calling the getContentList method. This Skill provides production-ready code examples strictly derived from official documented behavior to ensure correct API usage without hallucinations.

What is the best way to map raw content to models with the Content Island API?

Map raw content to models using the mapContentToModel method. This Skill explains documented usage patterns for structuring fetched data, ensuring you apply transformations strictly within the official JavaScript client library guidelines.

How do I securely manage access tokens for the Content Island JavaScript client?

Manage access tokens securely by using environment variables as outlined in the official security guidelines. This Skill reinforces configuring the createClient method with environment-stored tokens to prevent misconfiguration.

Can I get a single content item instead of a full list with the Content Island API?

Retrieve a single content item by calling the getContent or getRawContent methods. This Skill details typical usage scenarios for fetching individual records directly from the official documentation.

Why should I use the official @content-island/api-client package instead of custom HTTP requests?

Using the official @content-island/api-client package prevents incorrect usage and hallucinations by confining guidance to documented methods like getContentList. Custom HTTP requests risk misconfiguration and bypass official security guidelines.