harveyz-skill 0.1.0 → 0.1.2
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/README.md
CHANGED
|
@@ -13,17 +13,30 @@ Harvey 的个人 Claude Code 技能仓库。
|
|
|
13
13
|
|
|
14
14
|
## 安装
|
|
15
15
|
|
|
16
|
-
###
|
|
16
|
+
### 推荐:npx 一键安装
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
|
|
20
|
-
cp -r skills/* ~/.claude/skills/
|
|
19
|
+
npx harveyz-skill
|
|
21
20
|
```
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
交互式选择 bundle 和目标工具(Claude Code / Cursor / Codex)。
|
|
23
|
+
|
|
24
|
+
**无交互模式:**
|
|
25
|
+
```bash
|
|
26
|
+
npx harveyz-skill --bundle brainstorming --target claude
|
|
27
|
+
npx harveyz-skill --bundle brainstorming,dev --target all
|
|
28
|
+
```
|
|
24
29
|
|
|
30
|
+
**查看可用 bundle:**
|
|
25
31
|
```bash
|
|
26
|
-
|
|
32
|
+
npx harveyz-skill list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 手动安装(从源码)
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
mkdir -p ~/.claude/skills
|
|
39
|
+
cp -r skills/* ~/.claude/skills/
|
|
27
40
|
```
|
|
28
41
|
|
|
29
42
|
## 工作流
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "full-stack-debug-env",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "这个项目是一个 Node.js Express 后端 + React SPA 前端的 Web 应用。后端入口是 server.js,前端用 Vite 开发服务器。没有 Docker,没有 worker,没有外部 API 调用。请帮我搭建全栈调试环境,让我在运行 Agent 测试之前能精准查询每一层的日志。",
|
|
7
|
+
"expected_output": "应创建 tmp/logs/ 目录,至少包含 backend.log 和 browser.log 两个来源规划;创建 harness/debug/verify-logs.sh;生成 harness/debug/README.md 和 docs/how-to/debug-env.md",
|
|
8
|
+
"files": [
|
|
9
|
+
"/tmp/fsd-test-node-spa/package.json",
|
|
10
|
+
"/tmp/fsd-test-node-spa/server.js"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": 2,
|
|
15
|
+
"prompt": "这个项目用 Docker Compose 运行三个容器:api(Node.js)、worker(Python Celery)、db(PostgreSQL)。我需要在运行 Agent 测试场景前搭建全栈调试环境,让我能同时查看 API 服务、后台 Worker 和数据库的日志。",
|
|
16
|
+
"expected_output": "应规划 api.log/worker.log/db.log 三个独立日志来源;worker 被识别为异步/任务驱动型来源;verify-logs.sh 中 worker.log 应报 SKIP 而非 FAIL;生成完整文档",
|
|
17
|
+
"files": [
|
|
18
|
+
"/tmp/fsd-test-docker/docker-compose.yml"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|