Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectScanner ¶
type ProjectScanner struct {
// contains filtered or unexported fields
}
ProjectScanner extracts signals from an existing project directory.
func NewProjectScanner ¶
func NewProjectScanner() *ProjectScanner
NewProjectScanner creates a new ProjectScanner with sensible defaults.
func (*ProjectScanner) Scan ¶
func (s *ProjectScanner) Scan(projectPath string) (*ScanResult, error)
Scan analyzes the project at the given path and returns extracted signals.
type ScanResult ¶
type ScanResult struct {
Language string // Detected primary language
Framework string // Detected framework (if any)
Dependencies []string // Key dependencies from manifest
DirectoryTree string // Directory structure (limited depth)
README string // README content (truncated)
ExistingContext map[string]string // Existing context files (AGENTS.md, CLAUDE.md, etc.)
ConfigSignals []string // Detected config signals (CI, Docker, etc.)
}
ScanResult holds the extracted signals from a project directory.
func (*ScanResult) FormatAsDescription ¶
func (r *ScanResult) FormatAsDescription() string
FormatAsDescription formats the scan result as structured text suitable for LLM input.
Click to show internal directories.
Click to hide internal directories.