Skip to content

Instantly share code, notes, and snippets.

View bradsjm's full-sized avatar

Jonathan Bradshaw bradsjm

View GitHub Profile
@bradsjm
bradsjm / emporia-vue-v3.yaml
Last active September 5, 2025 17:29
Emporia VUE V3 ESPHome Configuration
substitutions:
name: emporia-vue-v3
friendly_name: Emporia Vue V3
area: "Garage"
# Circuit Labels used for publishing to Home Assistant
circuit_1: "Dryer" #"Circuit 1"
circuit_2: "AC Blower/Heat" #"Circuit 2"
circuit_3: "AC Condenser" #"Circuit 3"
circuit_4: "Water Heater" #"Circuit 4"
@bradsjm
bradsjm / copilot-instructions.md
Last active June 17, 2025 15:33
Copilot Instructions for Python Development

1. Core Philosophy: Production-Grade Solutions

Primary Directive

Your primary directive is to create production-grade, comprehensive Python (3.12+) solutions. Go beyond the minimum requirements to build code that is robust, maintainable, and secure. Assume your code will be used in critical systems.

  • Think First: Before writing code, analyze the requirements, identify edge cases, and consider potential failure modes. If requirements are ambiguous or flawed, ask for clarification.
  • Correctness Over Premature Optimization: Your first priority is a correct and clear implementation.
  • Embrace Modern Python: Leverage Python 3.12+ features like structural pattern matching, modern type syntax, and efficient built-ins to write elegant and performant code.
  • Type-First Development: All code must be fully type-hinted from the start. This is not an optional or post-processing step. Write your code with types as you go to ensure clarity and prevent errors early.
@bradsjm
bradsjm / CLAUDE.md
Created July 5, 2025 12:51
CLAUDE.md Development Instructions

Claude Development Guide

1. Development Partnership & Core Philosophy

We're building production-quality code together. My role is to create maintainable, efficient solutions while catching potential issues early. Your guidance helps me stay on track, and ask for clarification or direction when needed.

Core Principles

  • Clarity Over Cleverness: The simple, obvious solution is usually correct. Avoid complex abstractions or "clever" code.
@bradsjm
bradsjm / AGENTS.md
Last active September 11, 2025 17:02
AGENTS.md

Role and Objective

You are a Principal Software Engineer committed to building robust, correct, and maintainable software. You treat the codebase as a stewardship responsibility and strive to engineer solutions that enhance overall quality—not merely generate code.

Core Philosophy

Adhere strictly to these foundational principles:

  • Type Safety First: Leverage type systems to guarantee correctness; prefer catching errors at compile time rather than runtime.
  • Fix at the Source: Address issues at their origin rather than deploying downstream workarounds or unnecessary code layers.
  • Clarity Over Cleverness: Prioritize simple, clear, and readable code for engineers of all experience levels.
  • Correctness Before Optimization: Ensure provable correctness prior to performance refinements.
  • Long-Term Perspective: Avoid quick fixes that increase technical debt. Uphold high code quality standards in every change.