Skip to content

Commit abbc68d

Browse files
committed
Initial commit
0 parents  commit abbc68d

40 files changed

Lines changed: 2273 additions & 0 deletions
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Skill Flag
2+
description: Report a problematic Skill (malicious code, spam, etc.)
3+
title: "[Flag] "
4+
labels: ["flag"]
5+
body:
6+
- type: input
7+
id: skill
8+
attributes:
9+
label: Skill Name
10+
validations:
11+
required: true
12+
- type: dropdown
13+
id: reason
14+
attributes:
15+
label: Reason
16+
options:
17+
- Malicious code
18+
- Spam/irrelevant
19+
- Copyright violation
20+
- Doesn't work
21+
- Misleading description
22+
- Other
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: detail
27+
attributes:
28+
label: Details
29+
description: Please describe the issue specifically
30+
validations:
31+
required: true
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Skill Flag
2+
description: 举报有问题的 Skill(恶意代码、垃圾内容等)
3+
title: "[Flag] "
4+
labels: ["flag"]
5+
body:
6+
- type: input
7+
id: skill
8+
attributes:
9+
label: Skill 名称
10+
validations:
11+
required: true
12+
- type: dropdown
13+
id: reason
14+
attributes:
15+
label: 举报原因
16+
options:
17+
- 恶意代码
18+
- 垃圾/无关内容
19+
- 侵权
20+
- 无法运行
21+
- 描述不实
22+
- 其他
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: detail
27+
attributes:
28+
label: 详细说明
29+
description: 请具体描述问题
30+
validations:
31+
required: true
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Skill Review
2+
description: Rate and review a Skill
3+
title: "[Review] "
4+
labels: ["review"]
5+
body:
6+
- type: input
7+
id: skill
8+
attributes:
9+
label: Skill Name
10+
description: The ID of the Skill you're reviewing
11+
validations:
12+
required: true
13+
- type: dropdown
14+
id: rating
15+
attributes:
16+
label: Rating
17+
options:
18+
- "5 - Excellent"
19+
- "4 - Good"
20+
- "3 - Okay"
21+
- "2 - Needs work"
22+
- "1 - Not recommended"
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: content
27+
attributes:
28+
label: Review
29+
description: Share your experience, suggestions, or issues
30+
validations:
31+
required: true
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Skill Review
2+
description: 给一个 Skill 打分和评价
3+
title: "[Review] "
4+
labels: ["review"]
5+
body:
6+
- type: input
7+
id: skill
8+
attributes:
9+
label: Skill 名称
10+
description: 你要评价的 Skill 的 ID
11+
validations:
12+
required: true
13+
- type: dropdown
14+
id: rating
15+
attributes:
16+
label: 评分
17+
options:
18+
- "5 - 非常棒"
19+
- "4 - 好用"
20+
- "3 - 还行"
21+
- "2 - 有改进空间"
22+
- "1 - 不推荐"
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: content
27+
attributes:
28+
label: 评价内容
29+
description: 分享你的使用体验、建议或遇到的问题
30+
validations:
31+
required: true
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Skill Submission
2+
description: Submit a new Skill to the community
3+
title: "[Skill] "
4+
labels: ["skill-submission"]
5+
body:
6+
- type: input
7+
id: name
8+
attributes:
9+
label: Name
10+
description: Unique Skill identifier (letters/numbers/-/_)
11+
placeholder: "my-awesome-skill"
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: Description
18+
description: One-line summary of what the Skill does
19+
placeholder: "Automatically..."
20+
validations:
21+
required: true
22+
- type: dropdown
23+
id: category
24+
attributes:
25+
label: Category
26+
options:
27+
- Dev Tools
28+
- Text Processing
29+
- File Management
30+
- System Control
31+
- Learning & Research
32+
- Data Tools
33+
- Project Tools
34+
- Other
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: content
39+
attributes:
40+
label: Skill Content
41+
description: Full markdown content (including frontmatter)
42+
render: markdown
43+
validations:
44+
required: true
45+
- type: checkboxes
46+
id: confirm
47+
attributes:
48+
label: Confirmation
49+
options:
50+
- label: I have tested this Skill locally
51+
- label: I agree to publish under CC0 license
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Skill Submission
2+
description: 提交一个新的 Skill 到社区
3+
title: "[Skill] "
4+
labels: ["skill-submission"]
5+
body:
6+
- type: input
7+
id: name
8+
attributes:
9+
label: 名称
10+
description: Skill 的唯一标识(字母/数字/-/_)
11+
placeholder: "my-awesome-skill"
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: 简介
18+
description: 一句话描述这个 Skill 做什么
19+
placeholder: "帮你自动..."
20+
validations:
21+
required: true
22+
- type: dropdown
23+
id: category
24+
attributes:
25+
label: 分类
26+
options:
27+
- 开发工具
28+
- 文本处理
29+
- 文件管理
30+
- 系统控制
31+
- 学习研究
32+
- 数据处理
33+
- 项目工具
34+
- 其他
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: content
39+
attributes:
40+
label: Skill 内容
41+
description: 完整的 markdown 内容(含 frontmatter)
42+
render: markdown
43+
validations:
44+
required: true
45+
- type: checkboxes
46+
id: confirm
47+
attributes:
48+
label: 确认
49+
options:
50+
- label: 我已经在本地测试过这个 Skill
51+
- label: 我同意以 CC0 协议发布此内容

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: New Entry
3+
about: 向 Awesome Reasonix 添加一个新条目
4+
title: 'Add: [项目名] - [分类]'
5+
labels: new-entry
6+
assignees: ''
7+
---
8+
9+
## 条目信息
10+
11+
- **名称**
12+
- **链接**
13+
- **分类**:(Skills / MCP 服务器 / 工具与脚本 / 工作流与指南 / 社区)
14+
15+
## 简介
16+
17+
<!-- 50 字以内的描述 -->
18+
19+
## 为什么值得收录
20+
21+
<!-- 你实际使用过吗?它解决了什么问题?有什么独特之处? -->
22+
23+
## 兼容性
24+
25+
<!-- 仅 MCP 服务器必填:标注与 Reasonix 的兼容性。Skills 和工具请说明运行环境。 -->
26+
27+
## Checklist
28+
29+
- [ ] 我已阅读 [CONTRIBUTING.md](CONTRIBUTING.md)
30+
- [ ] 该条目尚未被收录(我已经搜索过)
31+
- [ ] 链接可用且内容完整
32+
- [ ] 描述有信息量(不止是"是什么",还有"好在哪")
33+
- [ ] 这是一个 PR 只包含一个条目(或同一作者的一组相关条目)
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: aggregate-ratings
2+
on:
3+
push:
4+
paths:
5+
- 'reviews/**/*.json'
6+
workflow_dispatch:
7+
8+
jobs:
9+
aggregate:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Aggregate ratings
16+
run: |
17+
python3 << 'EOF'
18+
import json, os, glob
19+
from collections import defaultdict
20+
21+
ratings = {"version": "1", "updated": "", "skills": {}}
22+
23+
# Scan all review files
24+
for f in glob.glob("reviews/*/*.json"):
25+
try:
26+
with open(f) as fh:
27+
data = json.load(fh)
28+
skill_id = f.split("/")[1]
29+
if skill_id not in ratings["skills"]:
30+
ratings["skills"][skill_id] = {
31+
"average": 0,
32+
"count": 0,
33+
"reviews": []
34+
}
35+
ratings["skills"][skill_id]["reviews"].append({
36+
"rating": data.get("rating", 0),
37+
"content": data.get("content", ""),
38+
"author": data.get("author", ""),
39+
"createdAt": data.get("createdAt", ""),
40+
})
41+
except Exception:
42+
pass
43+
44+
# Calculate averages
45+
from datetime import datetime, timezone
46+
for sid, skill in ratings["skills"].items():
47+
if skill["reviews"]:
48+
skill["average"] = round(
49+
sum(r["rating"] for r in skill["reviews"]) / len(skill["reviews"]), 1
50+
)
51+
skill["count"] = len(skill["reviews"])
52+
53+
ratings["updated"] = datetime.now(timezone.utc).isoformat()
54+
55+
with open("ratings.json", "w") as fh:
56+
json.dump(ratings, fh, indent=2, ensure_ascii=False)
57+
print(f"Aggregated {len(ratings['skills'])} skills with reviews")
58+
EOF
59+
- name: Commit updated ratings
60+
run: |
61+
git config user.name "github-actions[bot]"
62+
git config user.email "github-actions[bot]@users.noreply.github.com"
63+
git add ratings.json
64+
git diff --staged --quiet || git commit -m "chore: aggregate ratings [automated]"
65+
git push

0 commit comments

Comments
 (0)