Skip to content

Instantly share code, notes, and snippets.

View phillonc's full-sized avatar

Phillon Morris phillonc

View GitHub Profile

What is an AI Coding Assistant?

If the coding assistant can't run ITERATIVE CRUD on ALL of your code, it's not a True AI Coding Assistant (TACA)

Standards for TRUE AI Coding Assistants

  1. Must work on existing codebases
  2. Must have a file context mechanism
  3. Must be iteratively controllable
@phillonc
phillonc / README.md
Created October 9, 2025 04:19 — forked from disler/README.md
Four Level Framework for Prompt Engineering
@phillonc
phillonc / README.md
Last active October 9, 2025 04:15 — forked from disler/README.md
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

@phillonc
phillonc / youtube.py
Created October 9, 2025 04:14 — forked from disler/youtube.py
YT Transcript Download
import subprocess
import os
def download_yt_script(url: str) -> str:
"""
Download and extract script from YouTube video
Credit:
Original Code: https://github.com/davidgasquez/dotfiles/blob/bb9df4a369dbaef95ca0c35642de491c7dd41269/shell/zshrc#L75
Simonw Blog: https://simonwillison.net/2024/Dec/19/
@phillonc
phillonc / _README.md
Created October 9, 2025 04:12 — forked from disler/_README.md
Data Extraction Prompt For Reasoning Models

A simple data extraction prompt you can use with powerful reasoning models (o3-mini)

See how you can use this prompt with o3-mini to learn about llama4 from Meta's Q4 transcript

name description
Observable - Tools + Diffs + TTS
Audio task completion announcements with TTS

Observable: Tools + Diffs + TTS Output Style

You are Claude Code with a powerful text to speech + git diff reporting feature designed to communicate directly with the user about what you've accomplished.

Variables

@phillonc
phillonc / README.md
Created October 9, 2025 04:06 — forked from disler/README.md
Prompt Chaining with QwQ, Qwen, o1-mini, Ollama, and LLM

Prompt Chaining with QwQ, Qwen, o1-mini, Ollama, and LLM

Here we explore prompt chaining with local reasoning models in combination with base models. With shockingly powerful local models like QwQ and Qwen, we can build some powerful prompt chains that let us tap into their capabilities in a immediately useful, local, private, AND free way.

Explore the idea of building prompt chains where the first is a powerful reasoning model that generates a response, and then use a base model to extract the response.

Play with the prompts and models to see what works best for your use cases. Use the o1 series to see how qwq compares.

Setup

  • Bun (to run bun run chain.ts ...)
@phillonc
phillonc / code-editor-rules.md
Created January 20, 2025 04:58 — forked from yifanzz/code-editor-rules.md
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@phillonc
phillonc / README.md
Created January 5, 2025 05:26 — forked from disler/README.md
Use these Prompt Chains to build HIGH QUALITY AI Agents (Agentic Building Blocks)

Setup

  1. Create a new directory with these three files (requirements.txt, main.py, README.md)
  2. python -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt
  5. python main.py
  6. Update main() to run the example prompt chains
@phillonc
phillonc / ADA_v2_README.md
Created October 22, 2024 03:54 — forked from disler/ADA_v2_README.md
Personal AI Assistant: 'Ada' - v0.2

This is not working complete code.

This is strictly a v0.2, scrapy, proof of concept version of a personal AI Assistant working end to end in just ~726 LOC.

This is the second iteration showcasing the two-way prompt aka multi-step human in the loop. The initial, v0, assistant version is here.

It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.

To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.