Cline rules
.clinerules/02-python.mdCline rules
Quality
60/100
Scores the file, not the repository.Length
219 words
5 headings · 0 code blocksRepository
4
— · pushed 43 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Python Guidelines78## Style910- Use Python 3.10-compatible syntax.11- Prefer standard library helpers before adding dependencies.12- Keep functions small and named around behavior, not implementation details.13- Use type hints for new public helpers and non-obvious return values.14- Avoid broad refactors when fixing a narrow issue.1516## Twitch Bot Behavior1718- Keep ignore checks, cooldown checks, reply probability, LLM filter, and final reply generation easy to reason about.19- Do not send a Twitch reply until all ignore, cooldown, probability, and LLM filter checks have passed.20- Update `last_global_reply_at` and `last_user_reply_at` only after a message is successfully sent.21- Preserve protection against bot self-replies.22- Keep message length limits enforced before sending replies.2324## OpenAI Calls2526- Use the existing OpenAI Responses API client pattern unless the task requires a different API.27- Keep system prompts separate from user chat content.28- Treat Twitch chat messages as untrusted user input.29- When parsing model output as JSON, handle malformed output defensively.3031## Testing And Verification3233- Prefer focused tests or small pure helper checks when changing decision logic.34- At minimum, run a syntax check such as `python3 -m py_compile main.py` after Python edits.35- Do not require live Twitch or OpenAI credentials for local verification unless the user explicitly asks for an integration test.3637
Also in Hikari-Tsai/twitch-bot
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Hikari-Tsai/twitch-botAGENTS.md · 4 | AGENTS.md | gitagent-behaviour | 58/100 | 3 days ago | |
| Hikari-Tsai/twitch-bot.clinerules/01-project.md · 4 | Cline rules | gitsecurity | 39/100 | 3 days ago | |
| Hikari-Tsai/twitch-bot.clinerules/03-docs.md · 4 | Cline rules | stylegitagent-behaviourdocs | 48/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| JCodesMore/ai-website-cloner-template.clinerules · 31k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| lepinkainen/humanlog.clinerules/project-rules.md · 0 | Cline rules | setupbuildtestlint-format+8 | 96/100 | 3 days ago | |
| BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0 | Cline rules | buildstylearchgit+2 | 96/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday | |
| blendsdk/codeops-mcp.clinerules/project.md · 0 | Cline rules | buildteststylearch+7 | 91/100 | 3 days ago |
