Skip to content

Instantly share code, notes, and snippets.

View Greenninja4's full-sized avatar
๐Ÿ’œ

John Born Greenninja4

๐Ÿ’œ
View GitHub Profile
@Greenninja4
Greenninja4 / mini-claude.md
Created January 27, 2026 19:02
mini-claude.md

Custom Instructions

Coding guidelines

  1. Don't be overzealous. Use the simplest possible code to accomplish the job.
  2. Be as concise as possible. The code should be readable and short.
  3. Don't be defensive. Trust the incoming data structure.
  4. Don't add unnecessary documentation or markdown files.
  5. Avoid unnecessary comments. Comments should only be included for exceedingly complex logic or code snippets that are prone to error. If comments are no longer necessary or were for temporary debugging, remove them.
  6. Avoid using reframe for new code. Use hooks instead when possible. For instructions on how to do this, see the file doc/howto/ui/data-fetching.md
  7. Do not hardcode magic numbers into code or system prompts that may change over time. Try to keep code open to extension.
@Greenninja4
Greenninja4 / Tax Brackets 2022
Created July 10, 2022 06:57
Tax Brackets 2022
from functools import reduce
# 2022 Tax Filing Statuses
single = {
"thresholds": [
(.1, 10275),
(.12, 41775),
(.22, 89075),
(.24, 170050),
(.32, 215950),