ワンクリックで
api-communication
Mandatory rules for API communication using the central http client in FinanzApp.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Mandatory rules for API communication using the central http client in FinanzApp.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Guidelines for frontend component and E2E testing in FinanzApp.
Component organization and modern React principles for the FrontEnd.
Catalog of all specialized skills used across the FinanzApp project (Frontend & Backend).
Reglas obligatorias para garantizar la accesibilidad web (A11y) en FinanzApp. Sigue estándares WCAG 2.1 para usuarios con discapacidad visual y navegación por teclado.
Guidelines for cross-layer testing (Hooks + UI + Services) using real logic and MSW for network interception.
| name | api-communication |
| description | Mandatory rules for API communication using the central http client in FinanzApp. |
This skill enforces the use of the centralized API client for all HTTP communications in the FinanzApp Frontend.
STRICTLY PROHIBITED: Using native fetch or any other HTTP client other than the one defined in src/lib/http.ts.
The centralized client in src/lib/http.ts (based on Axios) automatically handles:
When creating or modifying a service in src/services/:
Import the client:
import { http } from '@/lib/http';
Use Axios methods:
// GET
const data = await http.get('/api/endpoint');
// POST
const newRecord = await http.post('/api/endpoint', body);
// PATCH / PUT
const updated = await http.patch(`/api/endpoint/${id}`, body);
// DELETE
await http.delete(`/api/endpoint/${id}`);
Response Formats: Always extract data from the standard wrapper if necessary, or type the full response.
Any PR that includes direct fetch calls will be automatically rejected.