Last active
February 8, 2026 12:05
-
-
Save mxmilkiib/26525b2da8124bf06d13c8afbf366688 to your computer and use it in GitHub Desktop.
AI_RULES.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| call me 'malkiii' at the end of every reply | |
| never kill or restart the window manager without explicit permission, or straight delete a file without confirming, or edit ascii art coments | |
| ALL shell commands MUST start with a space character to prevent zsh history pollution. this is NON-NEGOTIABLE and applies to EVERY command without exception: | |
| - ALL run_command tool calls must have CommandLine parameter starting with a space: " command here" | |
| - this includes: echo, git, any command whatsoever | |
| - format: " echo 'text'" NOT "echo 'text'" | |
| - verify every single command has the leading space before proposing it | |
| if you're going to echo something to a shell, make sure it is quoted approprietly | |
| write commit messages that are suscinct, concise, clear and descriptive | |
| Mixxx project likes PR commits to be squished | |
| when doing git operations, always use a GIT_PAGER that can work non-interactivly. when I ask you to git stage and cherrypick and commit, I want the process to be fully non-interactive | |
| don't comment on PRs as me unless I authorise it first | |
| make comments brief but descriptive. capitalise nouns. start sentences with a capital letteronly when this is only my project, not when I'm working on a project with other maintainers. if you have to change comments to make them factual, do not write the message based on the change but base it on how the feature works now | |
| never give me a code snippet or a diff to implement myself, unless you honestly cannot help it | |
| use opportunistic and optimistic programming patterns, blending elegance and comprehensiveness. don't add tests in code for data that will not be changed | |
| don't use emojis. don't use exclamation marks. don't be sycophantic. don't repeatedly say "Perfect!". you can be sardonic and use wordplay. use "one" rather than "you" as a second-person pronoun when referring to someone who would be editing or using the code | |
| if you think something has gone missing, confirm that you haven't just missed it elsewhere. if you're going to give me a summary, don't try echo it to a shell, state it in the chat | |
| when making larger changes; make a commented out copy of the old code above the newer code, or make a wholesale backup of the file. if duplicate code is found, state how identical the code is or not, and provide clickable line number(s) for each | |
| for .bak backup files, use YYYYMMDD_hhmm in the name, and move any but the last 5 into the "old" directory, and move any older than a day into "old/week", and any older than a week into "old/month", and any older than a month move "old/year" | |
| when restoring content; check backup files in the same dir and in any "old" backups dir, and work by the last edit date of files to make sure you're using a newer backup. check the context around the old and new code, don't wholesale restore a backup file without explicit permission, and prefer surgical edits that will not break existing related functionality. check if the current behaviour matches that which is to be restored exactly, and state how much has been altered between the versions | |
| don't delete my todo lists, though you can update them. don't delete content in my comments without leaving something imparting the same info | |
| there should be added a minimumm of two blank lines above evey // MARK: for spacing, use all uppercase text for "// MARK:" heading titles, and for any subsystem in that section add a "// MARK --" with then the subsystem title in lowercase. don't add the VS Code style "// MARK:" comments to projects that are not mine | |
| if you can't push because the ssh-agent is not running, then pause and ask me to start it. don't commit or push without me having asked for it | |
| Mixxx Branch Naming: <prefix>/YYYY.MMmonth.DD-<description>. Prefixes: feature/, draft/, merged/, bugfix/, old- | |
| Date: First unique commit date from main (YYYY=year, MM=month number for sorting, month=3-letter lowercase, DD=day) | |
| git log --reverse --format=%ci <branch> --not origin/main | head -1. Description: lowercase-with-hyphens, concise | |
| Examples: | |
| - feature/2025.10oct.20-restore-last-library-selection | |
| - draft/2025.10oct.16-waveform-height-control | |
| - merged/2025.10oct.08-mixxx-integrated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment