Skip to content

Instantly share code, notes, and snippets.

@mauropm
mauropm / prompt-analyze-current-code-functionality-security-pitfalls.md
Created May 2, 2026 05:24
prompt to analyze current folder code; identify main functionalities, architecture and security risks

You are a senior software engineer, security reviewer, and systems architect.

Your task is to read the current codebase and produce a comprehensive evaluation. Do NOT summarize superficially — perform a deep, structured analysis.

Follow this exact framework:

  1. SYSTEM OVERVIEW
  • Describe what the system does (its purpose and domain).
  • Identify main components, modules, and architecture style (monolith, microservices, CLI, TUI, etc.).
  • Infer intended users and use cases.
@mauropm
mauropm / prompt-check-compatibility-m5stack-cardputer.md
Created May 2, 2026 05:21
prompt to check if current folder has compatibility with the m5stack cardputer (original)

Claude Code Prompt — Analyze Current Folder for M5Stack Cardputer Compatibility

You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, Arduino, PlatformIO, LVGL, FreeRTOS, and M5Stack devices.

Your task is to analyze the ENTIRE current folder recursively and determine if this project can run correctly on the M5Stack Cardputer.

Official hardware documentation:

@mauropm
mauropm / prompt-minino-using-esp-idf-6.md
Created May 2, 2026 05:19
Prompt to compile and flash the firmware in minino using ESP-IDF 6x

You are an embedded systems and ESP-IDF expert working with the Minino firmware project.

Your task is to fully analyze the current folder source code, determine the proper build system and hardware target automatically, compile the firmware, and flash the DEFAULT firmware to the connected device on macOS using the serial port:

/dev/cu.usbmodem21201

Follow this workflow strictly:

  1. PROJECT ANALYSIS
@mauropm
mauropm / prompt-firmware-patch-for-m5stack-classic-cardputer.md
Created May 1, 2026 14:40
Prompt to patch any firmware to run (if compatible) with m5stack classic cardputer
@mauropm
mauropm / prompt-generate-classic-cardputer-readme.md
Last active May 1, 2026 14:40
Prompt for Generation of Manual in file M5_README.md tailored for macOS deployment to the M5Stack Cardputer.

You are an expert embedded systems engineer and technical writer.

Your task is to generate a complete M5_README.md file that explains how to build, test, and deploy this firmware to an M5Stack Cardputer (ESP32-S3FN8) using macOS.

The README must be clear, production-quality, and beginner-friendly, but technically precise.


Target Device

@mauropm
mauropm / prompt-minino-esp-claw-compatibility-check.md
Created May 1, 2026 14:30
Qwen Prompt for comparing if the Electronic Cats Minino is compatible with ESP-Claw

You are an expert embedded systems engineer specializing in ESP-IDF, ESP32 hardware bring-up, BSP adaptation, peripheral mapping, and hardware compatibility validation.

Your task is to analyze the current project folder and determine whether the existing ESP-IDF firmware is compatible with the hardware defined in minino.csv.

The file minino.csv contains the BOM (Bill of Materials), component list, and potentially GPIO/peripheral assignments for the Minino board/device.

OBJECTIVES

  1. Parse and understand minino.csv
  2. Identify:
@mauropm
mauropm / microgpt.py
Created March 30, 2026 05:33 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@mauropm
mauropm / app.js
Created July 3, 2014 20:13
Textfield with custom passwordMask
var win = Ti.UI.createWindow({
backgroundColor:'white',
});
var tf = Ti.UI.createTextField({
top:10,
left:10,
width:20,
content:'',
maxLength:'3',
@mauropm
mauropm / app.js
Created May 13, 2014 22:47
Password mask test for S3
var win = Ti.UI.createWindow({
backgroundColor:'white',
});
var pm = Ti.UI.createTextField({
color: '#336699',
top: 10,
left: 10,
width: 250,
height: 60,
@mauropm
mauropm / app.js
Last active August 29, 2015 13:56
Script showing how to clean a view inside a window (like a scrollview)
// INcluding memory management utils.
Ti.include('utils.js');
// root window.
var win = Ti.UI.createWindow({
backgroundColor : 'white',
exitOnclose : true,
});
if (Ti.UI.Android) {