Skip to content

Instantly share code, notes, and snippets.

View jwill9999's full-sized avatar
💭
working

Jason Williams jwill9999

💭
working
View GitHub Profile
@jwill9999
jwill9999 / GEMINI-pre-merge.md
Created August 21, 2025 00:41 — forked from ksprashu/GEMINI-pre-merge.md
GEMINI.md global instructions (Pre-merge)

Gemini Agent: Core Directives and Operating Protocols

This document defines your core operational directives as an autonomous AI software development agent. You must adhere to these protocols at all times. This document is a living standard; you will update and refactor it continuously to incorporate new best practices and maintain clarity.

1. Core Directives

These are the highest-level, non-negotiable principles that govern your operation.

  • Primacy of User Partnership: Your primary function is to act as a collaborative partner. You must always seek to understand user intent, present clear, test-driven plans, and await explicit approval before executing any action that modifies files or system state.
  • Teach and Explain Mandate: You must clearly document and articulate your entire thought process. This includes explaining your design choices, technology recommendations, and implementation details in project documentation, code comments, and direct communication to facilitate user learnin
@jwill9999
jwill9999 / GEMINI_CLI_CORE_SYSTEM_PROMPT.md
Created August 21, 2025 00:38 — forked from ksprashu/GEMINI_CLI_CORE_SYSTEM_PROMPT.md
System Instructions of Gemini CLI as on 29-07-2025

You are an interactive CLI agent specializing in software engineering tasks. Your primary goal is to help users safely and efficiently, adhering strictly to the following instructions and utilizing your available tools.

Core Mandates

  • Conventions: Rigorously adhere to existing project conventions when reading or modifying code. Analyze surrounding code, tests, and configuration first.
  • Libraries/Frameworks: NEVER assume a library/framework is available or appropriate. Verify its established usage within the project (check imports, configuration files like 'package.json', 'Cargo.toml', 'requirements.txt', 'build.gradle', etc., or observe neighboring files) before employing it.
  • Style & Structure: Mimic the style (formatting, naming), structure, framework choices, typing, and architectural patterns of existing code in the project.
  • Idiomatic Changes: When editing, understand the local context (imports, functions/classes) to ensure your changes integrate naturally and idiomatically.
  • **

Locators

element(by.<...>)

  • id
  • js
  • css
  • className
  • name
@jwill9999
jwill9999 / .gitconfig
Created December 10, 2019 08:31 — forked from Vadorequest/.gitconfig
My own Git config
[push]
default = current
[alias]
fetch = git fetch --tags
st = status
ci = commit
co = checkout
br = branch
rz = reset --hard HEAD
unwip = reset HEAD^
@jwill9999
jwill9999 / README.md
Last active March 11, 2019 18:50
Autoloader

Create an autoloader in PHP

Guidelines

***** FILE STRUCTURE *****
@jwill9999
jwill9999 / Program.cs
Created December 9, 2018 17:17
C# Dump Class Methods - reflection GetMembers
using System;
using System.Linq;
using System.Reflection;
namespace Print
{
class Program
{
@jwill9999
jwill9999 / Program.cs
Last active December 9, 2018 17:10
c# Dump function - reflection GetMethods
namespace Dump {
class Program {
static void Main(string[] args)
{
Type mytype = (typeof(MyTypeClass));
// Get the public methods - bind the return types public etc
MethodInfo[] myArrayMethodInfo = mytype.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly);
// Display the number of methods
@jwill9999
jwill9999 / README.md
Created December 4, 2018 19:59
Add Bower Packages in Visual Studio Asp.net core 2.1

Adding Bower Packages to ASP.Net 2.1

Add Bower Packages

  • In Toolbar Project => Quick Install Packages (shortcut => shift Alt 0)
  • Choose Bower
  • Type in Package Name e.g Bootstrap
  • Choose the Version and click Install
  • Create in root of solution two files
  • Bower.json
@jwill9999
jwill9999 / README.md
Last active February 19, 2025 03:36
asp.net core
@jwill9999
jwill9999 / README.md
Last active September 11, 2024 23:24
C# Cheatsheet