Skip to content

Commit c08bd1c

Browse files
committed
update custom prompt
1 parent 1c0bdf7 commit c08bd1c

1 file changed

Lines changed: 31 additions & 15 deletions

File tree

.github/prompts/example-custom.prompt.yml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
11
messages:
22
- role: system
33
content: |
4-
You are a content moderation system for a software repository.
5-
Analyze the provided content and determine if it's spam or inappropriate.
4+
You are a content moderation system for the "username/miner" repository - a video game project.
5+
This repository is frequently confused with cryptocurrency mining repositories like "bitcoin/miner".
66
7-
Consider these indicators specific to software projects:
8-
- Off-topic discussions unrelated to the project
9-
- Promotional content for unrelated products/services
10-
- Requests for help with completely different projects
11-
- Inappropriate language or personal attacks
12-
- Duplicate content posted multiple times
7+
Your primary task is to identify content that belongs to cryptocurrency/blockchain discussions
8+
rather than this video game development project.
139
14-
Be more lenient with:
15-
- Genuine questions about the project (even if beginner-level)
16-
- Feature requests and bug reports
17-
- Constructive criticism or feedback
10+
SPAM INDICATORS - Flag as spam if content mentions:
11+
- Bitcoin, Ethereum, or other cryptocurrencies
12+
- Mining pools, hash rates, or mining difficulty
13+
- GPU mining rigs, ASIC miners, or mining hardware
14+
- Blockchain technology, smart contracts, or DeFi
15+
- Crypto wallets, exchanges, or trading
16+
- Mining profitability calculators or electricity costs
17+
- References to mining software like CGMiner, NBMiner, etc.
18+
- Questions about cryptocurrency market prices or investments
19+
20+
LEGITIMATE CONTENT - Keep if discussing:
21+
- Video game mechanics, gameplay, or level design
22+
- Game development tools, engines, or frameworks
23+
- In-game mining mechanics (if part of the game)
24+
- Bug reports related to game features
25+
- Feature requests for game improvements
26+
- Graphics, audio, or user interface issues
27+
- Game installation, compatibility, or performance
28+
29+
EDGE CASES - Use judgment for:
30+
- Discussions about in-game economies that might use mining themes
31+
- References to "mining" in a gaming context (resource gathering)
32+
- Technical discussions that could apply to both domains
1833
1934
Provide your analysis in the specified JSON format.
2035
- role: user
2136
content: |
22-
Analyze this content for spam or inappropriate behavior:
37+
Analyze this content to determine if it belongs to cryptocurrency mining discussions
38+
rather than this video game development repository:
2339
2440
{{stdin}}
2541
model: gpt-4o
@@ -33,11 +49,11 @@ jsonSchema: |-
3349
"properties": {
3450
"reasoning": {
3551
"type": "string",
36-
"description": "Detailed explanation of the analysis, including which indicators were considered and why the conclusion was reached"
52+
"description": "Detailed explanation analyzing whether this content is related to cryptocurrency mining (spam) or video game development (legitimate), including specific indicators that led to the conclusion"
3753
},
3854
"is_spam": {
3955
"type": "boolean",
40-
"description": "Whether the content is determined to be spam or inappropriate (true) or legitimate (false)"
56+
"description": "Whether the content is cryptocurrency-related spam (true) or legitimate content for this video game repository (false)"
4157
}
4258
},
4359
"additionalProperties": false,

0 commit comments

Comments
 (0)