Agent skill · software engineering · aiskillstore

add-core-function

Add new core business logic functions to Catalyst-Relay. Use when creating pure functions, ADT operations, or library-consumable code.

Why this skill is useful

Provides specific patterns and conventions for structuring core business logic functions in Catalyst-Relay, which the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Adding Core Functions When to Use Creating new ADT operations (CRAUD, discovery, preview) Adding pure business logic functions Implementing library-consumable functionality One Function Per File Each core function gets its own file. No multi-function files. Location: src/core/{domain}/{function}.ts Import Hierarchy Files must follow this hierarchy (no circular dependencies): Relative path patterns: ../types — shared types ../helpers — shared helpers ../../utils/xml — core utilities ../../../types/result — global types Function File Pattern Return Type Convention Use Go-style error tuples: Barrel Exports Add to index.ts for public API: Internal Helpers Helpers not exported from barrel go in helpers.ts: Checklist

How to use it

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

@skills aiskillstore/add-core-function

View the source on GitHub

Browse the @skills marketplace