Skip to content

Instantly share code, notes, and snippets.

View diegohb's full-sized avatar

Diego Bustamante diegohb

  • Expert Vision Software
  • Gaithersburg, MD
View GitHub Profile
@diegohb
diegohb / prefer-global-skills.md
Last active August 22, 2026 19:14
prefer-global-skills: Based on skills.sh installed skills via npx skills add, will remove local skills that are newer at global
import { BrainstormingMethod } from '@/types/brainstorm';
export const BRAINSTORMING_METHODS: Record<string, BrainstormingMethod> = {
'big-mind-mapping': {
id: 'big-mind-mapping',
name: 'Big Mind Mapping',
description: 'Explore ideas across a wide scope to gather the maximum number of creative solutions.',
icon: '🗺️',
gradient: 'gradient-bg-1',
textGradient: 'text-gradient-mind',
@diegohb
diegohb / fork-reorg.md
Created March 28, 2026 12:49
Instruction to manage forked repositories.
description Use when migrating an existing forked repository into a clean upstream-vs-custom workflow while preserving non-conforming local work and existing divergence.
name Fork Reorg
argument-hint Fork URL, upstream URL, and any known local-only files or branches
agent agent

Reorganize This Fork For Clean Upstream vs Custom Work

You are working inside an already-active forked repository.

@diegohb
diegohb / deepwiki-bookmarlet.js
Created March 24, 2026 06:48
Bookmarlet that navigates to deepwiki in a new tab given a github repo url.
javascript:(function(){var m=location.href.match(/^(?:https?:\/\/)?(?:www\.)?github\.com\/([^\/]+\/[^\/]+)/i);m?window.open(%27https://deepwiki.com/%27+m[1],%27_blank%27):window.alert(%27Not a GitHub repo URL%27)})();
@diegohb
diegohb / arch-design-5-level.md
Last active March 21, 2026 00:23
Custom command for working with Martin Fowler's design-first collaboration approach to design a plan.

The "Design-First Architect" Skill

System Role: You are an expert Software Architect pairing with a developer. You follow the Design-First Collaboration pattern. Your goal is to align on "what" and "how" across four distinct levels of abstraction before writing a single line of implementation code.

Inputs Provided:

  1. Context Doc: Project tech stack, existing abstractions, and architectural conventions.
  2. Testing Protocol Doc: Requirements for test coverage, framework preferences, and QA standards.
  3. The Goal: The specific feature or bug fix to be addressed.
@diegohb
diegohb / enhance-project-prompt.md
Last active March 13, 2026 15:39
OpenCode: Command - Enhance Prompt
description Generate a coordinated architecture and execution plan for an implementation agent. Takes in simpler instruction prompt and returns enhanced prompt.
subtask true

<critical_rules priority="highest">

  • MANDATORY: Resolve and normalize incoming arguments before planning
  • MANDATORY: Use discovered architecture/design/spec references when available
  • MANDATORY: Use discovered validation/testing guidance when available
  • MANDATORY: Return implementation instructions to the parent/calling agent when running as subAgent
@diegohb
diegohb / optimize-agent-instructions.md
Last active April 21, 2026 10:13
OpenCode: Command - Optimize Agent Instructions
description Refactors markdown files to be highly optimized for LLM/Agent consumption using dense XML macro-structures and progressive discovery.
agent build
subtask true
You are an elite AI Prompt and Context Engineer. Your strict mandate is to translate human-readable markdown documentation into high-density, agent-optimized instruction files. You do not write for humans; you optimize strictly for machine attention mechanisms, token efficiency, and progressive context loading.
@diegohb
diegohb / AureliaSkill-Reference.md
Last active February 12, 2026 04:24
To provide another AI with an expert-level understanding of Aurelia 2, the following prompt is structured in a logical progression—from foundational philosophy to internal execution mechanics—ensuring the model understands not just the "how," but the "why" behind the framework's architecture.

Aurelia v2 Application Guidelines

Last Updated: 2026-02-11
Purpose: Architectural patterns and conventions for Aurelia v2 applications


1. Global Architecture & Project Structure

Feature-First Architecture

@diegohb
diegohb / SKILL.md
Created February 8, 2026 11:23
deepwiki-research
name deepwiki-research
description Forces the agent to use deepwiki.com for technical libraries or frameworks with a public GitHub presence, prioritizing code-level ground truth over general knowledge or standard web docs.
license MIT
compatibility opencode
metadata
purpose priority target
documentation-enforcement
high
github-repositories
@diegohb
diegohb / UvcsGitManager.ps1
Created February 1, 2026 11:32
The primary goal of these scripts is to allow a developer to remain in a UVCS-first workflow while using IDEs that default to Git. They enforce technical constraints required by the GitServer bridge to prevent data corruption and history mismatches.
<#
.SYNOPSIS
Consolidated management for UVCS GitServer and GitSync bridges.
#>
function Set-UvcsGitGlobalConfig {
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string]$RootPath