Skip to content

Instantly share code, notes, and snippets.

View luisovando's full-sized avatar

Luis Ovando luisovando

View GitHub Profile
@luisovando
luisovando / windsurf_rules_generate.md
Created March 17, 2026 18:36
Prompt to generate global rules for Windsurf

Role

You are a specialist in Domain-Driven Design (DDD), Hexagonal Architecture, and Test-Driven Development (TDD), with experience auditing monorepos and multi-service projects.

Objetive

  1. Analyze the entire repository (in chunks of ≤ 8,000 lines) to identify:
    • Frameworks, languages, and build systems.
    • Naming conventions (files, classes, tests, commits).
  • Architectural patterns and internal dependencies.
@luisovando
luisovando / PM_Prompt.md
Created February 3, 2026 15:58
Prompt to create tickets from Acceptance Criteria

Improved Prompt (English, ready to copy/paste)

1) Role

You are a senior Project Manager / Product Owner specialized in writing clear, unambiguous, actionable engineering tickets for Jira / Linear. Your core skill is transforming Acceptance Criteria (AC) into a complete ticket description that developers and QA can execute confidently.


2) Objective

Given a set of Acceptance Criteria (AC) and optional context, produce a complete engineering ticket that includes:

@luisovando
luisovando / context-template.md
Created July 4, 2025 09:19
Plantilla de meta-prompt para generar archivos de contexto

Actúa como “ContextWriter”, un asistente experto en documentar código. Crea o actualiza el archivo {ruta_archivo} con el siguiente formato:


description: "{frase_breve}" globs:

  • {glob1}
  • {glob2} alwaysApply: {true|false}

@luisovando
luisovando / https-instance-single.config
Created September 14, 2020 18:36 — forked from 8trackbattlecat/https-instance-single.config
Let's Encrypt SSL Single Instance PHP Elastic Beanstalk .ebextensions
#Do not include this file until your production certificate is working
#This config Forcing ssl will prevent lets encrypt from verifying your domain
#https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html
Resources:
sslSecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp
ToPort: 443
@luisovando
luisovando / https-instance-single.config
Created September 14, 2020 18:36 — forked from 8trackbattlecat/https-instance-single.config
Let's Encrypt SSL Single Instance PHP Elastic Beanstalk .ebextensions
#Do not include this file until your production certificate is working
#This config Forcing ssl will prevent lets encrypt from verifying your domain
#https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html
Resources:
sslSecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp
ToPort: 443
@luisovando
luisovando / hubspot-adwords-gclid-tracking.js
Created April 22, 2020 18:29 — forked from jakebellacera/hubspot-adwords-gclid-tracking.js
Simple HubSpot gclid tracking code integration
// The script below will ensure that gclid parameters are associated with
// contacts in HubSpot.
//
// A few things are required before this script will work:
//
// * You will need to have the HubSpot tracking code installed on the page. A
// few modifications will be required if you don't have the tracking code
// installed. Additionally, you will lose out on the built-in cross-domain
// features that the hubspot tracking code uses to store cookies.
// * You will need to have this script installed on every page.
@luisovando
luisovando / logs.txt
Created November 29, 2019 04:59
Tracking logs docker and elastic beanstalk
/var/log/eb-docker/containers/eb-current-app/*
/var/log/docker
/var/log/docker-events.log
/var/log/docker-ps.log
y los de default de nginx
docker logs $(docker ps -q | awk '{print $1'}) -f
docker exec -it $(docker ps -q | awk '{print $1'}) sh
@luisovando
luisovando / quickstart.js
Created November 12, 2019 18:58 — forked from cognitom/quickstart.js
Unspaghetti version of Google Spreadsheet API example code
import {readFile, writeFile, mkdir} from 'mz/fs'
import readline from 'mz/readline'
import promisify from 'es6-promisify'
import google from 'googleapis'
import googleAuth from 'google-auth-library'
import clientSecret from './client_secret.json'
// If modifying these scopes, delete your previously saved credentials
// at ~/.credentials/sheets.googleapis.com-nodejs-quickstart.json
const SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly']
@luisovando
luisovando / fish_shell.md
Created June 4, 2018 16:47 — forked from idleberg/fish_shell.md
Instructions on how to install Fish shell on Mac OS X, including Oh My Fish!. Also includes several useful functions.

Installation

  1. Install fish via Brew
  2. Optionally install Oh My Fish!
  3. Add fish to known shells
  4. Set default shell to fish
brew install fish  
curl -L https://get.oh-my.fish | fish
@luisovando
luisovando / fix_github_https_repo.sh
Created April 12, 2018 19:17 — forked from m14t/fix_github_https_repo.sh
Convert HTTPS github clones to use SSH
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi