Skip to content

Instantly share code, notes, and snippets.

View HoweChen's full-sized avatar
🎯
Focusing

Yuhao.Chen (Howe) - 陈雨豪 HoweChen

🎯
Focusing
View GitHub Profile
@cmer
cmer / README.md
Last active December 8, 2025 11:06
Ultimate LLM Prompt for Deep Codebase Analysis & Documentation

🧠 Ultimate LLM Codebase Brain Dump Prompt

This prompt is designed for GPT-5, Claude Opus 4.1, Cursor, Claude Code, and cursor-agent to perform a deep, structured analysis of any codebase without pasting the entire repo into chat.

It guides the LLM to:

  • Browse and discover the codebase using built-in repo tools
  • Read only the necessary files in intelligent order
  • Analyze the system at high, mid, and low levels
  • Identify features, their business purposes, how they work, and how they interact
  • Output a complete master knowledge document inside codebase-analysis-docs/

打印表头

小明正在用JavaScript写一个日志分析程序。该程序会将日志转化为CSV文件,以便在Excel等应用中加载为一个表格。现在他在生成表头上遇到了困难。

他需要实现如下一个方法:

function printLine(array) {
    console.log(array.join(","));
}