How nonofficialmine/promptsklad works
promptsklad is a multilingual library of prompts, Claude Code skills/configurations, and real-world cases, published as a browsable site and exposed to AI agents through generated Markdown feeds. Visitors browse the homepage and section pages; contributors submit validated cards for moderation or contribute by pull request. The graph also preserves documented translation, likes, news, and AI-agent access capabilities. Several source excerpts are partial, so links for unsampled site features rely on README statements rather than inferred implementation calls.
Main entry points: SubmitForm.tsx Submission form · posts Material library · submit.ts Submission endpoint · LikeButton.tsx Like controls
Components 25
Library content
- Material library
posts - Installable skills
plugins
Browsing site
- Terminal homepage
site/components/TerminalHub.tsx - Home layout
theme/HomeHub.tsx - Site theme
theme/index.tsx - Locale and taxonomy
site/i18n.ts - Pages and feeds
site/posts-plugin.ts - Translation handling
site/translations.mjs - Like controls
site/components/LikeButton.tsx - AI-readable pages
rspress.config.ts
Contribution workflow
- Submission form
site/components/SubmitForm.tsx - Form examples
site/components/bodyExamples.ts - Saved drafts
site/components/draft.ts - Card validation
site/validate.mjs - Card formatting
site/post.mjs - Submission endpoint
api/submit.ts
Publishing services
- Likes endpoint
api/likes.ts - Like IDs and browser state
site/likes.mjs - Vercel analytics
Other components
- Visitor
- Contributor
- AI agent
- GitHub PR
- GitHub Models translation
- Upstash Redis
Connections 30
- Visitor → Terminal homepage: browses
README.md - Home layout → Terminal homepage: renders
theme/HomeHub.tsx - Site theme → Home layout: uses home layout
theme/index.tsx - Terminal homepage → Locale and taxonomy: uses labels
site/components/TerminalHub.tsx - Visitor → Material library: browses materials
README.md - Material library → Pages and feeds: generates pages
site/posts-plugin.ts - Pages and feeds → Locale and taxonomy: uses locale labels
site/posts-plugin.ts - Pages and feeds → Translation handling: selects translations
site/posts-plugin.ts - Translation handling → GitHub Models translation: translated via
README.md - Contributor → Submission form: submits card
README.md - Submission form → Form examples: offers examples
site/components/SubmitForm.tsx - Submission form → Saved drafts: saves drafts
site/components/SubmitForm.tsx - Submission form → Card validation: validates input
site/components/SubmitForm.tsx - Submission form → Card formatting: previews card
site/components/SubmitForm.tsx - Submission form → Submission endpoint: posts submission
README.md - Submission endpoint → Card validation: validates payload
api/submit.ts - Submission endpoint → Card formatting: renders card
api/submit.ts - Submission endpoint → GitHub PR: opens pull request
api/submit.ts - GitHub PR → Material library: merged content publishes
README.md - Contributor → Material library: contributes by pull request
README.md - Visitor → Like controls: likes posts
README.md - Site theme → Like controls: renders controls
theme/index.tsx - Like controls → Like IDs and browser state: tracks liked IDs
site/components/LikeButton.tsx - Like controls → Likes endpoint: requests counts
README.md - Likes endpoint → Like IDs and browser state: validates post IDs
api/likes.ts - Likes endpoint → Upstash Redis: stores counters
api/likes.ts - Visitor → AI-readable pages: requests AI-readable content
README.md - AI agent → AI-readable pages: reads generated Markdown
README.md - Visitor → Vercel analytics: site visits measured
README.md - Material library → Installable skills: documents installable skills
README.md