docs(ui): add AGENTS.md files for component documentation

This commit is contained in:
Prad Nukala
2026-06-30 13:05:12 -04:00
parent 95ea73878a
commit f701c951e4
10 changed files with 250 additions and 4 deletions
+25
View File
@@ -0,0 +1,25 @@
<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-06-30 | Updated: 2026-06-30 -->
# project
## Purpose
Rendering for the `projects` collection.
## Key Files
| File | Description |
|------|-------------|
| `Project.astro` | Polymorphic component for a project. In `isPreview` mode it renders a compact card linking to `/projects/<id>`; in full mode it shows the title, date, `link`/`repo` buttons, rendered body, and `ExperienceTags`. |
## For AI Agents
### Working In This Directory
- Prop is `project: CollectionEntry<"projects">` (note: the source dir is `src/content/projects`).
- Used by `src/pages/projects/[...page].astro` (preview list), `[...slug].astro` (full), and the homepage.
## Dependencies
### Internal
- `@/components/ExperienceTags.astro`, `@/components/FormattedDate.astro`.
<!-- MANUAL: -->