Skip to content

Commit a7fe211

Browse files
committed
reset
0 parents  commit a7fe211

132 files changed

Lines changed: 16885 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "superpowers-zh",
3+
"description": "AI 编程超能力中文版:19 个 skills 库",
4+
"owner": {
5+
"name": "jnMetaCode",
6+
"url": "https://github.com/jnMetaCode"
7+
},
8+
"plugins": [
9+
{
10+
"name": "superpowers-zh",
11+
"description": "AI 编程超能力中文版:19 个 skills(14 翻译 + 5 中国特色原创)",
12+
"version": "1.0.0",
13+
"source": "./",
14+
"author": {
15+
"name": "jnMetaCode",
16+
"url": "https://github.com/jnMetaCode"
17+
}
18+
}
19+
]
20+
}

.claude-plugin/plugin.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "superpowers-zh",
3+
"description": "AI 编程超能力中文版:19 个 skills(14 翻译 + 5 中国特色原创)",
4+
"version": "1.0.0",
5+
"author": {
6+
"name": "jnMetaCode",
7+
"url": "https://github.com/jnMetaCode"
8+
},
9+
"homepage": "https://github.com/jnMetaCode/superpowers-zh",
10+
"repository": "https://github.com/jnMetaCode/superpowers-zh",
11+
"license": "MIT",
12+
"keywords": ["skills", "tdd", "debugging", "chinese", "中文", "best-practices", "workflows"]
13+
}

.codex/INSTALL.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# 为 Codex 安装 Superpowers 中文版
2+
3+
通过原生 skill 发现机制在 Codex 中启用 superpowers skills。只需克隆并创建符号链接。
4+
5+
## 前置条件
6+
7+
- Git
8+
9+
## 安装步骤
10+
11+
1. **克隆 superpowers-zh 仓库:**
12+
```bash
13+
git clone https://github.com/jnMetaCode/superpowers-zh.git ~/.codex/superpowers
14+
```
15+
16+
2. **创建 skills 符号链接:**
17+
```bash
18+
mkdir -p ~/.agents/skills
19+
ln -s ~/.codex/superpowers/skills ~/.agents/skills/superpowers
20+
```
21+
22+
**Windows (PowerShell):**
23+
```powershell
24+
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.agents\skills"
25+
cmd /c mklink /J "$env:USERPROFILE\.agents\skills\superpowers" "$env:USERPROFILE\.codex\superpowers\skills"
26+
```
27+
28+
3. **重启 Codex**(退出并重新启动 CLI)以发现 skills。
29+
30+
## 从旧版引导方式迁移
31+
32+
如果你在原生 skill 发现机制之前安装过 superpowers,需要:
33+
34+
1. **更新仓库:**
35+
```bash
36+
cd ~/.codex/superpowers && git pull
37+
```
38+
39+
2. **创建 skills 符号链接**(上面的步骤 2)——这是新的发现机制。
40+
41+
3. **移除旧的引导代码块**——删除 `~/.codex/AGENTS.md` 中引用 `superpowers-codex bootstrap` 的代码块,已不再需要。
42+
43+
4. **重启 Codex。**
44+
45+
## 验证
46+
47+
```bash
48+
ls -la ~/.agents/skills/superpowers
49+
```
50+
51+
你应该看到一个符号链接(Windows 上为目录连接),指向你的 superpowers skills 目录。
52+
53+
## 更新
54+
55+
```bash
56+
cd ~/.codex/superpowers && git pull
57+
```
58+
59+
Skills 通过符号链接即时更新。
60+
61+
## 卸载
62+
63+
```bash
64+
rm ~/.agents/skills/superpowers
65+
```
66+
67+
可选:删除克隆的仓库:`rm -rf ~/.codex/superpowers`

.cursor-plugin/plugin.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "superpowers-zh",
3+
"displayName": "Superpowers 中文版",
4+
"description": "AI 编程超能力中文版:19 个 skills(14 翻译 + 5 中国特色原创)",
5+
"version": "1.0.0",
6+
"author": {
7+
"name": "jnMetaCode",
8+
"url": "https://github.com/jnMetaCode"
9+
},
10+
"homepage": "https://github.com/jnMetaCode/superpowers-zh",
11+
"repository": "https://github.com/jnMetaCode/superpowers-zh",
12+
"license": "MIT",
13+
"keywords": ["skills", "tdd", "debugging", "chinese", "中文", "best-practices", "workflows"],
14+
"skills": "./skills/",
15+
"agents": "./agents/",
16+
"commands": "./commands/",
17+
"hooks": "./hooks/hooks-cursor.json"
18+
}

.gitattributes

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Ensure shell scripts always have LF line endings
2+
*.sh text eol=lf
3+
hooks/session-start text eol=lf
4+
5+
# Ensure the polyglot wrapper keeps LF (it's parsed by both cmd and bash)
6+
*.cmd text eol=lf
7+
8+
# Common text files
9+
*.md text eol=lf
10+
*.json text eol=lf
11+
*.js text eol=lf
12+
*.mjs text eol=lf
13+
*.ts text eol=lf
14+
15+
# Explicitly mark binary files
16+
*.png binary
17+
*.jpg binary
18+
*.gif binary
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug 报告
3+
about: 某些功能未按预期工作
4+
labels: bug
5+
---
6+
7+
<!--
8+
提交前:搜索已开放和已关闭的 issue。如果你的问题已经存在,
9+
请在现有 issue 中添加评论或反应,而不是新建一个。
10+
-->
11+
12+
- [ ] 我已搜索现有 issue,确认这不是重复的
13+
14+
## 环境信息
15+
16+
| 字段 ||
17+
|------|---|
18+
| Superpowers 版本 | |
19+
| 工具(Claude Code、Cursor 等) | |
20+
| 工具版本 | |
21+
| 模型 | |
22+
| 操作系统 + Shell | |
23+
24+
## 这是 Superpowers 的问题还是平台的问题?
25+
<!-- Superpowers 是一个插件。一些报告的"bug"实际上是底层平台或模型的问题。
26+
如果你不确定,请尝试在未安装 Superpowers 的情况下复现。
27+
28+
如果没有安装 Superpowers 时问题仍然存在,请向你的平台提交 issue。 -->
29+
30+
- [ ] 我已确认此问题在未安装 Superpowers 的情况下不会发生
31+
32+
## 发生了什么?
33+
<!-- 请具体描述。"不能用"不是 bug 报告。 -->
34+
35+
## 复现步骤
36+
1.
37+
2.
38+
3.
39+
40+
## 预期行为
41+
<!-- 应该发生什么? -->
42+
43+
## 实际行为
44+
<!-- 实际发生了什么? -->
45+
46+
## 调试日志或对话记录
47+
<!-- 显示问题的调试日志或对话记录是最有帮助的信息。
48+
没有它,我们只能猜测。错误输出的截图也很有用。 -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 问题与帮助
4+
url: https://github.com/jnMetaCode/superpowers-zh/discussions
5+
about: 使用问题、故障排除和一般讨论,请访问 Discussions 而不是开 issue。
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: 功能请求
3+
about: 提议对 Superpowers 进行改变或添加
4+
labels: enhancement
5+
---
6+
7+
<!--
8+
提交前:搜索已开放和已关闭的 issue。许多功能之前已被请求过——
9+
有些以不同方式实现了,有些正在进行中,有些被有意拒绝了。
10+
-->
11+
12+
- [ ] 我已搜索现有 issue,确认此功能之前未被提议过
13+
14+
## 这解决了什么问题?
15+
<!-- 从你自己的经验描述问题。你在做什么,什么出了问题或缺失了,
16+
为什么这很重要?
17+
18+
"如果能……就好了"不是问题描述。 -->
19+
20+
## 建议的方案
21+
<!-- 你具体希望发生什么?请具体描述。 -->
22+
23+
## 你考虑了哪些替代方案?
24+
<!-- 还有哪些其他方法可以解决同样的问题?
25+
为什么你的提案更好? -->
26+
27+
## 这适合放在核心 Superpowers 中吗?
28+
<!-- 这对从事完全不同类型项目的人是否有益?
29+
如果这是针对你的领域、工作流或第三方工具的,
30+
它可能更适合作为独立的插件。 -->
31+
32+
## 上下文
33+
<!-- 可选:版本信息、工具、模型、你遇到此问题的工作流。 -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: IDE / 平台支持请求
3+
about: 请求支持新的 IDE、编辑器或 AI 编程工具
4+
labels: platform-support
5+
---
6+
7+
<!--
8+
提交前:搜索现有 issue——你的 IDE 可能已经有人请求或讨论过了。
9+
-->
10+
11+
- [ ] 我已搜索现有 issue 中关于此 IDE/平台的内容
12+
13+
## 哪个 IDE 或平台?
14+
<!-- 名称和链接 -->
15+
16+
## 该工具是否有插件或扩展系统?
17+
<!-- 如果有,请附上文档链接。如果没有,请说明第三方集成
18+
通常如何与该工具配合使用。 -->
19+
20+
## 你是否尝试过手动安装?
21+
<!-- 许多工具即使没有官方支持,也可以通过手动设置使用 Superpowers。
22+
你尝试过吗?结果如何? -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!--
2+
提交前请仔细阅读本模板的每一部分。未填写必填项、包含多个不相关变更、
3+
或未经人工审核的 PR 将被直接关闭。
4+
-->
5+
6+
## 你要解决什么问题?
7+
<!-- 描述你遇到的具体问题。如果是会话问题,请包括:你在做什么、
8+
出了什么问题、模型的确切错误模式,最好附上会话记录。
9+
10+
"改进"某事不是问题描述。什么出了问题?什么失败了?
11+
是什么用户体验促使你做出这个改变? -->
12+
13+
## 这个 PR 做了什么改变?
14+
<!-- 1-3 句话。描述"改了什么",而不是"为什么"——"为什么"在上面。 -->
15+
16+
## 这个改变适合放在核心库中吗?
17+
<!-- Superpowers 核心库包含通用的 skills 和基础设施,对所有用户都有价值。
18+
请自问:
19+
20+
- 这对从事完全不同类型项目的人是否有用?
21+
- 这是针对特定项目、团队或工具的吗?
22+
- 这是否集成或推广了第三方服务?
23+
24+
如果你的改变是针对特定领域的新 skill、工作流工具或第三方集成,
25+
它应该作为独立的插件发布,而不是放在这里。 -->
26+
27+
## 你考虑了哪些替代方案?
28+
<!-- 在确定当前方案之前,你尝试或评估了哪些其他方法?
29+
为什么它们不够好?如果你没有考虑替代方案,请说明——
30+
但请注意这是一个需要注意的信号。 -->
31+
32+
## 这个 PR 是否包含多个不相关的改变?
33+
<!-- 如果是:请停下来,将其拆分为多个 PR。打包提交的 PR 将被关闭。
34+
如果你认为这些改变是相关的,请解释它们之间的依赖关系。 -->
35+
36+
## 已有的 PR
37+
- [ ] 我已查看所有已开放和已关闭的 PR,确认没有重复或先前的类似工作
38+
- 相关 PR:<!-- #编号, #编号, 或"未找到" -->
39+
40+
<!-- 如果存在相关的已关闭 PR,请解释你的方法有何不同,
41+
以及为什么你的方案能在之前的方案失败之处成功。 -->
42+
43+
## 测试环境
44+
45+
| 工具(如 Claude Code、Cursor) | 工具版本 | 模型 | 模型版本/ID |
46+
|-------------------------------|---------|------|------------|
47+
| | | | |
48+
49+
## 评估
50+
- 你(或你的人类搭档)用什么初始提示词开始了导致这个改变的会话?
51+
- 做出改变后你运行了多少次评估会话?
52+
- 与改变之前相比,结果有何变化?
53+
54+
<!-- "能用了"不算评估。描述你在多个会话中观察到的改变前后的差异。 -->
55+
56+
## 严格性
57+
58+
- [ ] 如果这是 skills 改变:我使用了 `superpowers:writing-skills` 并完成了对抗性压力测试(在下方粘贴结果)
59+
- [ ] 这个改变经过了对抗性测试,而不仅仅是正常路径
60+
- [ ] 我没有在未经大量评估证明改变是改进的情况下修改精心调整的内容(红旗表格、合理化描述、"人类搭档"用语)
61+
62+
<!-- 如果你更改了影响 AI 行为的 skills 措辞,请展示你的评估方法和结果。
63+
这些不是普通文本——它们是代码。 -->
64+
65+
## 人工审核
66+
- [ ] 提交前已有人工审核过完整的 diff
67+
68+
<!--
69+
请停下来。如果上面的复选框未勾选,请不要提交此 PR。
70+
71+
以下情况的 PR 将被直接关闭:
72+
- 没有人工参与的证据
73+
- 包含多个不相关的改变
74+
- 推广或集成第三方服务或工具
75+
- 将特定项目或个人配置作为核心改变提交
76+
- 必填部分留空或使用占位文字
77+
- 修改了影响行为的内容但没有评估证据
78+
-->

0 commit comments

Comments
 (0)