搜索

PythonReactSEOPDF
GitHub Skill

code-explainer

Explain code at a high level and surface gotchas

devclarityai☆ 8 仓库 Stars4 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Use this template to explain code at a high level and surface gotchas.

INPUTS

  • Code - the code to explain
  • (optional) File path

INSTRUCTIONS

  1. Read the provided code.
  2. Describe what it does in clear, concise terms. Prefer bullets.
  3. Summarize data flow, side effects, external calls, and I/O.
  4. Note domain concepts relevant to the business/application context.
  5. Call out risks, edge cases, and TODOs you would add.
  6. Keep it actionable and brief. Avoid restating the code line-by-line.
  7. When helpful, include a small sequence diagram or pseudo-code.
  8. Keep lines ≤80 chars.

OUTPUT FORMAT

What this code does

  • ...

How it works (flow)

  • Inputs:
  • Processing:
  • Outputs:
  • Side effects:

Dependencies & contracts

  • Frameworks/libraries used:
  • Service/API calls:
  • Databases/tables/queues touched:

Assumptions

  • ...

Gotchas & risks

  • Concurrency:
  • Error handling:
  • Performance:
  • Security/compliance:
  • Observability:

TODOs / improvements

  • Quick wins:
  • Follow-ups:

Example trace (pseudo)

...

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!