Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
TypeScript/JavaScript API client for the Retreaver Core API. This is an auto-generated OpenAPI client with manually written unit tests. The source code in
api/, models/, base.ts, common.ts, configuration.ts, and index.ts is generated by OpenAPI Generator and should not be edited manually.
npm run build # Build both CommonJS (dist/) and ES modules (dist/esm/) npm run prepare # Same as build, runs automatically on install
npm test # Run tests in watch mode npm run test:run # Run tests once npm run test:coverage # Run tests with coverage report npm run test:ui # Run tests with Vitest UI
npm run lint # Lint TypeScript files npm run lint:fix # Auto-fix linting issues npm run format # Format code with Prettier npm run format:check # Check formatting without modifying npm run typecheck # Type check without building
api/, models/, base.ts, common.ts, configuration.ts/* tslint:disable */ and OpenAPI Generator headersBaseAPI in base.ts handles Axios instance and configurationAxiosParamCreator - builds request parametersApiFp - functional programming layerApi class - object-oriented wrapper extending BaseAPIdist/) and ES modules (dist/esm/)index.ts exports from api.ts, configuration.ts, and models/index.tsapi_keycompany_id parameter for multi-company accessnew Configuration({ apiKey: 'your_api_key' })tests/setup/test-setup.ts runs before teststests/mocks/http-mocks.ts provides setupHttpMocks(), mockGet(), verifyRequest()tests/mocks/mock-data.ts contains example API responses*.test.ts in tests/unit/ subdirectories/calls.json - legacy endpoint (CallsApi)/api/v2/calls.json - enhanced with additional fields (CallsV2Api)../../../api/..., not relative within src)tests/mocks/http-mocks.tsindex.ts or models/index.tslint-staged (ESLint + Prettier on staged files)npm run test:run (all tests must pass)This client is published to npm as
@berrydev-ai/retreaver-api-client and provides typed access to:
The API uses pagination (25 results per page via Link header) and supports both JSON and XML formats.