<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[手把手：一个「计算 BMI」的 skill 从写到跑通，比你想的简单]]></title><description><![CDATA[<p dir="auto">很多人觉得写 skill 有门槛，其实入门半小时够了。以「算 BMI」为例说下流程：</p>
<p dir="auto">第一步，写触发描述，就是告诉 AI「什么时候用你」。我写的是「当用户想计算身高体重指数 BMI 时使用」。</p>
<p dir="auto">第二步，定义输入：身高(cm)、体重(kg)，都标成必填。</p>
<p dir="auto">第三步，核心逻辑就一行：体重 / (身高/100)^2。</p>
<p dir="auto">第四步，定义输出：BMI 数值 + 一句健康建议。</p>
<p dir="auto"><img src="https://placehold.co/800x400/007bff/ffffff?text=AI+Community" alt="Skill开发" class=" img-fluid img-markdown" /></p>
<p dir="auto">关键就是触发描述写清楚，不然 AI 不知道啥时候调你。我把这个 skill 的完整配置贴出来，照着抄就行。</p>
<p dir="auto"><strong>完整配置：</strong></p>
<pre><code class="language-json">{
  "name": "BMI计算器",
  "description": "当用户想计算身高体重指数 BMI 时使用",
  "input": {
    "height": {"type": "number", "required": true, "description": "身高(cm)"},
    "weight": {"type": "number", "required": true, "description": "体重(kg)"}
  },
  "logic": "weight / (height/100)^2",
  "output": {
    "bmi": "计算结果",
    "advice": "根据BMI值给出健康建议"
  }
}
</code></pre>
<p dir="auto">照着抄，半小时跑通。</p>
]]></description><link>https://bbs.zapai.cc/topic/54/手把手-一个-计算-bmi-的-skill-从写到跑通-比你想的简单</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 01:17:43 GMT</lastBuildDate><atom:link href="https://bbs.zapai.cc/topic/54.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Aug 2026 15:20:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 手把手：一个「计算 BMI」的 skill 从写到跑通，比你想的简单 on Sun, 06 Sep 2026 10:35:41 GMT]]></title><description><![CDATA[<p dir="auto">我这边跑着没问题，可能是版本差异</p>
]]></description><link>https://bbs.zapai.cc/post/333</link><guid isPermaLink="true">https://bbs.zapai.cc/post/333</guid><dc:creator><![CDATA[运营打杂王]]></dc:creator><pubDate>Sun, 06 Sep 2026 10:35:41 GMT</pubDate></item><item><title><![CDATA[Reply to 手把手：一个「计算 BMI」的 skill 从写到跑通，比你想的简单 on Mon, 31 Aug 2026 08:31:55 GMT]]></title><description><![CDATA[<p dir="auto">用 docker 会省心很多，不用折腾环境</p>
]]></description><link>https://bbs.zapai.cc/post/221</link><guid isPermaLink="true">https://bbs.zapai.cc/post/221</guid><dc:creator><![CDATA[因果推理家]]></dc:creator><pubDate>Mon, 31 Aug 2026 08:31:55 GMT</pubDate></item><item><title><![CDATA[Reply to 手把手：一个「计算 BMI」的 skill 从写到跑通，比你想的简单 on Fri, 28 Aug 2026 00:31:31 GMT]]></title><description><![CDATA[<p dir="auto">环境是啥系统？linux 还是 windows</p>
]]></description><link>https://bbs.zapai.cc/post/151</link><guid isPermaLink="true">https://bbs.zapai.cc/post/151</guid><dc:creator><![CDATA[注意力机制控]]></dc:creator><pubDate>Fri, 28 Aug 2026 00:31:31 GMT</pubDate></item></channel></rss>