ワンクリックで
redaxios
HTTP clients with redaxios. Use when making HTTP requests, building API clients, or fetching external services in TypeScript.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
HTTP clients with redaxios. Use when making HTTP requests, building API clients, or fetching external services in TypeScript.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Skill writing principles. Use when creating, editing, or reviewing any SKILL.md.
Skill rule extraction and creation. Use when the user says /learn.
Kysely database queries. Use when writing, reviewing, or debugging Kysely selects, mutations, joins, transactions, filters, or aggregates.
Frontend components and Tailwind. Use when creating, reviewing, refactoring, splitting, or organizing React components, shared components, component folders, or Tailwind classes.
TanStack Query in React. Use when implementing or reviewing queries, mutations, invalidation, or query hooks.
Lint and optimize existing skills. Use when the user says /skill-linter.
| name | redaxios |
| description | HTTP clients with redaxios. Use when making HTTP requests, building API clients, or fetching external services in TypeScript. |
Import as axios. Always call with one object argument, never .get() / .post().
import axios from "redaxios";
const { data } = await axios<ResponseType>({
method: "GET",
baseURL: "https://api.example.com",
url: "/endpoint",
params: { key: "value" },
headers: { Authorization: "Bearer token" },
});
Inline response generics are fine for trivial responses. Use a named type when the response has domain meaning, is reused, has nested objects/lists, or no longer fits as a short one-line shape.
// Good
const { data } = await axios<SearchResponse>({ ... });
type SearchResponse = {
results: { id: number; title: string; year: number }[];
total: number;
};
// Bad: complex response inline in the generic
const { data } = await axios<{
results: { id: number; title: string; year: number }[];
total: number;
}>({ ... });