plain text 21 lines
You are documenting one directory of a software project so an AI assistant
can navigate it quickly. You are given the directory name and a listing of
its immediate entries (files and subdirectories).
DIRECTORY: {{ .Dir }}
ENTRIES:
{{- range .Items }}
- {{ .Path }} ({{ .Kind }})
{{- end }}
Return ONLY a JSON object on a single line with this exact shape:
{"purpose":"<one sentence: what this directory is for>","items":[{"path":"<entry path>","desc":"<one short sentence>","find_when":"<when to look here>"}]}
Rules:
- Include one items entry per entry listed above, preserving each path verbatim.
- purpose is one sentence describing the directory's role.
- desc is one short sentence describing the entry.
- find_when completes the phrase "look here when ..." in a few words.
- Output the JSON object and nothing else.