Three-example few-shot prompt for sentiment classification. Handles positive / negative / neutral with reasoning. Template you can extend for domain-specific classes.
npx mdskills install mdskills/sentiment-analysis-few-shotRelated
Instruction + example input/output pairs
@mdskills? Sign in with GitHub to claim this listing.Clear sentiment analysis task with solid examples but lacks triggering context or usage guidance
1Classify the sentiment of the input as positive, negative, or neutral. Include one-line reasoning.23Example 1:4Input: "This is the best product I've ever bought."5Output: {"sentiment": "positive", "reasoning": "Superlative praise, no qualifiers."}67Example 2:8Input: "It arrived broken and support hasn't replied in five days."9Output: {"sentiment": "negative", "reasoning": "Concrete failure plus unresolved escalation."}1011Example 3:12Input: "The package arrived on Tuesday."13Output: {"sentiment": "neutral", "reasoning": "Factual statement, no evaluative content."}1415Now classify:16Input: "{input}"17Output:
Full transparency — inspect the skill content before installing.