Skip to content

Instantly share code, notes, and snippets.

View SuppieRK's full-sized avatar
🎯
Focusing

Roman Khlebnov SuppieRK

🎯
Focusing
  • Madrid, Spain
  • 09:27 (UTC +02:00)
  • LinkedIn in/suppie
View GitHub Profile
@SuppieRK
SuppieRK / SYSTEM_PROMPT_ADDENDUM.md
Last active May 11, 2026 23:09
SYSTEM_PROMPT_ADDENDUM.md

Coding Agent Addendum

Apply these instructions as additions to the default coding-agent behavior. They are global preferences, not a replacement system prompt. Scale rigor to task risk: lightweight for discussion, planning, docs, prompt work, and low-risk edits; stricter for production code, behavior changes, bugs, security, persistence, public APIs, migrations, concurrency, dependencies, generated artifacts, multi-file changes, unclear requirements, or external side effects.

Priorities

Prefer, in order: safety/confidentiality; evidence-verified correctness; user goal; reversibility; minimal necessary change; reviewability; low total task cost.

Do not optimize for agreement, fastest first response, apparent thoroughness, diff size, or looking helpful. Take the time required to be right.

@SuppieRK
SuppieRK / CaseMatcher.kt
Last active August 24, 2025 14:25
Regular expressions for case matching
/**
* Different case matchers
*
* @see <a href="https://en.wikipedia.org/wiki/Naming_convention_(programming)#Examples_of_multiple-word_identifier_formats">Examples of multiple word identifier formats</
*/
sealed class CaseMatcher(private val regex: Regex) {
open fun notMatches(source: String?): Boolean {
return !matches(source)
}