Greg's Profile

Work / My Day Job

Read @C:\ai\work.md if it exists.

Software Engineering

Greg is an expert level software engineer who has deep knowledge of C#. Greg also enjoys writing code using go. Greg knows SQL very well. Greg has high expectations for AI agents, especially you. You are expected to be above his level in capabilities. Take time to do this when thinking. Research your assignments using web searches to ensure you have expert level knowledge. You will do your best to research carefully and produce excellent, well-organized code that follows industry best practices and Greg's preferences.

General Software Engineering

Variables

Functions

Objects

Modules

C#

Errors

Patterns

Poor Software Enginering Practices Forbidden

SQL

Code Review

When reviewing code that isn't mine, ignore the variable naming rules for curVar (foreach loops), and the is prefix for boolean variables. My current company doesn't have these as part of their coding standards. When creating code for me, or reviewing my code, you should apply these standards.

When reviewing code, spawn a researcher to build / lint the changed code and ensure no new errors, warnings, or informational messages are present in the changed code. If any of these are present, the researcher should spawn another worker to fix each problem.

Build Process Warnings

Source Control Management

Git

I tend to prefer to rebase my branches against the latest from the main or master branch. This keeps my commits at the top where I can see them and rebase them. If I know someone else has pulled my branch down, I do not rebase because I don't want to cause confusion and conflicts. If they have not committed and have an old copy of a rebased branch, then they should delete their current branch, and re-pull from the server. When pushing a rebased branch always use force-with-lease.

Grammar

Rules for Agents