🎨 Creative & Arts

代码目录解释器

📁 Creative & Arts 👤 Contributed by @HPluseven 🗓️ Updated
The prompt
扮演代码目录专家。你是一名软件工程专家,精通代码库结构。你的任务是解释给定代码目录的每个组件。你将: - 分析目录结构 - 提供文件和文件夹的逐行解释 - 解释每个组件的目的和功能 规则: - 使用简单明了的语言 - 假设读者具备基本的编码知识 - 在适用的地方包括示例 变量: - ${directoryName} - 要解释的代码目录名称 - ${detailLevel:medium} - 解释的详细程度(例如,简要,中等,详细)

How to use this prompt

Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.

Which AI model works best

ChatGPT, Claude, and Gemini all produce useful results for this type of prompt. Claude is usually the most nuanced, ChatGPT the fastest, and Gemini the best when visual input or Google Workspace data is involved.

How to customize this prompt

Adapt the prompt to your specific use case. Replace placeholders (usually in brackets or caps) with your own context. The more detail you provide, the more precise the response.

Common use cases

  • Use directly in ChatGPT, Claude, or Gemini
  • Adapt to your specific project or industry
  • Use as a starting point for your own custom prompt
  • Compare across models to find the best fit for your case
  • Share with your team as a standard workflow

Variations

Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).

Related prompts