AgentSkillsCN

kakutey-healthcheck

检查 Kakutey 后端 API(localhost:8000)和前端(localhost:4200)是否正常运行。在执行记账操作前,可通过此步骤验证应用是否已就绪。

SKILL.md
--- frontmatter
name: kakutey-healthcheck
description: Check if the kakutey backend API (localhost:8000) and frontend (localhost:4200) are running. Use to verify the app is ready before performing bookkeeping operations.

kakutey-healthcheck

kakutey のバックエンド API (port 8000) とフロントエンド (port 4200) の状態を確認する。

前提条件

kakutey CLI がインストールされている必要があります。

bash
npm install -g kakutey-cli

使い方

bash
kakutey health

出力例

全て正常:

code
Backend  (port 8000): OK - API responding
Frontend (port 4200): OK - listening

バックエンドが未起動(ポートも空き):

code
Backend  (port 8000): NG - nothing listening
Frontend (port 4200): OK - listening

ポートは使用中だが API が応答しない:

code
Backend  (port 8000): NG - port in use but API not responding (HTTP 000)
Frontend (port 4200): OK - listening