Skip to content

Commit 8eb4caa

Browse files
committed
Initial commit: Hu Tao Soul Awakening Skill v1.0
0 parents  commit 8eb4caa

22 files changed

Lines changed: 2750 additions & 0 deletions
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: 报告一个问题
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**描述问题**
11+
清晰简洁地描述问题是什么。
12+
13+
**复现步骤**
14+
1.
15+
2.
16+
3.
17+
18+
**期望行为**
19+
清晰简洁地描述你期望发生什么。
20+
21+
**实际行为**
22+
清晰简洁地描述实际发生了什么。
23+
24+
**环境信息**
25+
- OpenClaw 版本:
26+
- Python 版本:
27+
- 操作系统:
28+
29+
**附加信息**
30+
添加任何其他上下文或截图。
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: 建议一个新功能
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**功能描述**
11+
清晰简洁地描述你想要的功能。
12+
13+
**动机**
14+
为什么这个功能有用?
15+
16+
**实现方案**
17+
如果你有实现思路,请描述。
18+
19+
**附加信息**
20+
添加任何其他上下文或截图。

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## 描述
2+
3+
简要描述这个 PR 做了什么。
4+
5+
## 变更类型
6+
7+
- [ ] Bug 修复
8+
- [ ] 新功能
9+
- [ ] 文档更新
10+
- [ ] 代码重构
11+
- [ ] 其他
12+
13+
## 检查清单
14+
15+
- [ ] 代码通过了所有测试
16+
- [ ] 更新了相关文档
17+
- [ ] 代码风格符合项目规范
18+
19+
## 附加信息
20+
21+
添加任何其他上下文。

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ['3.10', '3.11', '3.12']
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
37+
- name: Validate JSON files
38+
run: |
39+
python -c "import json; json.load(open('hutao_skill/config.json')); print('config.json OK')"
40+
python -c "import json; json.load(open('hutao_skill/prompts.json')); print('prompts.json OK')"
41+
42+
- name: Run tests
43+
run: |
44+
python -m unittest discover -s tests -v

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
23+
# Virtual environments
24+
venv/
25+
ENV/
26+
env/
27+
.venv
28+
29+
# IDE
30+
.vscode/
31+
.idea/
32+
*.swp
33+
*.swo
34+
*~
35+
36+
# OS
37+
.DS_Store
38+
Thumbs.db
39+
40+
# Skill data (user-specific)
41+
hutao_skill/data/memory.json
42+
*.log

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Kitaro-Loked
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)