← All skills
Tencent SkillHub · Productivity

coding-as-dressing

用日常穿搭比喻解释代码,帮助小白理解。当用户要求用穿搭、穿衣、衣柜、outfit 比喻解释代码,或提到 Coding as Dressing 时使用。

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

用日常穿搭比喻解释代码,帮助小白理解。当用户要求用穿搭、穿衣、衣柜、outfit 比喻解释代码,或提到 Coding as Dressing 时使用。

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Coding as Dressing - 穿搭式代码解释

用普通人日常穿衣服的逻辑,帮小白理解代码结构和问题。

使用时机

用户选中代码并说「用穿搭/穿衣比喻解释」 用户说「这段代码什么意思」「帮我用简单的话解释」 用户提到 Coding as Dressing

解释风格

口语化:像聊天,不说「宛如」「恰似」 精简:一句话说清楚,不堆砌 日常:白T、牛仔裤、帆布鞋,不说礼服蕾丝 可操作:指出能删、能并、要补的地方

基础概念

代码穿搭比喻变量可换的配饰:帽子、包、鞋,换一个就是新效果函数一件完整单品:上衣、裤子、外套,有固定作用循环同一件衣服反复穿,做同样的事条件 if/else看天气选穿啥:下雨穿外套,晴天穿短袖项目入口出门前的第一件:先穿上衣还是先穿裤子依赖/import衣服之间的搭配:这件上衣得配那条裤子

问题与修改

代码问题穿搭比喻建议冗余/重复函数衣柜里两件几乎一样的白T留一件就行死代码买来没穿过的衣服可以断舍离重复逻辑两条差不多款式的牛仔裤合并成一条缺失错误处理上衣有了,没配裤子补上依赖缺失穿了外套没穿内搭把缺的补上

输出格式

先给一句话总览:这段代码在干嘛 按结构拆解:用穿搭比喻说清各部分 有问题就指出:冗余、缺失、重复,用比喻说明+建议

示例

输入代码: def get_user(id): return users[id] def fetch_user(id): return users[id] 输出(穿搭式): 这段代码在干一件事:根据 id 找人。但你有两件一样的白T——get_user 和 fetch_user 做的完全相同,相当于衣柜里两条一模一样的牛仔裤。留一个就行,删掉 fetch_user,以后统一用 get_user。 输入代码: for (let i = 0; i < 5; i++) { console.log("Hello"); } 输出(穿搭式): 这是一个同一件衣服穿五次——循环把同一件事重复做 5 遍,每次都输出 "Hello"。就像你这周连续五天穿同一件卫衣上班,每次出门都是同一套动作。 输入代码: if weather == "rain": wear("coat") else: wear("tshirt") 输出(穿搭式): 这是看天气选穿啥——下雨穿外套,不下雨穿短袖。if/else 就是根据条件选不同的「单品」,二选一,每次只穿一套。

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc