mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
Replace docs with skills
This commit is contained in:
5 files changed
+23
-15
No files matched your search
@@ -1,4 +1,9 @@
|
||||
### AI Integration with Shakespeare API
|
||||
---
|
||||
name: ai-chat
|
||||
description: Build AI-powered chat interfaces, implement streaming responses, or integrate with Shakespeare AI.
|
||||
---
|
||||
|
||||
# AI Integration with Shakespeare API
|
||||
|
||||
Use the `useShakespeare` hook for AI chat completions with Nostr authentication. The API dynamically provides available models, so you should query them at runtime rather than hardcoding model names.
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
---
|
||||
name: nostr-comments
|
||||
description: Implement Nostr comment systems, add discussion features to posts/articles, or build community interaction features.
|
||||
---
|
||||
|
||||
# Adding Nostr Comments Sections
|
||||
|
||||
The project includes a complete commenting system using NIP-22 (kind 1111) comments that can be added to any Nostr event or URL. The `CommentsSection` component provides a full-featured commenting interface with threaded replies, user authentication, and real-time updates.
|
||||
@@ -1,4 +1,9 @@
|
||||
### Direct Messaging on Nostr
|
||||
---
|
||||
name: nostr-direct-messages
|
||||
description: Implement Nostr direct messaging features, build chat interfaces, or work with encrypted peer-to-peer communication (NIP-04 and NIP-17).
|
||||
---
|
||||
|
||||
# Direct Messaging on Nostr
|
||||
|
||||
This project includes a complete direct messaging system supporting both NIP-04 (legacy) and NIP-17 (modern, more private) encrypted messages with real-time subscriptions, optimistic updates, and a persistent cache-first local storage.
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
### Infinite Scroll for Nostr Feeds
|
||||
---
|
||||
name: nostr-infinite-scroll
|
||||
description: Build feed interfaces, implement pagination for Nostr events, or create social media-style infinite scroll experiences.
|
||||
---
|
||||
|
||||
# Infinite Scroll for Nostr Feeds
|
||||
|
||||
For feed-like interfaces, implement infinite scroll using TanStack Query's `useInfiniteQuery` with Nostr's timestamp-based pagination:
|
||||
|
||||
@@ -104,18 +104,6 @@ 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.
|
||||
|
||||
- **`docs/NOSTR_DIRECT_MESSAGES.md`**: Read when implementing direct messaging features, building chat interfaces, or working with encrypted peer-to-peer communication (NIP-04 and NIP-17).
|
||||
|
||||
## 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:
|
||||
|
||||
Reference in new issue
Block a user