mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 17:47:16 +00:00
- Add 47 Agent Skills across 14 plugins following Anthropic's specification - Python (5): async patterns, testing, packaging, performance, UV package manager - JavaScript/TypeScript (4): advanced types, Node.js patterns, testing, modern JS - Kubernetes (4): manifests, Helm charts, GitOps, security policies - Cloud Infrastructure (4): Terraform, multi-cloud, hybrid networking, cost optimization - CI/CD (4): pipeline design, GitHub Actions, GitLab CI, secrets management - Backend (3): API design, architecture patterns, microservices - LLM Applications (4): LangChain, prompt engineering, RAG, evaluation - Blockchain/Web3 (4): DeFi protocols, NFT standards, Solidity security, Web3 testing - Framework Migration (4): React, Angular, database, dependency upgrades - Observability (4): Prometheus, Grafana, distributed tracing, SLO - Payment Processing (4): Stripe, PayPal, PCI compliance, billing - API Scaffolding (1): FastAPI templates - ML Operations (1): ML pipeline workflow - Security (1): SAST configuration - Restructure documentation into /docs directory - agent-skills.md: Complete guide to all 47 skills - agents.md: All 85 agents with model configuration - plugins.md: Complete catalog of 63 plugins - usage.md: Commands, workflows, and best practices - architecture.md: Design principles and patterns - Update README.md - Add Agent Skills banner announcement - Reduce length by ~75% with links to detailed docs - Add What's New section showcasing Agent Skills - Add Popular Use Cases with real examples - Improve navigation with Core Guides and Quick Links - Update marketplace.json with skills arrays for 14 plugins All 47 skills follow Agent Skills Specification: - Required YAML frontmatter (name, description) - Use when activation clauses - Progressive disclosure architecture - Under 1024 character descriptions
247 lines
3.2 KiB
Markdown
247 lines
3.2 KiB
Markdown
# Prompt Template Library
|
|
|
|
## Classification Templates
|
|
|
|
### Sentiment Analysis
|
|
```
|
|
Classify the sentiment of the following text as Positive, Negative, or Neutral.
|
|
|
|
Text: {text}
|
|
|
|
Sentiment:
|
|
```
|
|
|
|
### Intent Detection
|
|
```
|
|
Determine the user's intent from the following message.
|
|
|
|
Possible intents: {intent_list}
|
|
|
|
Message: {message}
|
|
|
|
Intent:
|
|
```
|
|
|
|
### Topic Classification
|
|
```
|
|
Classify the following article into one of these categories: {categories}
|
|
|
|
Article:
|
|
{article}
|
|
|
|
Category:
|
|
```
|
|
|
|
## Extraction Templates
|
|
|
|
### Named Entity Recognition
|
|
```
|
|
Extract all named entities from the text and categorize them.
|
|
|
|
Text: {text}
|
|
|
|
Entities (JSON format):
|
|
{
|
|
"persons": [],
|
|
"organizations": [],
|
|
"locations": [],
|
|
"dates": []
|
|
}
|
|
```
|
|
|
|
### Structured Data Extraction
|
|
```
|
|
Extract structured information from the job posting.
|
|
|
|
Job Posting:
|
|
{posting}
|
|
|
|
Extracted Information (JSON):
|
|
{
|
|
"title": "",
|
|
"company": "",
|
|
"location": "",
|
|
"salary_range": "",
|
|
"requirements": [],
|
|
"responsibilities": []
|
|
}
|
|
```
|
|
|
|
## Generation Templates
|
|
|
|
### Email Generation
|
|
```
|
|
Write a professional {email_type} email.
|
|
|
|
To: {recipient}
|
|
Context: {context}
|
|
Key points to include:
|
|
{key_points}
|
|
|
|
Email:
|
|
Subject:
|
|
Body:
|
|
```
|
|
|
|
### Code Generation
|
|
```
|
|
Generate {language} code for the following task:
|
|
|
|
Task: {task_description}
|
|
|
|
Requirements:
|
|
{requirements}
|
|
|
|
Include:
|
|
- Error handling
|
|
- Input validation
|
|
- Inline comments
|
|
|
|
Code:
|
|
```
|
|
|
|
### Creative Writing
|
|
```
|
|
Write a {length}-word {style} story about {topic}.
|
|
|
|
Include these elements:
|
|
- {element_1}
|
|
- {element_2}
|
|
- {element_3}
|
|
|
|
Story:
|
|
```
|
|
|
|
## Transformation Templates
|
|
|
|
### Summarization
|
|
```
|
|
Summarize the following text in {num_sentences} sentences.
|
|
|
|
Text:
|
|
{text}
|
|
|
|
Summary:
|
|
```
|
|
|
|
### Translation with Context
|
|
```
|
|
Translate the following {source_lang} text to {target_lang}.
|
|
|
|
Context: {context}
|
|
Tone: {tone}
|
|
|
|
Text: {text}
|
|
|
|
Translation:
|
|
```
|
|
|
|
### Format Conversion
|
|
```
|
|
Convert the following {source_format} to {target_format}.
|
|
|
|
Input:
|
|
{input_data}
|
|
|
|
Output ({target_format}):
|
|
```
|
|
|
|
## Analysis Templates
|
|
|
|
### Code Review
|
|
```
|
|
Review the following code for:
|
|
1. Bugs and errors
|
|
2. Performance issues
|
|
3. Security vulnerabilities
|
|
4. Best practice violations
|
|
|
|
Code:
|
|
{code}
|
|
|
|
Review:
|
|
```
|
|
|
|
### SWOT Analysis
|
|
```
|
|
Conduct a SWOT analysis for: {subject}
|
|
|
|
Context: {context}
|
|
|
|
Analysis:
|
|
Strengths:
|
|
-
|
|
|
|
Weaknesses:
|
|
-
|
|
|
|
Opportunities:
|
|
-
|
|
|
|
Threats:
|
|
-
|
|
```
|
|
|
|
## Question Answering Templates
|
|
|
|
### RAG Template
|
|
```
|
|
Answer the question based on the provided context. If the context doesn't contain enough information, say so.
|
|
|
|
Context:
|
|
{context}
|
|
|
|
Question: {question}
|
|
|
|
Answer:
|
|
```
|
|
|
|
### Multi-Turn Q&A
|
|
```
|
|
Previous conversation:
|
|
{conversation_history}
|
|
|
|
New question: {question}
|
|
|
|
Answer (continue naturally from conversation):
|
|
```
|
|
|
|
## Specialized Templates
|
|
|
|
### SQL Query Generation
|
|
```
|
|
Generate a SQL query for the following request.
|
|
|
|
Database schema:
|
|
{schema}
|
|
|
|
Request: {request}
|
|
|
|
SQL Query:
|
|
```
|
|
|
|
### Regex Pattern Creation
|
|
```
|
|
Create a regex pattern to match: {requirement}
|
|
|
|
Test cases that should match:
|
|
{positive_examples}
|
|
|
|
Test cases that should NOT match:
|
|
{negative_examples}
|
|
|
|
Regex pattern:
|
|
```
|
|
|
|
### API Documentation
|
|
```
|
|
Generate API documentation for this function:
|
|
|
|
Code:
|
|
{function_code}
|
|
|
|
Documentation (follow {doc_format} format):
|
|
```
|
|
|
|
## Use these templates by filling in the {variables}
|