From ba107a54a8fe11489ecad61afba250d47420bf59 Mon Sep 17 00:00:00 2001 From: John Qiu Date: Sun, 17 May 2026 13:55:55 +0930 Subject: [PATCH] fix(req-prototype): fix arguments regex causing Skill loader error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arguments 字段中 [REQ-ID] 被 Skill loader 编译为 JS regex 时, Q-I 字符范围(ASCII 81 > 73)触发 "range out of order" 错误。 改为 [subcommand] [options] 避免字符类范围问题。 Co-Authored-By: Claude Sonnet 4.6 --- skills-req/req-prototype-plugin/skills/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills-req/req-prototype-plugin/skills/SKILL.md b/skills-req/req-prototype-plugin/skills/SKILL.md index cd2e62b..1415643 100644 --- a/skills-req/req-prototype-plugin/skills/SKILL.md +++ b/skills-req/req-prototype-plugin/skills/SKILL.md @@ -1,7 +1,7 @@ --- name: req-prototype description: 原型生成与关联。支持两种模式:(1) Stitch AI 基于 PRD 自动生成 UI 原型截图;(2) AI 编写 HTML 原型并上传关联到需求详情页 iframe。当执行 /req prototype 或需要生成/上传界面原型时使用。 -arguments: [REQ-ID] [upload|edit|variant] [--device desktop|mobile|tablet] [--model pro|flash] [--note "..."] [--prompt "..."] +arguments: [subcommand] [options] --- # 原型设计 Skill (req-prototype)