Documentation
¶
Overview ¶
Package mod ships the Claude Code mods jaira brings along, compiled into the binary the way the roles are.
A mod is a plugin folder — .claude-plugin/plugin.json, hooks/, types/ — and Claude Code loads a plugin folder it finds in a skills directory by itself: ~/.claude/skills/<name> in every session, a project's .claude/skills/<name> once the workspace is trusted. So 'jaira roles install' writes each mod beside the roles, and nothing else is needed for it to load: no marketplace, no flag, no new command. Without that install nothing changes for anybody.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mod ¶
type Mod struct {
// ID is the folder name, which is also the plugin's name in its manifest.
ID string
// Files are paths relative to the mod's folder, sorted. Its tests are
// left out: they run here, with 'claude plugin test', not where it is
// installed. So is what Claude Code generated into the folder.
Files []string
}
Mod is one plugin folder and the files that are installed of it.
Click to show internal directories.
Click to hide internal directories.