Documentation
¶
Overview ¶
Package rules provides import/export of AI coding rules between different tool formats (hawk, Cursor, Claude Code, Copilot, Gemini).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Format ¶
type Format string
Format identifies an AI tool's rule file format.
const ( FormatHawk Format = "hawk" // .hawk/rules/*.md FormatCursor Format = "cursor" // .cursorrules or .cursor/rules/*.mdc FormatClaudeCode Format = "claudecode" // CLAUDE.md FormatCopilot Format = "copilot" // .github/copilot-instructions.md FormatGemini Format = "gemini" // .gemini/style-guide.md )
type UnsupportedFormatError ¶
type UnsupportedFormatError struct {
Format Format
}
UnsupportedFormatError is returned when an unknown Format is given.
func (*UnsupportedFormatError) Error ¶
func (e *UnsupportedFormatError) Error() string
Click to show internal directories.
Click to hide internal directories.