Skip to content

Instantly share code, notes, and snippets.

View cgcardona's full-sized avatar

Gabriel Cardona cgcardona

View GitHub Profile

Swift Basics Tutorial

A comprehensive guide to the fundamental concepts of Swift programming.


Table of Contents

  1. Variables
  2. Data Types
  3. Functions
@cgcardona
cgcardona / agent_pr_review_and_merge.md
Created February 5, 2026 16:38
A principal-engineer-level agent prompt for reviewing, grading, and safely merging pull requests in a professional DAW codebase. This prompt treats every PR as potentially audible and evaluates it with audiophile paranoia.

Agent Prompt: PR Review → Merge → Cleanup (Autonomous)

ROLE

You are a Principal DAW Engineer + Audiophile Code Reviewer.

Your responsibility is to decide whether this pull request meets the quality bar required to compete with Logic Pro and other professional DAWs.

You have full authority to:

  • Request changes
  • Add missing tests
@cgcardona
cgcardona / agent_issue_to_pr.md
Last active February 5, 2026 16:36
A production-grade agent prompt that takes a single GitHub issue and drives it end-to-end: analysis → fix → extensive tests → branch → pull request. Designed specifically for mission-critical audio software where real-time safety, determinism, and audiophile-grade correctness are non-negotiable.

Agent Prompt: Issue → Branch → Fix → Tests → PR (Autonomous)

ROLE

You are a Senior macOS DAW Engineer + Audiophile QA Specialist working on Stori, a mission-critical, professional, open-source Digital Audio Workstation for macOS.

Your job is to fully resolve the GitHub issue linked below with Logic-Pro-level rigor.

This is an autonomous, end-to-end workflow. Do not skip steps. Do not shortcut tests.

@cgcardona
cgcardona / example-stori-step-sequencer-pattern.json
Last active January 19, 2026 17:08
Example Step Sequencer pattern for importing into Stori. More info: https://tellurstori.com/
{
"id": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"name": "Basic House Beat",
"steps": 16,
"swing": 0.0,
"lanes": [
{
"id": "11111111-1111-1111-1111-111111111111",
"name": "Kick",
"soundType": "kick",
@cgcardona
cgcardona / tellurstori-audio-generation-prompt-examples.md
Last active December 5, 2025 18:19
Prompt template format: A [sound type] featuring [timbre/characteristics], with [motion/shape], perspective: [distance], duration: [time]

⭐ CATEGORY 1 — RISERS (upward motion)

Perfect for transitions into choruses, drops, or energy lifts.

  1. White Noise Riser

A rising white-noise riser featuring bright filtered high-end and smooth upward sweep, with continuous motion, perspective: stereo wide, duration: 2 seconds

  1. Synth Riser

🎛️ TellUrStori SFX Prompt Template

A [sound type] featuring [timbre/characteristics], with [motion/shape], perspective: [distance]

RISERS (Upward Motion)

1. White Noise Riser

A rising noise riser featuring bright filtered high-end and smooth upward sweep, perspective: wide stereo

@cgcardona
cgcardona / tellurstori-music-generation-prompt-examples.md
Last active November 25, 2025 08:12
TellUrStori Music Generation prompt format: A [mood] [genre] [sub-genre optional] track in [key] at [tempo] BPM featuring [instruments], with [specific details], chord progression: [chords]

TellUrStori Music Generation Prompt Examples

A comprehensive collection of music generation prompts following the TellUrStori format: A [mood] [genre] [sub-genre optional] track in [key] at [tempo] BPM featuring [instruments], with [specific details], chord progression: [chords].


Rock & Metal

  • A high-energy classic rock track in A major at 118 BPM featuring electric guitars, bass, drums, and organ, with a strong driving backbeat and melodic lead lines, chord progression: A D G D A
DEFAULT_SYSTEM_PROMPT = (
"You are Stori, the creative intelligence behind TellUrStoriDAW, developed by Gabriel Cardona and the team at TellUrStori. "
"You exist to amplify human creativity through music. Your purpose is to inspire, educate, and collaborate—helping artists translate feeling into sound.\n\n"
"Core Role:\n"
"You are a music creation assistant for TellUrStoriDAW, a professional AI-powered digital audio workstation. "
"You assist with every stage of songwriting and production, offering musical intelligence, creative inspiration, and workflow fluency.\n\n"
"Creative Functions:\n"
"• Songwriting: structure, phrasing, hooks, and transitions\n"
================================================================================
🎵 TELLURSTORI COMPLETE TOKENOMICS DEMONSTRATION 🎵
================================================================================
ℹ️ Funding test wallets from deployer...
✅ Test wallets funded
ℹ️ Deployer: 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC
ℹ️ Artist 1: 0x58402048Bd554a021dBEdC7eBa6c95BcEE93ea56
ℹ️ Artist 2: 0x278c9F425F75474291fCED3147B08EF5378d9a3C
ℹ️ Producer: 0xeB3467bBac57929829c89b0D306A1BF5440121a2

Stable Diffusion Prompt Guide: Creating Photorealistic & Beautiful Images

Core Principles

1. Specificity is Key

  • Use precise, descriptive language
  • Include specific details about lighting, composition, and style
  • Mention exact camera settings and techniques

2. Technical Photography Terms