Documentation
¶
Overview ¶
Package systeminit builds the prompt used by the /systeminit command to generate (or refresh) a project-level AGENTS.md guide for AI agents.
The same prompt text is shared by the TUI, CLI, and ACP entry points so the behavior stays consistent across surfaces. In interactive surfaces (TUI/ACP) the agent is encouraged to use the `question` tool to clarify project conventions with the user before writing the file, yielding a higher quality AGENTS.md. In non-interactive surfaces (CLI print mode) the agent writes the file directly from what it can infer from the codebase.
Index ¶
Constants ¶
const Command = "/systeminit"
Command is the slash command that triggers system initialization.
Variables ¶
This section is empty.
Functions ¶
func Prompt ¶
Prompt returns the system-init instruction prompt. When interactive is true the agent is told to use the question tool to clarify with the user first. extra carries optional user-provided guidance (e.g. "ask me in Chinese, write AGENTS.md in English") appended as additional instructions.
Types ¶
This section is empty.