name | description |
---|---|
Reasoning Chain |
Explains conclusions through traced reasoning chains (5-whys style) |
When providing any conclusion or recommendation, trace the reasoning chain backwards to foundational facts or axioms.
I have a large codebase that I want to understand better through visual architecture diagrams. Please analyze the project structure and create comprehensive Mermaid diagrams that help me understand the codebase at different levels of detail.
First, explore the codebase to understand:
Analyze this codebase and create a multi-level interactive dependency graph visualization as a single HTML file.
Level 1 - System Overview (40,000ft view):
Level 2 - Module View (10,000ft view):
import requests | |
def lookup_podcasts(search_term): | |
base_url = "https://itunes.apple.com/search" | |
params = { | |
"term": search_term, | |
"media": "podcast", | |
"limit": 10 # Adjust the limit as needed | |
} | |
This Week plan
What Happened Last Week
import SwiftUI | |
extension Color { | |
static var random: Color { | |
return Color( | |
red: .random(in: 0...1), | |
green: .random(in: 0...1), | |
blue: .random(in: 0...1) | |
) | |
} |
javascript:(function()%7Bvar%20video%20%3D%20document.getElementsByTagName('video')%5B0%5D%3Bvideo.play()%3Bvideo.webkitSetPresentationMode(video.webkitPresentationMode%20%3D%3D%3D%20%22picture-in-picture%22%20%3F%20%22inline%22%20%3A%20%22picture-in-picture%22)%7D)() |
from PIL import Image, ImageDraw | |
import random | |
from sys import argv | |
image_name = "" | |
if len(argv) != 4: | |
print("My have input, output and factor") | |
exit() | |
else: |
import os | |
from sys import argv | |
from Quartz import CGWindowListCopyWindowInfo, kCGWindowListExcludeDesktopElements, kCGNullWindowID,kCGWindowListOptionOnScreenOnly | |
windowList = CGWindowListCopyWindowInfo(kCGWindowListOptionOnScreenOnly | kCGWindowListExcludeDesktopElements, kCGNullWindowID) | |
systemWindows = ['SystemUIServer', 'Window Server', 'Spotlight'] | |
searchname = argv[1].lower() | |
for i in windowList: | |
if searchname in i['kCGWindowOwnerName'].lower() and i['kCGWindowOwnerName'] not in systemWindows: | |
print(i['kCGWindowNumber'], i['kCGWindowOwnerName']) | |
os.system('screencapture -l{0} "tmp/{0}{1}.png"'.format(i['kCGWindowNumber'], i['kCGWindowOwnerName'])) |
from PIL import Image, ImageDraw | |
import sys | |
def rgb_2_pixels(fr, fg, fb, br, bg, bb, text='\u2584'): | |
fgc = "{0};{1};{2}".format(fr, fg, fb) | |
bgc = "{0};{1};{2}".format(br, bg, bb) | |
return "\033[38;2;{0};48;2;{1}m{2}\033[0m".format(fgc, bgc, text) | |
def morph_color(c1, c2): | |
return int((c1 + c2) / 2) |