Documentation
¶
Overview ¶
Package agents promotes a Claude specific instruction file to the portable AGENTS.md convention.
The content `claude /init` writes is useful to every coding agent, only its name and a few boilerplate phrases are Claude specific. Migrate moves the file to AGENTS.md and leaves pointers behind for the tools looking for their own filename.
Index ¶
Constants ¶
const ( AgentsFile = "AGENTS.md" ClaudeFile = "CLAUDE.md" CopilotFile = ".github/copilot-instructions.md" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reference ¶
A Reference is a line of AGENTS.md still mentioning Claude after the boilerplate rewrites
func Migrate ¶
Migrate promotes CLAUDE.md to AGENTS.md and leaves pointers behind.
CLAUDE.md is always rewritten, it is the source of the migration. AGENTS.md and the copilot instructions are only overwritten when Force is set.
The returned references are the lines of AGENTS.md still mentioning Claude, they are reported rather than guessed at.