Ben Chuanlong Du's Blog

It is never too late to learn.

Prompt Engineering for LLM Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. set temporature

  2. give some examples

  3. leverage built tools provided by LLM products. For example, Google AI Studio provides tools

    • grounding with google search, etc.
  4. A single comprehensive prompt …

Fix Shell Commands Using fc

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

fzf.history is a better alternative to fc's core functionality (edit and re-execute command).

Tips & Traps

  1. In Linux shells like Bash and Zsh, fc is a built-in command that stands …

Tips on Google Gemini CLI

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips & Traps

  1. Gemini CLI is extremely useful as it doesn't requires your favorite IDE to have integration with LLM tools. You can use whichever IDE you like. What you need is …

Tips on Large Language Models

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips on fd

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips & Traps

  1. fd is much faster compared to find.

Installation

wajig install fd-find

The install binary is fdfind.

Example Usages

  1. Find all directories under $dir.

    fdfind --type d . $dir
    
  2. Find all …