promptstack
Health Gecti
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 13 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Awesome prompt library . ChatGPT, Claude, Gemini prompts for coding, writing, marketing & more.
Promptstack
A practical, curated database of reusable AI prompts with a free static JSON API.
Quick Start · Browse Categories · JSON API · Resources · Daily Publishing · Contributing
What is Promptstack?
Promptstack is an open-source library of structured, reusable AI prompts with a static JSON API.
Core design:
- Parametrized instructions: Prompts use explicit
${variable}placeholders for repeatable inputs. - Task categories: 19 functional domains (Coding, System Design, Automation, Research, Documentation, etc.).
- Dual access: Prompts can be browsed on GitHub as Markdown or fetched via a static JSON API.
- Daily publishing pipeline: New entries are ingested automatically from an editorial Google Sheet via n8n.
Quick Start
No account or API key required.
- Find a category: Browse the category map.
- Open any prompt: Prompts live in individual
.mdfiles underprompts/{category}/{slug}.md. - Fill in variables: Replace placeholders like
${topic}or${language:Python}with your values. - Run in any LLM: Paste directly into Claude, ChatGPT, Gemini, or pass programmatically via API.
Variable Syntax
Prompts use standardized variable placeholders:
| Syntax | Description | Example |
|---|---|---|
${variable} |
Required variable to supply | Analyze the performance of ${code} |
${variable:default} |
Optional variable with default fallback | Target database: ${engine:PostgreSQL} |
Browse by Category
Categories
Curated prompts across all available categories — updated regularly.
| Category | Browse |
|---|---|
| Coding & Development | → prompts/coding-development |
| Image & Design | → prompts/image-design |
| Writing & Content | → prompts/writing-content |
| Marketing & Social | → prompts/marketing-social |
| Data & Analytics | → prompts/data-analytics |
| AI & Automation | → prompts/ai-automation |
| General | → prompts/general |
| Education & Learning | → prompts/education-learning |
| Security | → prompts/security |
| Business & Career | → prompts/business-career |
| Documentation | → prompts/documentation |
| Health & Wellness | → prompts/health-wellness |
| Research & Analysis | → prompts/research-analysis |
| Games & Fun | → prompts/games-fun |
| Sales & Business | → prompts/sales-business |
| Product & Strategy | → prompts/product-strategy |
| Travel & Places | → prompts/travel-places |
| Food & Recipes | → prompts/food-recipes |
| Philosophy & Humanities | → prompts/philosophy-humanities |
Repository Structure
promptstack/
├── README.md # Project overview, categories, and documentation
├── ARCHITECTURE.md # Data pipeline, canonical sources, and build flow
├── CONTRIBUTING.md # Guidelines for adding new prompts
├── LICENSE # MIT License
│
├── data/
│ ├── categories/ # CANONICAL SOURCE: 19 category JSON files written by n8n
│ ├── prompts.json # Synchronized master JSON array of all active prompts
│ ├── prompts.csv # UTF-8 spreadsheet export for Excel and pandas
│ ├── registry.jsonl # Machine-readable registry with stable IDs and hashes
│ └── registry-stats.json # Verified counts and category metadata
│
├── prompts/ # Human-readable Markdown prompts grouped by category
│ ├── coding-development/
│ ├── ai-automation/
│ ├── business-career/
│ └── ... (19 categories)
│
├── resources/ # Curated learning guides and references
│ ├── README.md # 5-step recommended learning path
│ ├── official-guides.md # OpenAI, Anthropic, and Google documentation
│ ├── courses.md # Hands-on interactive tutorials and courses
│ ├── books-and-papers.md # Textbooks, research papers, and whitepapers
│ └── prompt-patterns.md # Structural design patterns (CoT, few-shot, delimiters)
│
├── scripts/ # Zero-dependency Node.js build pipeline
│ ├── generate-tree.js # Rebuilds prompts/ and data/ from data/categories/
│ ├── build-registry.js # Generates canonical hashes and registry.jsonl
│ ├── validate-registry.js # Integrity and uniqueness verification
│ └── build-api.js # Compiles static JSON API under api/v1/
│
└── api/ # Static JSON API and web landing page
├── index.html # Developer portal and interactive endpoint explorer
└── v1/ # Public JSON endpoints served via GitHub Pages
Free JSON API
Promptstack serves a free static JSON API hosted via GitHub Pages. No registration, credentials, or rate limits.
Base URL: https://belyagoubiabdelilah.github.io/promptstack
| Endpoint | Description |
|---|---|
/v1/stats.json |
Global prompt count, category breakdown, and endpoint directory |
/v1/catalog.json |
Complete lightweight searchable catalog of all prompts with snippets |
/v1/categories/index.json |
List of all 19 categories with prompt counts and URLs |
/v1/categories/{folder}.json |
Complete list of all prompts in a category |
/v1/index.json |
Paginated list of all prompts (page 1) |
/v1/index/page-N.json |
Subsequent pagination pages |
/v1/prompts/{id}.json |
Individual prompt by stable ID |
Example API Usage
// Fetch all AI Automation prompts
const response = await fetch(
'https://belyagoubiabdelilah.github.io/promptstack/v1/categories/ai-automation.json'
);
const { prompts } = await response.json();
console.log(prompts[0].title, prompts[0].prompt);
# Discover categories via Python
import requests
data = requests.get('https://belyagoubiabdelilah.github.io/promptstack/v1/categories/index.json').json()
for cat in data['categories']:
print(f"{cat['name']}: {cat['prompt_count']} prompts")
Daily Publishing Pipeline
Promptstack is actively updated through an automated workflow:
- Review & Queuing: Prompts are screened for utility, English instructions, and unique value, then added to an editorial Google Sheet.
- Automated Publishing: A scheduled n8n workflow reads the next unposted row, appends it to
data/categories/{folder}.json, and marks the row as posted in the sheet. - Automated Build & CI: GitHub Actions detects the push, runs the build scripts, regenerates the browsable Markdown files, rebuilds the data exports, and refreshes the JSON API.
For detailed sequence diagrams and data flow, see ARCHITECTURE.md.
Learning Resources
Prompt engineering guides and reference documentation in resources/:
- Recommended 5-Step Learning Path
- Official Guides (OpenAI, Anthropic, Google)
- Hands-on Courses (DeepLearning.AI, Anthropic Tutorial)
- Books & Academic Papers (Chip Huyen, Prompt Report)
- Structural Prompt Patterns (Few-shot, CoT, Delimiters)
Contributing
We welcome community contributions. To submit new prompts or suggest improvements:
- Review CONTRIBUTING.md for quality criteria.
- Prompts must be in English, actionable, and include useful
${variable}placeholders where appropriate. - Submit single-prompt pull requests by editing the relevant file in
data/categories/{folder}.json.
License & Attribution
- License: MIT
- Attribution: Individual prompt authors and external sources are credited inline within each prompt record. All third-party contributions respect original open licenses.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi