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

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 +2 -1
  5. package/config/agent/skills/code-review/SKILL.md +1 -1
  6. package/config/agent/skills/commit/SKILL.md +1 -1
  7. package/config/agent/skills/csv-data-summarizer/SKILL.md +2 -1
  8. package/config/agent/skills/dispatching-parallel-agents/SKILL.md +1 -1
  9. package/config/agent/skills/executing-plans/SKILL.md +1 -1
  10. package/config/agent/skills/find-skills/SKILL.md +2 -1
  11. package/config/agent/skills/finishing-a-development-branch/SKILL.md +1 -1
  12. package/config/agent/skills/frontend-design/SKILL.md +1 -1
  13. package/config/agent/skills/hello/SKILL.md +2 -1
  14. package/config/agent/skills/librarian/SKILL.md +2 -1
  15. package/config/agent/skills/markdown-to-html/SKILL.md +2 -1
  16. package/config/agent/skills/owasp-security/SKILL.md +1 -1
  17. package/config/agent/skills/pr/SKILL.md +1 -1
  18. package/config/agent/skills/receiving-code-review/SKILL.md +1 -1
  19. package/config/agent/skills/refactor/SKILL.md +1 -1
  20. package/config/agent/skills/requesting-code-review/SKILL.md +1 -1
  21. package/config/agent/skills/session-learning/SKILL.md +184 -0
  22. package/config/agent/skills/skill-creator/SKILL.md +1 -1
  23. package/config/agent/skills/subagent-driven-development/SKILL.md +1 -1
  24. package/config/agent/skills/systematic-debugging/SKILL.md +1 -1
  25. package/config/agent/skills/test-driven-development/SKILL.md +1 -1
  26. package/config/agent/skills/ui-ux-pro-max/SKILL.md +2 -1
  27. package/config/agent/skills/unit-test/SKILL.md +1 -1
  28. package/config/agent/skills/using-git-worktrees/SKILL.md +1 -1
  29. package/config/agent/skills/using-superpowers/SKILL.md +1 -1
  30. package/config/agent/skills/verification-before-completion/SKILL.md +1 -1
  31. package/config/agent/skills/writing-plans/SKILL.md +1 -1
  32. package/config/agent/skills/writing-skills/SKILL.md +1 -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,8 @@
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. Use when brainstorming ideas, designing features, analyzing requirements, or figuring out how to implement something."
5
+ disable-model-invocation: true
5
6
  ---
6
7
 
7
8
  # Brainstorming Ideas Into Designs
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: code-review
3
- description: "执行全面的代码审查,检查代码质量、安全性、性能和最佳实践。"
3
+ description: "执行全面的代码审查,检查代码质量、安全性、性能和最佳实践。Use when reviewing code, conducting code reviews, or checking code quality."
4
4
  author: xujianjiang
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: commit
3
- description: "分析代码变更并生成规范的 Git commit 消息。"
3
+ description: "分析代码变更并生成规范的 Git commit 消息。Use when committing code, generating commit messages, or submitting to git."
4
4
  author: xujianjiang
5
5
  ---
6
6
 
@@ -1,6 +1,7 @@
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 using Python and pandas. Use when analyzing CSV data, generating data statistics, or creating data visualizations."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: 2.1.0
6
7
  dependencies: python>=3.8, pandas>=2.0.0, matplotlib>=3.7.0, seaborn>=0.12.0
@@ -1,7 +1,7 @@
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. Use when facing parallel tasks, handling multiple independent jobs, or executing concurrent operations."
5
5
  ---
6
6
 
7
7
  # Dispatching Parallel Agents
@@ -1,7 +1,7 @@
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. Use when executing plans, following implementation plans, or completing planned tasks."
5
5
  ---
6
6
 
7
7
  # Executing Plans
@@ -1,6 +1,7 @@
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. Use when asking how to do something, finding skills, looking for capabilities, or needing functionality that might exist as an installable skill."
4
+ disable-model-invocation: true
4
5
  ---
5
6
 
6
7
  # Find Skills
@@ -1,7 +1,7 @@
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. Use when finishing development, merging PRs, or cleaning up branches."
5
5
  ---
6
6
 
7
7
  # Finishing a Development Branch
@@ -1,6 +1,6 @@
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. Use when building frontend, creating web components, designing pages, or implementing UI."
4
4
  license: Complete terms in LICENSE.txt
5
5
  ---
6
6
 
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: hello
3
- description: "这是一个自定义 Skill 示例"
3
+ description: "Custom skill example. Use when testing skill functionality or as a template for creating new skills."
4
4
  author: xujianjiang
5
+ disable-model-invocation: true
5
6
  ---
6
7
 
7
8
  # My Custom Skill
@@ -1,6 +1,7 @@
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. Use when asking about library internals, implementation details, source code references, or why something was changed."
4
+ disable-model-invocation: true
4
5
  ---
5
6
 
6
7
  # Librarian
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: markdown-to-html
3
- description: "将 Markdown 转换为精美的 HTML 页面 "
3
+ description: "Convert Markdown documents to beautiful HTML presentation pages. Use when converting Markdown to HTML, creating HTML pages from MD files, or generating web pages."
4
4
  author: xujianjiang
5
+ disable-model-invocation: true
5
6
  ---
6
7
 
7
8
  # Baoyu Markdown to HTML
@@ -1,7 +1,7 @@
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. Use when dealing with OWASP, security, XSS, SQL injection, CSRF, secure coding, or vulnerabilities."
5
5
  ---
6
6
 
7
7
  # OWASP Top 10 Security
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pr
3
- description: "分析代码变更并生成规范的 Pull Request 描述。"
3
+ description: "分析代码变更并生成规范的 Pull Request 描述。Use when generating PR descriptions, creating pull requests, or documenting changes."
4
4
  author: xujianjiang
5
5
  ---
6
6
 
@@ -1,7 +1,7 @@
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. Use when receiving code review feedback, implementing review comments, or handling review suggestions."
5
5
  ---
6
6
 
7
7
  # Code Review Reception
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: refactor
3
- description: "对代码进行重构,提高可读性和可维护性,同时保持功能不变。"
3
+ description: "对代码进行重构,提高可读性和可维护性,同时保持功能不变。Use when refactoring code, improving code readability, or optimizing code structure."
4
4
  author: xujianjiang
5
5
  ---
6
6
 
@@ -1,7 +1,7 @@
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. Use when needing review, requesting code review, or before merging PRs."
5
5
  ---
6
6
 
7
7
  # Requesting Code Review
@@ -0,0 +1,184 @@
1
+ ---
2
+ name: session-learning
3
+ author: xujianjiang
4
+ description: "Summarize conversation experiences and 沉淀 skills. Use when summarizing lessons learned, refining skills, reflecting on experience, or doing post-task reviews."
5
+ disable-model-invocation: true
6
+ ---
7
+
8
+ # 对话经验总结与 Skills 沉淀
9
+
10
+ ## 📋 概述
11
+
12
+ 此 skill 用于在对话任务完成后,系统性地总结经验教训并沉淀到仓库的 skills 中,持续提升 AICode 助手的能力。
13
+
14
+ ---
15
+
16
+ ## 🎯 触发时机
17
+
18
+ 当以下情况发生时使用此 skill:
19
+ - 用户请求总结本轮对话的经验
20
+ - 用户询问是否需要补充/更新 skills
21
+ - 一个复杂任务成功完成后,主动询问用户是否需要沉淀经验
22
+ - 用户使用关键词:总结经验、沉淀、学习、skill 补充
23
+
24
+ ---
25
+
26
+ ## 📝 执行流程
27
+
28
+ ### 第一步:对话上下文分析
29
+
30
+ 1. **回顾对话历史**,识别:
31
+ - 任务目标是什么
32
+ - 遇到了哪些挑战或问题
33
+ - 最终解决方案是什么
34
+ - 任务是否成功完成
35
+
36
+ 2. **提取关键信息**:
37
+ - 涉及的技术领域(如 VS Code 服务、TypeScript、Rust 等)
38
+ - 使用的工具或命令
39
+ - 发现的最佳实践
40
+ - 踩过的坑和解决方法
41
+
42
+ ### 第二步:经验教训分析
43
+
44
+ **仅在任务成功完成时**进行深度分析:
45
+
46
+ 1. **成功因素分析**:
47
+ - 什么方法/策略有效
48
+ - 哪些工具使用得当
49
+ - 发现了什么规律或模式
50
+
51
+ 2. **可复用知识提炼**:
52
+ - 通用的解决方案模板
53
+ - 可重复使用的代码模式
54
+ - 值得记录的注意事项
55
+
56
+ 3. **失败教训总结**(如果过程中有失败):
57
+ - 走过的弯路
58
+ - 错误的假设
59
+ - 需要避免的陷阱
60
+
61
+ ### 第三步:Skills 匹配与更新
62
+
63
+ 1. **浏览现有 skills**
64
+
65
+ 首先列出 `.aicode-cli/agent/skills/` 目录下的所有 skills:
66
+
67
+ ```
68
+ 现有 skills 列表:
69
+ - xxxxx
70
+ - xxxxx
71
+
72
+ ```
73
+
74
+ 2. **判断扩充策略**
75
+
76
+ **优先级顺序**(从高到低):
77
+
78
+ | 优先级 | 策略 | 适用场景 |
79
+ |--------|------|----------|
80
+ | 1️⃣ | 扩充现有 skill 的 docs | 经验与现有 skill 主题直接相关 |
81
+ | 2️⃣ | 补充现有 skill 的 SKILL.md | 发现了现有 skill 缺失的核心知识 |
82
+ | 3️⃣ | 新增独立 skill | 经验属于全新领域,无法归入现有 skill |
83
+
84
+ 3. **内容定位决策表**
85
+
86
+ | 经验类型 | 归属 skill | 具体位置 |
87
+ ------|----------|------------|----------|
88
+ | xxx | xxx | 对应 docs/*.md |
89
+
90
+ ### 第四步:生成更新建议
91
+
92
+ 输出格式:
93
+
94
+ ```markdown
95
+ ## 📊 对话总结
96
+
97
+ **任务**: [简述任务目标]
98
+ **结果**: ✅ 成功 / ❌ 失败 / ⏳ 进行中
99
+
100
+ ## 💡 经验教训
101
+
102
+ ### 成功经验
103
+ 1. [经验1]
104
+ 2. [经验2]
105
+
106
+ ### 踩坑记录
107
+ 1. [坑点1] - [解决方案]
108
+
109
+ ## 📝 Skills 更新建议
110
+
111
+ ### 建议更新: [skill 名称]
112
+
113
+ **更新类型**: 扩充 docs / 补充 SKILL.md / 新增 skill
114
+ **目标文件**: [具体文件路径]
115
+ **更新内容**:
116
+
117
+ [具体的内容草稿]
118
+ ```
119
+
120
+ ### 第五步:用户确认
121
+
122
+ **必须使用 `AskUserQuestion` 工具**询问用户是否需要执行更新,**禁止**直接通过文本对话询问。
123
+
124
+ **工具调用配置:**
125
+
126
+ - `questions`: 包含一个问题对象
127
+ - `header`: "Skills 更新"
128
+ - `question`: "根据上述分析,是否需要我帮你更新这些 skills?"
129
+ - `options`:
130
+ - 选项 1:
131
+ - `label`: "更新全部"
132
+ - `description`: "应用所有建议的更新"
133
+ - 选项 2:
134
+ - `label`: "暂不更新"
135
+ - `description`: "结束当前任务,不进行更改"
136
+
137
+ **处理用户选择:**
138
+
139
+ 1. **用户选择"更新全部"**:
140
+ - 直接执行第四步中列出的所有更新建议。
141
+
142
+ 2. **用户选择"暂不更新"**:
143
+ - 结束任务,不进行任何文件修改。
144
+
145
+ ---
146
+
147
+ ## ⚠️ 注意事项
148
+
149
+ 1. **不要过度总结** - 只提取真正有价值的、可复用的经验
150
+ 2. **保持简洁** - 每条经验应该简明扼要,避免冗长
151
+ 3. **优先扩充** - 始终优先考虑扩充现有 skills,而非创建新的
152
+ 4. **尊重用户** - 任何更新都必须先征得用户同意
153
+ 5. **避免重复** - 更新前检查是否已存在类似内容
154
+ 6. **保持一致** - 新内容应与现有 skill 的风格保持一致
155
+
156
+ ---
157
+
158
+ ## 📐 更新规范
159
+
160
+ ### 扩充 docs 文件
161
+
162
+ 遵循现有文档的结构和风格,通常包括:
163
+ - 简短的概述
164
+ - 具体的代码示例
165
+ - 注意事项或常见问题
166
+
167
+ ### 补充 SKILL.md
168
+
169
+ 通常添加到以下位置:
170
+ - 路由表(新增场景-文档映射)
171
+ - 快速索引(新增常用条目)
172
+ - 注意事项(新增通用提醒)
173
+
174
+ ### 新增独立 skill
175
+
176
+ 必须包含:
177
+ - `SKILL.md` - 核心说明文件
178
+ - `docs/` 目录 - 详细文档(如需要)
179
+
180
+ ---
181
+
182
+ ## 🔗 相关资源
183
+
184
+ - Skills 目录: `.aicode-cli/agent/skills/`
@@ -1,7 +1,7 @@
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. Use when creating skills, editing skills, or optimizing skill performance."
5
5
  ---
6
6
 
7
7
  # Skill Creator
@@ -1,7 +1,7 @@
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. Use when executing implementation plans, dispatching subagents, or handling multiple tasks."
5
5
  ---
6
6
 
7
7
  # Subagent-Driven Development
@@ -1,7 +1,7 @@
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. Use when debugging, fixing bugs, encountering errors, or dealing with test failures."
5
5
  ---
6
6
 
7
7
  # Systematic Debugging
@@ -1,7 +1,7 @@
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. Use when practicing TDD, writing tests first, or following test-driven development."
5
5
  ---
6
6
 
7
7
  # Test-Driven Development (TDD)
@@ -1,6 +1,7 @@
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. Use when building frontend, designing UI, creating components, landing pages, dashboards, or analyzing UI/UX code."
4
+ disable-model-invocation: true
4
5
  ---
5
6
 
6
7
  # UI/UX Pro Max - Design Intelligence
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: unit-test
3
- description: "为选定的代码文件生成单元测试。"
3
+ description: "为选定的代码文件生成单元测试。Use when generating unit tests, writing tests, or adding test coverage."
4
4
  author: xujianjiang
5
5
  ---
6
6
 
@@ -1,7 +1,7 @@
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. Use when needing worktree isolation, creating branch worktrees, or managing multiple branches."
5
5
  ---
6
6
 
7
7
  # Using Git Worktrees
@@ -1,7 +1,7 @@
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. Use when asking about capabilities, discovering skills, or learning what you can do."
5
5
  ---
6
6
 
7
7
  <SUBAGENT-STOP>
@@ -1,7 +1,7 @@
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. Use when claiming work is complete, before committing, before creating PRs, or verifying tests pass."
5
5
  ---
6
6
 
7
7
  # Verification Before Completion
@@ -1,7 +1,7 @@
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. Use when writing plans, making implementation plans, or planning development."
5
5
  ---
6
6
 
7
7
  # Writing Plans
@@ -1,7 +1,7 @@
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. Use when writing skills, creating new skills, or editing existing skills."
5
5
  ---
6
6
 
7
7
  # 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,IAAI,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,+BAA+B;AAC/B,IAAI,aAAa,GAAG,EAAE,CAAC;AACvB,IAAI,CAAC;IACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;IAClE,aAAa,GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AACpD,CAAC;AAAC,OAAO,CAAC,EAAE,CAAC;IACX,WAAW;IACX,aAAa,GAAG,EAAE,CAAC;AACrB,CAAC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,aAAqB,SAAS;IAC3D,MAAM,GAAG,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;IACjC,OAAO,aAAa,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,aAAa,SAAS,CAAC;AACxE,CAAC;AAED;;GAEG;AACH,SAAS,QAAQ,CAAC,GAAW;IAC3B,UAAU;IACV,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAE3B,OAAO;QACL,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;QAChC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"banner.js","sourceRoot":"","sources":["../src/banner.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,+BAA+B;AAC/B,IAAI,aAAa,GAAG,EAAE,CAAC;AACvB,IAAI,CAAC;IACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;IAClE,aAAa,GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AACpD,CAAC;AAAC,MAAM,CAAC;IACP,WAAW;IACX,aAAa,GAAG,EAAE,CAAC;AACrB,CAAC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,aAAqB,SAAS;IAC3D,MAAM,GAAG,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;IACjC,OAAO,aAAa,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,aAAa,SAAS,CAAC;AACxE,CAAC;AAED;;GAEG;AACH,SAAS,QAAQ,CAAC,GAAW;IAC3B,UAAU;IACV,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAE3B,OAAO;QACL,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;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.38",
4
4
  "description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent原理实现的的编码智能体(供学习使用)。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",