@ia-ccun/code-agent-cli 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/config/agent/prompts/code-simplifier.md +9 -1
  2. package/config/agent/prompts/git-commit.md +8 -1
  3. package/config/agent/prompts/git-worktree.md +8 -1
  4. package/config/agent/skills/brainstorming/SKILL.md +9 -1
  5. package/config/agent/skills/code-review/SKILL.md +6 -0
  6. package/config/agent/skills/commit/SKILL.md +6 -0
  7. package/config/agent/skills/csv-data-summarizer/SKILL.md +7 -1
  8. package/config/agent/skills/dispatching-parallel-agents/SKILL.md +7 -1
  9. package/config/agent/skills/executing-plans/SKILL.md +7 -1
  10. package/config/agent/skills/find-skills/SKILL.md +9 -1
  11. package/config/agent/skills/finishing-a-development-branch/SKILL.md +8 -1
  12. package/config/agent/skills/frontend-design/SKILL.md +9 -1
  13. package/config/agent/skills/hello/SKILL.md +5 -0
  14. package/config/agent/skills/librarian/SKILL.md +10 -1
  15. package/config/agent/skills/markdown-to-html/SKILL.md +7 -1
  16. package/config/agent/skills/owasp-security/SKILL.md +12 -1
  17. package/config/agent/skills/pr/SKILL.md +6 -0
  18. package/config/agent/skills/receiving-code-review/SKILL.md +8 -1
  19. package/config/agent/skills/refactor/SKILL.md +6 -0
  20. package/config/agent/skills/requesting-code-review/SKILL.md +8 -1
  21. package/config/agent/skills/session-learning/SKILL.md +193 -0
  22. package/config/agent/skills/skill-creator/SKILL.md +8 -1
  23. package/config/agent/skills/subagent-driven-development/SKILL.md +7 -1
  24. package/config/agent/skills/systematic-debugging/SKILL.md +8 -1
  25. package/config/agent/skills/test-driven-development/SKILL.md +7 -1
  26. package/config/agent/skills/ui-ux-pro-max/SKILL.md +12 -1
  27. package/config/agent/skills/unit-test/SKILL.md +6 -0
  28. package/config/agent/skills/using-git-worktrees/SKILL.md +8 -1
  29. package/config/agent/skills/using-superpowers/SKILL.md +8 -1
  30. package/config/agent/skills/verification-before-completion/SKILL.md +10 -1
  31. package/config/agent/skills/writing-plans/SKILL.md +7 -1
  32. package/config/agent/skills/writing-skills/SKILL.md +7 -1
  33. package/dist/banner.js +1 -1
  34. package/dist/banner.js.map +1 -1
  35. package/package.json +1 -1
@@ -1,6 +1,14 @@
1
1
  ---
2
2
  name: code-simplifier
3
- description: "Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise."
3
+ description: "Simplifies and refines code for clarity and maintainability while preserving functionality."
4
+ triggers:
5
+ - "simplify code"
6
+ - "refine code"
7
+ - "clean up code"
8
+ - "代码简化"
9
+ - "优化代码"
10
+ - "代码重构"
11
+ - "代码整洁"
4
12
  author: xujianjiang
5
13
  ---
6
14
 
@@ -1,8 +1,15 @@
1
1
  ---
2
2
  name: git-commit
3
- description: "仅用 Git 分析改动并自动生成 conventional commit 信息(可选 emoji);必要时建议拆分提交,默认运行本地 Git 钩子(可 --no-verify 跳过)"
3
+ description: "分析 Git 改动并生成 conventional commit 信息,支持 emoji、提交拆分和 Git 钩子控制"
4
4
  allowed-tools: Read(**), Exec(git status, git diff, git add, git restore --staged, git commit, git rev-parse, git config), Write(.git/COMMIT_EDITMSG)
5
5
  argument-hint: "[--no-verify] [--all] [--amend] [--signoff] [--emoji] [--scope <scope>] [--type <type>]"
6
+ triggers:
7
+ - "git commit"
8
+ - "提交代码"
9
+ - "生成 commit"
10
+ - "commit message"
11
+ - "提交信息"
12
+ - "提交到 git"
6
13
  ---
7
14
 
8
15
  # examples:
@@ -1,8 +1,15 @@
1
1
  ---
2
2
  name: git-worktree
3
- description: "管理 Git worktree"
3
+ description: "管理 Git worktree,支持智能路径、IDE 集成和内容迁移"
4
4
  allowed-tools: Read(**), Exec(git worktree add, git worktree list, git worktree remove, git worktree prune, git branch, git checkout, git rev-parse, git stash, git cp, detect-ide, open-ide, which, command, basename, dirname)
5
5
  argument-hint: <add|list|remove|prune|migrate> [path] [-b <branch>] [-o|--open] [--track] [--guess-remote] [--detach] [--checkout] [--lock] [--migrate-from <source-path>] [--migrate-stash]
6
+ triggers:
7
+ - "git worktree"
8
+ - "worktree"
9
+ - "创建 worktree"
10
+ - "管理 worktree"
11
+ - "isolate branch"
12
+ - "独立分支"
6
13
  ---
7
14
 
8
15
  # examples:
@@ -1,7 +1,15 @@
1
1
  ---
2
2
  name: brainstorming
3
3
  author: xujianjiang
4
- description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
4
+ description: "Explore user intent, requirements and design before any creative work or implementation."
5
+ triggers:
6
+ - "brainstorm"
7
+ - "创意"
8
+ - "头脑风暴"
9
+ - "design this"
10
+ - "构思"
11
+ - "需求分析"
12
+ - "怎么实现"
5
13
  ---
6
14
 
7
15
  # Brainstorming Ideas Into Designs
@@ -2,6 +2,12 @@
2
2
  name: code-review
3
3
  description: "执行全面的代码审查,检查代码质量、安全性、性能和最佳实践。"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "code review"
7
+ - "代码审查"
8
+ - "review"
9
+ - "检查代码"
10
+ - "代码质量"
5
11
  ---
6
12
 
7
13
  # 代码审查 Skill
@@ -2,6 +2,12 @@
2
2
  name: commit
3
3
  description: "分析代码变更并生成规范的 Git commit 消息。"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "git commit"
7
+ - "提交代码"
8
+ - "commit"
9
+ - "生成提交"
10
+ - "commit message"
5
11
  ---
6
12
 
7
13
  # Git Commit Skill
@@ -1,9 +1,15 @@
1
1
  ---
2
2
  name: csv-data-summarizer
3
- description: "Analyzes CSV files, generates summary stats, and plots quick visualizations using Python and pandas."
3
+ description: "Analyzes CSV files, generates summary stats, and plots quick visualizations."
4
4
  metadata:
5
5
  version: 2.1.0
6
6
  dependencies: python>=3.8, pandas>=2.0.0, matplotlib>=3.7.0, seaborn>=0.12.0
7
+ triggers:
8
+ - "analyze CSV"
9
+ - "csv data"
10
+ - "数据统计"
11
+ - "CSV 分析"
12
+ - "plot CSV"
7
13
  ---
8
14
 
9
15
  # CSV Data Summarizer
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: dispatching-parallel-agents
3
3
  author: xujianjiang
4
- description: "Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies"
4
+ description: "Dispatch multiple independent tasks in parallel without shared state."
5
+ triggers:
6
+ - "parallel tasks"
7
+ - "并行任务"
8
+ - "多任务"
9
+ - "同时执行"
10
+ - "parallel"
5
11
  ---
6
12
 
7
13
  # Dispatching Parallel Agents
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: executing-plans
3
3
  author: xujianjiang
4
- description: "Use when you have a written implementation plan to execute in a separate session with review checkpoints"
4
+ description: "Execute written implementation plans with review checkpoints."
5
+ triggers:
6
+ - "execute plan"
7
+ - "执行计划"
8
+ - "implementation plan"
9
+ - "执行方案"
10
+ - "执行任务"
5
11
  ---
6
12
 
7
13
  # Executing Plans
@@ -1,6 +1,14 @@
1
1
  ---
2
2
  name: find-skills
3
- description: "Helps users discover and install agent skills when they ask questions like 'how do I do X', 'find a skill for X', 'is there a skill that can...', or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill."
3
+ description: "Discover and install agent skills from the open ecosystem."
4
+ triggers:
5
+ - "find skill"
6
+ - "有这个 skill 吗"
7
+ - "how do I do X"
8
+ - "帮我找 skill"
9
+ - "find a skill"
10
+ - "is there a skill"
11
+ - "扩展能力"
4
12
  ---
5
13
 
6
14
  # Find Skills
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: finishing-a-development-branch
3
3
  author: xujianjiang
4
- description: "Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup"
4
+ description: "Guide completion of development work with structured options for merge, PR, or cleanup."
5
+ triggers:
6
+ - "finish branch"
7
+ - "完成开发"
8
+ - "merge PR"
9
+ - "cleanup"
10
+ - "结束开发"
11
+ - "合并分支"
5
12
  ---
6
13
 
7
14
  # Finishing a Development Branch
@@ -1,7 +1,15 @@
1
1
  ---
2
2
  name: frontend-design
3
- description: "Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics."
3
+ description: "Create distinctive, production-grade frontend interfaces with high design quality."
4
4
  license: Complete terms in LICENSE.txt
5
+ triggers:
6
+ - "build frontend"
7
+ - "build web"
8
+ - "create component"
9
+ - "design page"
10
+ - "前端开发"
11
+ - "网页组件"
12
+ - "前端界面"
5
13
  ---
6
14
 
7
15
  This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
@@ -2,6 +2,11 @@
2
2
  name: hello
3
3
  description: "这是一个自定义 Skill 示例"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "hello"
7
+ - "你好"
8
+ - "示例"
9
+ - "example"
5
10
  ---
6
11
 
7
12
  # My Custom Skill
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  name: librarian
3
- description: "Research open-source libraries with evidence-backed answers and GitHub permalinks. Use when the user asks about library internals, needs implementation details with source code references, wants to understand why something was changed, or needs authoritative answers backed by actual code. Excels at navigating large open-source repos and providing citations to exact lines of code."
3
+ description: "Research open-source libraries with evidence-backed answers and GitHub permalinks."
4
+ triggers:
5
+ - "library internals"
6
+ - "how does X work"
7
+ - "source code of"
8
+ - "github permalink"
9
+ - "库源码"
10
+ - "开源库"
11
+ - "为什么这个库"
12
+ - "查看源码"
4
13
  ---
5
14
 
6
15
  # Librarian
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: markdown-to-html
3
- description: "将 Markdown 转换为精美的 HTML 页面 "
3
+ description: "将 Markdown 转换为精美的 HTML 页面"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "markdown to html"
7
+ - "MD 转 HTML"
8
+ - "markdown html"
9
+ - "转换 HTML"
10
+ - "HTML 页面"
5
11
  ---
6
12
 
7
13
  # Baoyu Markdown to HTML
@@ -1,7 +1,18 @@
1
1
  ---
2
2
  name: owasp-security
3
3
  author: xujianjiang
4
- description: "Implement secure coding practices following OWASP Top 10. Use when preventing security vulnerabilities, implementing authentication, securing APIs, or conducting security reviews. Triggers on OWASP, security, XSS, SQL injection, CSRF, authentication security, secure coding, vulnerability."
4
+ description: "Implement secure coding practices following OWASP Top 10."
5
+ triggers:
6
+ - "OWASP"
7
+ - "security"
8
+ - "XSS"
9
+ - "SQL injection"
10
+ - "CSRF"
11
+ - "secure coding"
12
+ - "vulnerability"
13
+ - "安全漏洞"
14
+ - "安全审计"
15
+ - "authentication"
5
16
  ---
6
17
 
7
18
  # OWASP Top 10 Security
@@ -2,6 +2,12 @@
2
2
  name: pr
3
3
  description: "分析代码变更并生成规范的 Pull Request 描述。"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "generate PR"
7
+ - "PR 描述"
8
+ - "pull request"
9
+ - "创建 PR"
10
+ - "PR description"
5
11
  ---
6
12
 
7
13
  # Git PR 描述 Skill
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: receiving-code-review
3
3
  author: xujianjiang
4
- description: "Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation"
4
+ description: "Handle code review feedback with technical rigor and verification."
5
+ triggers:
6
+ - "code review feedback"
7
+ - "review comments"
8
+ - "review 建议"
9
+ - "收到 review"
10
+ - "review 反馈"
11
+ - "审查意见"
5
12
  ---
6
13
 
7
14
  # Code Review Reception
@@ -2,6 +2,12 @@
2
2
  name: refactor
3
3
  description: "对代码进行重构,提高可读性和可维护性,同时保持功能不变。"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "refactor"
7
+ - "重构"
8
+ - "代码重构"
9
+ - "优化代码"
10
+ - "reformat"
5
11
  ---
6
12
 
7
13
  # 重构代码 Skill
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: requesting-code-review
3
3
  author: xujianjiang
4
- description: "Use when completing tasks, implementing major features, or before merging to verify work meets requirements"
4
+ description: "Request code review to verify work meets requirements before merging."
5
+ triggers:
6
+ - "need review"
7
+ - "请求审查"
8
+ - "before merge"
9
+ - "code review"
10
+ - "代码审查"
11
+ - "PR review"
5
12
  ---
6
13
 
7
14
  # Requesting Code Review
@@ -0,0 +1,193 @@
1
+ ---
2
+ name: session-learning
3
+ authro: xujianjiang
4
+ description: "对话经验总结与 Skills 沉淀工具,提取经验教训并优先扩充现有 skills。"
5
+ triggers:
6
+ - "总结"
7
+ - "经验"
8
+ - "教训"
9
+ - "学习"
10
+ - "复盘"
11
+ - "沉淀"
12
+ - "experience"
13
+ - "learning"
14
+ - "summary"
15
+ ---
16
+
17
+ # 对话经验总结与 Skills 沉淀
18
+
19
+ ## 📋 概述
20
+
21
+ 此 skill 用于在对话任务完成后,系统性地总结经验教训并沉淀到仓库的 skills 中,持续提升 AICode 助手的能力。
22
+
23
+ ---
24
+
25
+ ## 🎯 触发时机
26
+
27
+ 当以下情况发生时使用此 skill:
28
+ - 用户请求总结本轮对话的经验
29
+ - 用户询问是否需要补充/更新 skills
30
+ - 一个复杂任务成功完成后,主动询问用户是否需要沉淀经验
31
+ - 用户使用关键词:总结经验、沉淀、学习、skill 补充
32
+
33
+ ---
34
+
35
+ ## 📝 执行流程
36
+
37
+ ### 第一步:对话上下文分析
38
+
39
+ 1. **回顾对话历史**,识别:
40
+ - 任务目标是什么
41
+ - 遇到了哪些挑战或问题
42
+ - 最终解决方案是什么
43
+ - 任务是否成功完成
44
+
45
+ 2. **提取关键信息**:
46
+ - 涉及的技术领域(如 VS Code 服务、TypeScript、Rust 等)
47
+ - 使用的工具或命令
48
+ - 发现的最佳实践
49
+ - 踩过的坑和解决方法
50
+
51
+ ### 第二步:经验教训分析
52
+
53
+ **仅在任务成功完成时**进行深度分析:
54
+
55
+ 1. **成功因素分析**:
56
+ - 什么方法/策略有效
57
+ - 哪些工具使用得当
58
+ - 发现了什么规律或模式
59
+
60
+ 2. **可复用知识提炼**:
61
+ - 通用的解决方案模板
62
+ - 可重复使用的代码模式
63
+ - 值得记录的注意事项
64
+
65
+ 3. **失败教训总结**(如果过程中有失败):
66
+ - 走过的弯路
67
+ - 错误的假设
68
+ - 需要避免的陷阱
69
+
70
+ ### 第三步:Skills 匹配与更新
71
+
72
+ 1. **浏览现有 skills**
73
+
74
+ 首先列出 `.aicode-cli/agent/skills/` 目录下的所有 skills:
75
+
76
+ ```
77
+ 现有 skills 列表:
78
+ - xxxxx
79
+ - xxxxx
80
+
81
+ ```
82
+
83
+ 2. **判断扩充策略**
84
+
85
+ **优先级顺序**(从高到低):
86
+
87
+ | 优先级 | 策略 | 适用场景 |
88
+ |--------|------|----------|
89
+ | 1️⃣ | 扩充现有 skill 的 docs | 经验与现有 skill 主题直接相关 |
90
+ | 2️⃣ | 补充现有 skill 的 SKILL.md | 发现了现有 skill 缺失的核心知识 |
91
+ | 3️⃣ | 新增独立 skill | 经验属于全新领域,无法归入现有 skill |
92
+
93
+ 3. **内容定位决策表**
94
+
95
+ | 经验类型 | 归属 skill | 具体位置 |
96
+ ------|----------|------------|----------|
97
+ | xxx | xxx | 对应 docs/*.md |
98
+
99
+ ### 第四步:生成更新建议
100
+
101
+ 输出格式:
102
+
103
+ ```markdown
104
+ ## 📊 对话总结
105
+
106
+ **任务**: [简述任务目标]
107
+ **结果**: ✅ 成功 / ❌ 失败 / ⏳ 进行中
108
+
109
+ ## 💡 经验教训
110
+
111
+ ### 成功经验
112
+ 1. [经验1]
113
+ 2. [经验2]
114
+
115
+ ### 踩坑记录
116
+ 1. [坑点1] - [解决方案]
117
+
118
+ ## 📝 Skills 更新建议
119
+
120
+ ### 建议更新: [skill 名称]
121
+
122
+ **更新类型**: 扩充 docs / 补充 SKILL.md / 新增 skill
123
+ **目标文件**: [具体文件路径]
124
+ **更新内容**:
125
+
126
+ [具体的内容草稿]
127
+ ```
128
+
129
+ ### 第五步:用户确认
130
+
131
+ **必须使用 `AskUserQuestion` 工具**询问用户是否需要执行更新,**禁止**直接通过文本对话询问。
132
+
133
+ **工具调用配置:**
134
+
135
+ - `questions`: 包含一个问题对象
136
+ - `header`: "Skills 更新"
137
+ - `question`: "根据上述分析,是否需要我帮你更新这些 skills?"
138
+ - `options`:
139
+ - 选项 1:
140
+ - `label`: "更新全部"
141
+ - `description`: "应用所有建议的更新"
142
+ - 选项 2:
143
+ - `label`: "暂不更新"
144
+ - `description`: "结束当前任务,不进行更改"
145
+
146
+ **处理用户选择:**
147
+
148
+ 1. **用户选择"更新全部"**:
149
+ - 直接执行第四步中列出的所有更新建议。
150
+
151
+ 2. **用户选择"暂不更新"**:
152
+ - 结束任务,不进行任何文件修改。
153
+
154
+ ---
155
+
156
+ ## ⚠️ 注意事项
157
+
158
+ 1. **不要过度总结** - 只提取真正有价值的、可复用的经验
159
+ 2. **保持简洁** - 每条经验应该简明扼要,避免冗长
160
+ 3. **优先扩充** - 始终优先考虑扩充现有 skills,而非创建新的
161
+ 4. **尊重用户** - 任何更新都必须先征得用户同意
162
+ 5. **避免重复** - 更新前检查是否已存在类似内容
163
+ 6. **保持一致** - 新内容应与现有 skill 的风格保持一致
164
+
165
+ ---
166
+
167
+ ## 📐 更新规范
168
+
169
+ ### 扩充 docs 文件
170
+
171
+ 遵循现有文档的结构和风格,通常包括:
172
+ - 简短的概述
173
+ - 具体的代码示例
174
+ - 注意事项或常见问题
175
+
176
+ ### 补充 SKILL.md
177
+
178
+ 通常添加到以下位置:
179
+ - 路由表(新增场景-文档映射)
180
+ - 快速索引(新增常用条目)
181
+ - 注意事项(新增通用提醒)
182
+
183
+ ### 新增独立 skill
184
+
185
+ 必须包含:
186
+ - `SKILL.md` - 核心说明文件
187
+ - `docs/` 目录 - 详细文档(如需要)
188
+
189
+ ---
190
+
191
+ ## 🔗 相关资源
192
+
193
+ - Skills 目录: `.aicode-cli/agent/skills/`
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: skill-creator
3
3
  author: xujianjiang
4
- description: "Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy."
4
+ description: "Create, modify, and improve agent skills with performance measurement."
5
+ triggers:
6
+ - "create skill"
7
+ - "创建 skill"
8
+ - "new skill"
9
+ - "skill 开发"
10
+ - "编辑 skill"
11
+ - "优化 skill"
5
12
  ---
6
13
 
7
14
  # Skill Creator
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: subagent-driven-development
3
3
  author: xujianjiang
4
- description: "Use when executing implementation plans with independent tasks in the current session"
4
+ description: "Execute plans by dispatching subagents for independent tasks."
5
+ triggers:
6
+ - "subagent"
7
+ - "子代理"
8
+ - "dispatch"
9
+ - "多代理"
10
+ - "执行任务"
5
11
  ---
6
12
 
7
13
  # Subagent-Driven Development
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: systematic-debugging
3
3
  author: xujianjiang
4
- description: "Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes"
4
+ description: "Systematic debugging approach for bugs, test failures, and unexpected behavior."
5
+ triggers:
6
+ - "debug"
7
+ - "bug"
8
+ - "调试"
9
+ - "fix bug"
10
+ - "修复"
11
+ - "错误"
5
12
  ---
6
13
 
7
14
  # Systematic Debugging
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: test-driven-development
3
3
  author: xujianjiang
4
- description: "Use when implementing any feature or bugfix, before writing implementation code"
4
+ description: "Test-driven development approach before writing implementation code."
5
+ triggers:
6
+ - "TDD"
7
+ - "test driven"
8
+ - "单元测试"
9
+ - "先写测试"
10
+ - "测试驱动"
5
11
  ---
6
12
 
7
13
  # Test-Driven Development (TDD)
@@ -1,6 +1,17 @@
1
1
  ---
2
2
  name: ui-ux-pro-max
3
- description: "UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check, analyze UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Analysis: detect style, identify colors, find fonts, analyze design patterns."
3
+ description: "UI/UX design intelligence with 50 styles, 21 palettes, 50 font pairings, 20 charts, and 8 tech stacks."
4
+ triggers:
5
+ - "build frontend"
6
+ - "design UI"
7
+ - "create component"
8
+ - "landing page"
9
+ - "dashboard"
10
+ - "UI/UX"
11
+ - "build page"
12
+ - "前端界面"
13
+ - "设计界面"
14
+ - "组件开发"
4
15
  ---
5
16
 
6
17
  # UI/UX Pro Max - Design Intelligence
@@ -2,6 +2,12 @@
2
2
  name: unit-test
3
3
  description: "为选定的代码文件生成单元测试。"
4
4
  author: xujianjiang
5
+ triggers:
6
+ - "unit test"
7
+ - "单元测试"
8
+ - "单测"
9
+ - "generate test"
10
+ - "写测试"
5
11
  ---
6
12
 
7
13
  # 生成单元测试 Skill
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: using-git-worktrees
3
3
  author: xujianjiang
4
- description: "Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification"
4
+ description: "Create isolated git worktrees with smart directory selection and safety verification."
5
+ triggers:
6
+ - "git worktree"
7
+ - "isolate"
8
+ - "独立分支开发"
9
+ - "worktree"
10
+ - "隔离开发"
11
+ - "多分支"
5
12
  ---
6
13
 
7
14
  # Using Git Worktrees
@@ -1,7 +1,14 @@
1
1
  ---
2
2
  name: using-superpowers
3
3
  author: xujianjiang
4
- description: "Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions"
4
+ description: "Establish how to find and use skills in any conversation."
5
+ triggers:
6
+ - "what can you do"
7
+ - "你有啥能力"
8
+ - "superpowers"
9
+ - "能力"
10
+ - "功能"
11
+ - "skill"
5
12
  ---
6
13
 
7
14
  <SUBAGENT-STOP>
@@ -1,7 +1,16 @@
1
1
  ---
2
2
  name: verification-before-completion
3
3
  author: xujianjiang
4
- description: "Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always"
4
+ description: "Verify work is complete before claiming success. Requires running verification commands."
5
+ triggers:
6
+ - "work is complete"
7
+ - "all tests pass"
8
+ - "verify"
9
+ - "before commit"
10
+ - "before PR"
11
+ - "验证完成"
12
+ - "测试通过"
13
+ - "确认完成"
5
14
  ---
6
15
 
7
16
  # Verification Before Completion
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: writing-plans
3
3
  author: xujianjiang
4
- description: "Use when you have a spec or requirements for a multi-step task, before touching code"
4
+ description: "Write implementation plans from specs or requirements for multi-step tasks."
5
+ triggers:
6
+ - "write plan"
7
+ - "写计划"
8
+ - "制定方案"
9
+ - "implementation"
10
+ - "规划"
5
11
  ---
6
12
 
7
13
  # Writing Plans
@@ -1,7 +1,13 @@
1
1
  ---
2
2
  name: writing-skills
3
3
  author: xujianjiang
4
- description: "Use when creating new skills, editing existing skills, or verifying skills work before deployment"
4
+ description: "Create new skills, edit existing skills, or verify skills before deployment."
5
+ triggers:
6
+ - "write skill"
7
+ - "写 skill"
8
+ - "edit skill"
9
+ - "skill 开发"
10
+ - "创建 skill"
5
11
  ---
6
12
 
7
13
  # Writing Skills
package/dist/banner.js CHANGED
@@ -12,7 +12,7 @@ try {
12
12
  const bannerPath = join(__dirname, '..', 'scripts', 'banner.txt');
13
13
  defaultBanner = readFileSync(bannerPath, 'utf-8');
14
14
  }
15
- catch (e) {
15
+ catch {
16
16
  // fallback
17
17
  defaultBanner = ``;
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"banner.js","sourceRoot":"","sources":["../src/banner.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,IA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C;QAChC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;QAChC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-ccun/code-agent-cli",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent原理实现的的编码智能体(供学习使用)。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",