From 1f2fa9d03e3daadab9d98ea106cb5960e95a4341 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 Oct 2025 00:32:03 -0500 Subject: [PATCH] Add docs section to AGENTS.md --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 39bd3aa..bf0d117 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,6 +15,7 @@ This project is a Nostr client application built with React 18.x, TailwindCSS 3. ## Project Structure +- `/docs/`: Specialized documentation for implementation patterns and features - `/src/components/`: UI components including NostrProvider for Nostr integration - `/src/components/ui/`: shadcn/ui components (48+ components available) - `/src/components/auth/`: Authentication-related components (LoginArea, LoginDialog, etc.) @@ -98,6 +99,16 @@ The project uses shadcn/ui components located in `@/components/ui`. These are un These components follow a consistent pattern using React's `forwardRef` and use the `cn()` utility for class name merging. Many are built on Radix UI primitives for accessibility and customized with Tailwind CSS. +## Documentation + +The project includes a **`docs/`** directory containing specialized documentation for specific implementation tasks. You are encouraged to add new documentation files to help future development. + +- **`docs/AI_CHAT.md`**: Read when building any AI-powered chat interfaces, implementing streaming responses, or integrating with the Shakespeare API. + +- **`docs/NOSTR_COMMENTS.md`**: Read when implementing comment systems, adding discussion features to posts/articles, or building community interaction features. + +- **`docs/NOSTR_INFINITE_SCROLL.md`**: Read when building feed interfaces, implementing pagination for Nostr events, or creating social media-style infinite scroll experiences. + ## System Prompt Management The AI assistant's behavior and knowledge is defined by the AGENTS.md file, which serves as the system prompt. To modify the assistant's instructions or add new project-specific guidelines: