Documentation
¶
Overview ¶
Package summary provides automatic generation of CLAUDE.summary.md
Index ¶
Constants ¶
View Source
const ( // SourceFile is the full CLAUDE.md filename SourceFile = "CLAUDE.md" // SummaryFile is the generated summary filename SummaryFile = "CLAUDE.summary.md" )
View Source
const MaxLinesPerSection = 30
MaxLinesPerSection limits lines per section to keep summary concise
Variables ¶
View Source
var SectionsToExtract = []string{
"プロジェクト概要",
"チームメンバー",
"コーディング規約",
"通信規約",
"エスカレーションルール",
"Worktree運用",
}
SectionsToExtract defines which sections to include in summary These are H2 headers (## Section Name)
Functions ¶
func EnsureUpToDate ¶
EnsureUpToDate regenerates summary if needed
func ExtractSections ¶
ExtractSections extracts specified H2 sections from markdown content
func NeedsRegeneration ¶
NeedsRegeneration checks if CLAUDE.summary.md needs to be regenerated Returns true if: - CLAUDE.md exists and CLAUDE.summary.md doesn't exist - CLAUDE.md is newer than CLAUDE.summary.md
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.