Documentation
¶
Overview ¶
Package kiro provides the Kiro IDE power adapter.
Kiro Powers are capability packages that bundle MCP servers, steering files, and hooks. They use dynamic keyword-based activation to load context efficiently.
Power structure:
power-name/
├── POWER.md # Frontmatter + onboarding + steering
├── mcp.json # MCP server configuration (optional)
└── steering/ # Workflow-specific guidance (optional)
├── workflow-a.md
└── workflow-b.md
Index ¶
Constants ¶
View Source
const ( // AdapterName is the identifier for this adapter. AdapterName = "kiro" // PowerFileName is the main power definition file. PowerFileName = "POWER.md" // MCPFileName is the MCP server configuration file. MCPFileName = "mcp.json" // SteeringDir is the directory for steering files. SteeringDir = "steering" )
Variables ¶
This section is empty.
Functions ¶
func InstallPower ¶
InstallPower installs a power to the user's powers directory.
func UserPowersPath ¶
UserPowersPath returns the path to the user's powers directory.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter converts between canonical Power and Kiro IDE power format.
func (*Adapter) GeneratePowerDir ¶
GeneratePowerDir creates a complete Kiro power directory structure.
type MCPConfig ¶
type MCPConfig struct {
MCPServers map[string]MCPServerConfig `json:"mcpServers"`
}
MCPConfig represents the mcp.json structure.
Click to show internal directories.
Click to hide internal directories.