跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/natureco-official/natureco-cli/code-explanation

ChatGPT code-explanation skill for function behavior and time cost

Use supplied code to explain inputs, outputs, operations, and design. Check runtime complexity and edge behavior separately.

中文

Install in ChatGPT

A ChatGPT workspace with skill creation enabled. Verify the scenario using supplied plain text in chat.

  1. In a ChatGPT workspace with skill creation enabled, open Plugins → Skills → Create → Create with editor.
  2. Create a skill in the editor and adapt the text-only `code-explanation` workflow from the pinned GitHub source into its instructions.
  3. Save the skill, then type @ in a new chat to select it and try the example.

Example task

Manually select code-explanation and explain this fictional filter to a teammate. Cover the output order and how time changes with input size.
snippet from fictional sign registry
`def visible_names(rows): return [r.name for r in rows if r.visible]`
example records `Fern:visible`, `Oak:hidden`, `Ash:visible`
constraint preserve input order

What to check

Explain that `Oak:hidden` is skipped and `Fern:visible` and `Ash:visible` keep their order, giving `result=[Fern, Ash]`. A single pass has `O(n)` time.

Original SKILL.md on GitHub · Updated 2026-11-14

Frequently asked question

When should I state complexity assumptions?

Identify the input size and assumptions about property access and output handling.

Related skills from this repository

  • ChatGPT message-summarization skill for decisions and blockers
Browse ChatGPT skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯