Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SectionOrder = map[string]int{
"project_context": 1,
"common_commands": 2,
"stack_patterns": 3,
"component_dependencies": 4,
"naming_conventions": 5,
"frequent_issues": 6,
"infrastructure_patterns": 7,
"component_catalog": 8,
"team_conventions": 9,
"recent_learnings": 10,
}
SectionOrder defines the canonical order for sections in ATMOS.md.
View Source
var SectionTitles = map[string]string{
"project_context": "Project Context",
"common_commands": "Common Commands",
"stack_patterns": "Stack Patterns",
"component_dependencies": "Component Dependencies",
"naming_conventions": "Naming Conventions",
"frequent_issues": "Frequent Issues & Solutions",
"infrastructure_patterns": "Infrastructure Patterns",
"component_catalog": "Component Catalog Structure",
"team_conventions": "Team Conventions",
"recent_learnings": "Recent Learnings",
}
SectionTitles maps section keys to display titles.
Functions ¶
func ExtractSection ¶
ExtractSection extracts a specific section from markdown content by key.
func MergeContent ¶
MergeContent intelligently merges new content into existing section content. This preserves manual edits while adding AI-generated updates.
Types ¶
type Config ¶
Config holds configuration for project instructions.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default instructions configuration.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages project instructions (ATMOS.md) lifecycle.
func NewManager ¶
NewManager creates a new project instructions manager.
func (*Manager) GetContext ¶
GetContext returns the full ATMOS.md content formatted for AI context.
Click to show internal directories.
Click to hide internal directories.