ワンクリックで
working-with-json-output-types
Guide to the JSON output types used by CLI commands, where they are defined, and how to find them
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Guide to the JSON output types used by CLI commands, where they are defined, and how to find them
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Add a new runtime implementation to the kdn runtime system
Guide to using the instances manager API for workspace management and project detection
Guide to understanding and working with the kdn runtime system architecture
Guide to configuring the Podman runtime including image setup, agent configuration, and containerfile generation
Conventional Commit Message Generator
Guide to the autoconf package — how secret detection, filtering, and the runner are wired together, and how to extend the system with new detector types
| name | working-with-json-output-types |
| description | Guide to the JSON output types used by CLI commands, where they are defined, and how to find them |
| argument-hint |
All JSON output types for CLI commands are defined in the external module github.com/openkaiden/kdn-api/cli/go. This module is the single source of truth for every JSON shape that kdn commands emit.
The module is listed in go.mod — check there for the current version:
grep 'openkaiden/kdn-api/cli/go' go.mod
After downloading (run make build if you haven't yet), the source is in the Go module cache. Use the version from go.mod to build the path:
$(go env GOPATH)/pkg/mod/github.com/openkaiden/kdn-api/cli/go@<version>/
The only file that matters is api.go in that directory — it contains every type definition. Read it to see the exact JSON field names and which fields are optional (omitempty):
cat $(go env GOPATH)/pkg/mod/github.com/openkaiden/kdn-api/cli/go@$(grep 'openkaiden/kdn-api/cli/go' go.mod | awk '{print $2}')/api.go