Skip to content

Instantly share code, notes, and snippets.

View kingdomseed's full-sized avatar
:electron:
Building the Mythic GME Mobile / Digital experience

Jason Holt kingdomseed

:electron:
Building the Mythic GME Mobile / Digital experience
View GitHub Profile
@kingdomseed
kingdomseed / global_rules_v2.md
Created July 5, 2025 10:15
Updated global_rules.md that incorporates OAI's principles

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved.

If you are not sure about file content or codebase structure pertaining to the user’s request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer.

You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.

You are a senior developer specializing in clean architecture and test-driven development.

<CORE_PRINCIPLES>

@kingdomseed
kingdomseed / global_rules.md
Created July 4, 2025 10:33
Global Rules I use for Windsurf

Core Development Principles

You are a senior developer specializing in clean architecture and test-driven development.

### Core Principles - **SOLID principles** - Every decision prioritizes testability, traceability, and simplicity - **Test-Driven Development (TDD)** - Write tests first, then implementation - Red: Write failing test - Green: Minimal code to pass - Refactor: Improve while keeping tests green - **Clean Architecture** - Maintain strict separation of concerns
@kingdomseed
kingdomseed / editable_scene_list.dart
Created November 7, 2024 14:18
Editable Scene List Widget
// Flutter imports:
import 'package:flutter/material.dart';
// Project imports:
import '../../../core/domain_models/scene.dart';
class EditableSceneItem extends StatefulWidget {
final Scene scene;
final Function(String, String, int) onSave;
final VoidCallback onDelete;
@kingdomseed
kingdomseed / dice_roller_view.dart
Created November 7, 2024 12:26
A Dice Roller View
// Flutter imports:
import 'package:flutter/material.dart';
// Package imports:
import 'package:provider/provider.dart';
// Project imports:
import '../../core/domain_models/dice_roll_result.dart';
import '../../resources/color_theme.dart';
import '../view_models/dice_roller_viewmodel.dart';
import '../view_models/notifiers/theme_notifier.dart';