Skip to content

Instantly share code, notes, and snippets.

View juanpprieto's full-sized avatar

Juan P. Prieto juanpprieto

View GitHub Profile
@juanpprieto
juanpprieto / Providers.tsx
Created May 9, 2024 16:15 — forked from julrich/Providers.tsx
Unpic blurhash handling with React
function isStoryblokAsset(object: unknown): object is AssetStoryblok {
return (object as AssetStoryblok)?.filename !== undefined;
}
const Picture = forwardRef<
HTMLImageElement,
PictureProps & ImgHTMLAttributes<HTMLImageElement>
>(({ src, lazy, ...props }, ref) => {
const internalRef = useRef<HTMLImageElement>(null);
@juanpprieto
juanpprieto / mindmap_zW28e7LGPRQ.md
Created September 24, 2025 08:32 — forked from Jarvis-Legatus/mindmap_zW28e7LGPRQ.md
Mind map for YouTube video: Claude Code: From Beginner to Expert in 19 Minutes

Claude Code: From Beginner to Expert in 19 Minutes

TL;DR This video serves as a comprehensive guide to mastering Claude Code, Anthropic's AI coding agent, based on insights from the "Cloth Code Bible" by its creator. It emphasizes customizing the setup through files like cloth.md (system prompt) and cloth_settings.json (tool permissions), and integrating GitHub CLI. A key takeaway is extending Claude's capabilities with custom MCPs like Playwright for browser interaction and creating custom slash commands to automate complex workflows, significantly boosting productivity. The guide details four recommended workflows: Explore-Plan-Code-Commit (with sub-agents and thinking budget prompts), Test-Driven Development, Write Code-Screenshot-Iterate, and leveraging Claude for Git operations. It also covers workflow optimization through specific instructions, URL browsing, early course correction, and context management commands (/clear, /compact). Finally, it introduces advanced uses like headless mode