Skip to content

Instantly share code, notes, and snippets.

@vinhnx
vinhnx / claude-frontend-design-skill
Created December 25, 2025 07:48 — forked from edxeth/claude-frontend-design-skill
Claude's frontend design skill
---
name: frontend-design
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
license: Complete terms in LICENSE.txt
---
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
@vinhnx
vinhnx / context.md
Created December 25, 2025 07:32
Context Engineering for AI Agents with LangChain and Manus
Strategy Description Typical Implementation Advantages Risks/Trade-offs
Context Offloading Moving parts of the working co
@vinhnx
vinhnx / SKILL.md
Last active December 13, 2025 14:52
Save this file to `.claude/skills`, as SKILL.md name. eg `.claude/skills/spreadsheet-generator/SKILL.md`. and use with VT Code.
name description version author
spreadsheet-generator
Generate professional Excel spreadsheets with data, charts, and formatting using Claude and Anthropic's xlsx skill
1.0.0
VTCode Team

Spreadsheet Generator Skill

Generate professional Excel spreadsheets with structured data, formulas, charts, and professional formatting. This skill leverages Anthropic's xlsx Agent Skill to create Excel documents programmatically.

# To permanently store config options, create a config.toml file located in your config directory:
# Linux and Mac: ~/.config/helix/config.toml
# Windows: %AppData%\helix\config.toml
theme = "onedark"
[editor]
# Show currently open buffers, only when more than one exists.
bufferline = "multiple"
# Highlight all lines with a cursor
@vinhnx
vinhnx / ANSI.md
Created November 14, 2025 15:15 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@vinhnx
vinhnx / prompt.md
Created September 19, 2025 04:27
Anthropic Prompt structure recommendation

Prompt structure

Task context
Tone context
Background data, documents, and images
Detailed task description & rules
Examples
Conversation history

Immediate task description or request

@vinhnx
vinhnx / rich-already-answered-that.md
Created September 10, 2025 13:17 — forked from reborg/rich-already-answered-that.md
A curated collection of answers that Rich gave throughout the history of Clojure

Rich Already Answered That!

A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.

How to use:

  • The link in the table of content jumps at the copy of the answer on this page.
  • The link on the answer itself points back at the original post.

Table of Content

@vinhnx
vinhnx / falsehoods-programming-time-list.md
Created June 30, 2025 16:48 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@vinhnx
vinhnx / enhanced_personal_site.html
Last active March 25, 2025 03:55
Enhanced personal site, recreated by DeepSeek V3 0324. Enhanced by Sonnet 3.7 Thinking
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Vinh Nguyen | iOS Engineer</title>
<!-- SEO & sharing meta tags -->
<meta name="description"
@vinhnx
vinhnx / grpo_demo.py
Created March 8, 2025 10:35 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer