AGENT SKILL

comment-code

Add useful commentary to selected code or changed files.

License 许可
MIT
所属仓库
venholm-den/f1-sim
最近更新
2026-10-30
Stars
★ 0
Forks
0

01 前言 Front Matter

name
comment-code
description
Add useful commentary to selected code or changed files.
disable-model-invocation
true

03 SKILL.md 正文

Review the selected code or the changed files in this repository.

Add useful code comments only where they help explain:

  • business logic
  • data transformation
  • Power BI custom visual behaviour
  • capabilities/data role handling
  • formatting pane logic
  • edge cases
  • non-obvious TypeScript
  • performance-sensitive logic

Do not add obvious comments like "increment counter" or "set variable".

Prefer:

  • TSDoc for exported functions/classes/interfaces
  • short inline comments for tricky implementation details
  • section comments only where they improve readability

After editing, provide:

  1. Files changed
  2. Comments added
  3. Anything that should be documented in README.md

04 同仓库更多 Skills