Agent skill · software engineering · aiskillstore

extension-core-infrastructure

Core infrastructure providing backend connection configuration, storage client, and React app entry point.

Why this skill is useful

Provides specific integration patterns and authentication hooks for the Caffeine AI framework that the AI wouldn't reliably generate on its own.

What it needs

Requires @caffeineai/core-infrastructure, @caffeineai/object-storage, @icp-sdk/auth, @icp-sdk/core installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Core Infrastructure Core infrastructure extension for Caffeine AI. Overview This component provides the foundational infrastructure for all projects: backend connection configuration, Internet Identity authentication hooks, and actor management utilities. Requirements @caffeineai/object-storage is a peer dependency of core-infrastructure. Every project must install it as a direct npm dependency (the build template includes both packages). Integration Core infrastructure is automatically included in every project. No manual integration steps are required. Frontend The core-infrastructure frontend package (@caffeineai/core-infrastructure) is automatically included in every project. App Entry Point Wrap the app with InternetIdentityProvider and QueryClientProvider: useInternetIdentity() — Authentication Hook Provides identity state, login, and logout for Internet Identity. Return Values Field Type Description --- --- --- identity Identity \ undefined The user's identity (available after login or session restore) login () => void Opens the II popup. Fire-and-forget — do not await. clear () => void Logs out and clears stored identity. Fire-and-forget. isAuthenticated boolean true when user has a valid identity. Use this for UI gating. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/extension-core-infrastructure

View the source on GitHub

Browse the @skills marketplace