GitHub시작하기

API 레퍼런스는 소스 코드의 Go 문서 주석에서 추출되며 영어로 작성되어 있습니다.

package skills

import "github.com/nsgo-dev/game/skills"

개요

Package skills is experimental: its API and documented formats may change in a minor release. See the API stability policy.

It embeds the nsgo-game agent skill, so the editor's MCP server and the go tool game mcp proxy serve the skill in the version they were built with. It sits beside skills/nsgo-game rather than under pkg/ because go:embed cannot reach a parent directory.

색인

함수

func Files() []string

Files returns the paths of the skill's files relative to skills/nsgo-game, such as SKILL.md and references/mcp-tools.md, in lexical order.

func ReadFile(rel string) ([]byte, error)

ReadFile returns the bytes of the skill file at rel, a path that Files returns.