@ia-ccun/code-agent-cli 0.0.19 → 0.0.20
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.
- package/config/agent/prompts/code-simplifier.md +2 -2
- package/config/agent/prompts/feat.md +1 -1
- package/config/agent/prompts/git-commit.md +2 -1
- package/config/agent/prompts/git-rollback.md +2 -1
- package/config/agent/prompts/git-worktree.md +2 -1
- package/config/agent/prompts/help.md +1 -1
- package/config/agent/prompts/init-project.md +2 -1
- package/config/agent/prompts/workflow.md +2 -1
- package/config/agent/skills/csv-data-summarizer/SKILL.md +1 -1
- package/config/agent/skills/dispatching-parallel-agents/SKILL.md +1 -1
- package/config/agent/skills/executing-plans/SKILL.md +1 -1
- package/config/agent/skills/find-skills/SKILL.md +1 -1
- package/config/agent/skills/finishing-a-development-branch/SKILL.md +1 -1
- package/config/agent/skills/frontend-design/SKILL.md +1 -1
- package/config/agent/skills/librarian/SKILL.md +1 -1
- package/config/agent/skills/owasp-security/SKILL.md +1 -1
- package/config/agent/skills/receiving-code-review/SKILL.md +1 -1
- package/config/agent/skills/requesting-code-review/SKILL.md +1 -1
- package/config/agent/skills/skill-creator/SKILL.md +1 -1
- package/config/agent/skills/subagent-driven-development/SKILL.md +1 -1
- package/config/agent/skills/systematic-debugging/SKILL.md +1 -1
- package/config/agent/skills/test-driven-development/SKILL.md +1 -1
- package/config/agent/skills/using-git-worktrees/SKILL.md +1 -1
- package/config/agent/skills/using-superpowers/SKILL.md +1 -1
- package/config/agent/skills/verification-before-completion/SKILL.md +1 -1
- package/config/agent/skills/writing-plans/SKILL.md +1 -1
- package/config/agent/skills/writing-skills/SKILL.md +12 -12
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
-
|
|
3
|
+
description: "Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise."
|
|
4
|
+
author: xujianjiang
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result your years as an expert software engineer.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: git-commit
|
|
3
|
+
description: "仅用 Git 分析改动并自动生成 conventional commit 信息(可选 emoji);必要时建议拆分提交,默认运行本地 Git 钩子(可 --no-verify 跳过)"
|
|
3
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)
|
|
4
5
|
argument-hint: "[--no-verify] [--all] [--amend] [--signoff] [--emoji] [--scope <scope>] [--type <type>]"
|
|
5
6
|
---
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: git-rollback
|
|
3
|
+
description: "交互式回滚 Git 分支到历史版本;列分支、列版本、二次确认后执行 reset / revert"
|
|
3
4
|
allowed-tools: Read(**), Exec(git fetch, git branch, git tag, git log, git reflog, git checkout, git reset, git revert, git switch), Write()
|
|
4
5
|
argument-hint: "[--branch <branch>] [--target <rev>] [--mode reset|revert] [--depth <n>] [--dry-run] [--yes]"
|
|
5
6
|
---
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: git-worktree
|
|
3
|
+
description: "管理 Git worktree"
|
|
3
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)
|
|
4
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]
|
|
5
6
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
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."
|
|
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
|
|
@@ -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: "Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies"
|
|
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: "Use when you have a written implementation plan to execute in a separate session with review checkpoints"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Executing Plans
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: find-skills
|
|
3
|
-
description: Helps users discover and install agent skills when they ask questions like
|
|
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."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 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: "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"
|
|
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 this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics."
|
|
4
4
|
license: Complete terms in LICENSE.txt
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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 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."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Librarian
|
|
@@ -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 preventing security vulnerabilities, implementing authentication, securing APIs, or conducting security reviews. Triggers on OWASP, security, XSS, SQL injection, CSRF, authentication security, secure coding, vulnerability."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# OWASP Top 10 Security
|
|
@@ -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: "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"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Code Review Reception
|
|
@@ -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: "Use when completing tasks, implementing major features, or before merging to verify work meets requirements"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Requesting Code Review
|
|
@@ -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 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."
|
|
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: "Use when executing implementation plans with independent tasks in the current session"
|
|
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: "Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes"
|
|
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: "Use when implementing any feature or bugfix, before writing implementation code"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Test-Driven Development (TDD)
|
|
@@ -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: "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"
|
|
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: "Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions"
|
|
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: "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"
|
|
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: "Use when you have a spec or requirements for a multi-step task, before touching code"
|
|
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: "Use when creating new skills, editing existing skills, or verifying skills work before deployment"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Writing Skills
|
|
@@ -107,7 +107,7 @@ skills/
|
|
|
107
107
|
---
|
|
108
108
|
name: Skill-Name-With-Hyphens
|
|
109
109
|
author: xujianjiang
|
|
110
|
-
description: Use when [specific triggering conditions and symptoms]
|
|
110
|
+
description: "Use when [specific triggering conditions and symptoms]"
|
|
111
111
|
---
|
|
112
112
|
|
|
113
113
|
# Skill Name
|
|
@@ -162,19 +162,19 @@ When the description was changed to just "Use when executing implementation plan
|
|
|
162
162
|
```yaml
|
|
163
163
|
# ❌ BAD: Summarizes workflow - Claude may follow this instead of reading skill
|
|
164
164
|
author: xujianjiang
|
|
165
|
-
description: Use when executing plans - dispatches subagent per task with code review between tasks
|
|
165
|
+
description: "Use when executing plans - dispatches subagent per task with code review between tasks"
|
|
166
166
|
|
|
167
167
|
# ❌ BAD: Too much process detail
|
|
168
168
|
author: xujianjiang
|
|
169
|
-
description: Use for TDD - write test first, watch it fail, write minimal code, refactor
|
|
169
|
+
description: "Use for TDD - write test first, watch it fail, write minimal code, refactor"
|
|
170
170
|
|
|
171
171
|
# ✅ GOOD: Just triggering conditions, no workflow summary
|
|
172
172
|
author: xujianjiang
|
|
173
|
-
description: Use when executing implementation plans with independent tasks in the current session
|
|
173
|
+
description: "Use when executing implementation plans with independent tasks in the current session"
|
|
174
174
|
|
|
175
175
|
# ✅ GOOD: Triggering conditions only
|
|
176
176
|
author: xujianjiang
|
|
177
|
-
description: Use when implementing any feature or bugfix, before writing implementation code
|
|
177
|
+
description: "Use when implementing any feature or bugfix, before writing implementation code"
|
|
178
178
|
```
|
|
179
179
|
|
|
180
180
|
**Content:**
|
|
@@ -188,23 +188,23 @@ description: Use when implementing any feature or bugfix, before writing impleme
|
|
|
188
188
|
```yaml
|
|
189
189
|
# ❌ BAD: Too abstract, vague, doesn't include when to use
|
|
190
190
|
author: xujianjiang
|
|
191
|
-
description: For async testing
|
|
191
|
+
description: "For async testing"
|
|
192
192
|
|
|
193
193
|
# ❌ BAD: First person
|
|
194
194
|
author: xujianjiang
|
|
195
|
-
description: I can help you with async tests when they're flaky
|
|
195
|
+
description: "I can help you with async tests when they're flaky"
|
|
196
196
|
|
|
197
197
|
# ❌ BAD: Mentions technology but skill isn't specific to it
|
|
198
198
|
author: xujianjiang
|
|
199
|
-
description: Use when tests use setTimeout/sleep and are flaky
|
|
199
|
+
description: "Use when tests use setTimeout/sleep and are flaky"
|
|
200
200
|
|
|
201
201
|
# ✅ GOOD: Starts with "Use when", describes problem, no workflow
|
|
202
202
|
author: xujianjiang
|
|
203
|
-
description: Use when tests have race conditions, timing dependencies, or pass/fail inconsistently
|
|
203
|
+
description: "Use when tests have race conditions, timing dependencies, or pass/fail inconsistently"
|
|
204
204
|
|
|
205
205
|
# ✅ GOOD: Technology-specific skill with explicit trigger
|
|
206
206
|
author: xujianjiang
|
|
207
|
-
description: Use when using React Router and handling authentication redirects
|
|
207
|
+
description: "Use when using React Router and handling authentication redirects"
|
|
208
208
|
```
|
|
209
209
|
|
|
210
210
|
### 2. Keyword Coverage
|
|
@@ -539,7 +539,7 @@ Add to description: symptoms of when you're ABOUT to violate the rule:
|
|
|
539
539
|
|
|
540
540
|
```yaml
|
|
541
541
|
author: xujianjiang
|
|
542
|
-
description: use when implementing any feature or bugfix, before writing implementation code
|
|
542
|
+
description: "use when implementing any feature or bugfix, before writing implementation code"
|
|
543
543
|
```
|
|
544
544
|
|
|
545
545
|
## RED-GREEN-REFACTOR for Skills
|