Documentation
¶
Overview ¶
Package thtsfiles provides embedded agent integration files for thts. This package exists at the repo root to enable go:embed access to instructions/, skills/, commands/, and agents/ directories.
The file structure supports multiple agent tools (Claude, Codex, OpenCode):
instructions/thts-instructions.md - Shared thts instructions for all agents
skills/{agent}/*.md - Agent-specific skills (flat for Claude)
skills/{agent}/*/SKILL.md - Agent-specific skills (subdirs for Codex/OpenCode)
commands/{agent}/*.md - Agent commands (prompts for Codex, global-only)
agents/{agent}/*.md - Agent definitions per tool
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ClaudeAgents embed.FS
ClaudeAgents contains embedded agent files for Claude Code.
var ClaudeCommands embed.FS
ClaudeCommands contains embedded command markdown files for Claude Code.
var ClaudeSkills embed.FS
ClaudeSkills contains embedded skill markdown files for Claude Code. Claude uses flat files: skills/claude/skill-name.md
var CodexAgents embed.FS
CodexAgents contains embedded agent files for Codex CLI.
var CodexCommands embed.FS
CodexCommands contains embedded prompt markdown files for Codex CLI. Codex calls these "prompts" and they're global-only.
var CodexSkills embed.FS
CodexSkills contains embedded skill files for Codex CLI. Codex uses subdirectories: skills/codex/skill-name/SKILL.md
var Instructions embed.FS
Instructions contains the shared thts-instructions.md file.
var OpenCodeAgents embed.FS
OpenCodeAgents contains embedded agent files for OpenCode.
var OpenCodeCommands embed.FS
OpenCodeCommands contains embedded command markdown files for OpenCode.
var OpenCodeSkills embed.FS
OpenCodeSkills contains embedded skill files for OpenCode. OpenCode uses subdirectories: skills/opencode/skill-name/SKILL.md
var Settings embed.FS
Settings contains embedded default settings files for agents. Files are named by agent type: codex.toml, opencode.json, etc. Claude settings are built dynamically and not embedded.
var Templates embed.FS
Templates contains embedded template files for thoughts/ documents. These are copied to thoughts/.templates/ during init.
Functions ¶
func GetDefaultSettings ¶ added in v0.2.0
GetDefaultSettings returns the default settings content for an agent. Returns empty string if no default settings exist (e.g., Claude builds dynamically).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
thts
command
|
|
|
internal
|
|
|
agents
Package agents provides multi-agent tool support for thts.
|
Package agents provides multi-agent tool support for thts. |
|
cmd/agents
Package agents provides the "thts agents" commands for managing agent tool integrations (Claude, Codex, OpenCode).
|
Package agents provides the "thts agents" commands for managing agent tool integrations (Claude, Codex, OpenCode). |
|
ui
Package ui provides consistent terminal output styling for the thts CLI.
|
Package ui provides consistent terminal output styling for the thts CLI. |