Agent Skill for searching and downloading torrents via TorrentClaw. Includes SKILL.md with OpenClaw metadata, bash scripts for torrent client detection, CONTRIBUTING.md, CHANGELOG.md, CI/CD with GitHub Actions (shellcheck + conventional commits), lefthook git hooks, Makefile, and .editorconfig.
1.8 KiB
1.8 KiB
Contributing to torrentclaw-skill
Thanks for your interest in contributing! Here's how you can help.
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-user>/torrentclaw-skill.git - Install dev tools and git hooks:
make install-tools make hooks - Create a branch:
git checkout -b feat/my-feature - Make your changes
- Lint locally:
make lint - Commit with a clear message (see below) — the commit-msg hook will validate the format
- Push and open a Pull Request
Requirements
- Bash 4+
- shellcheck (installed via your package manager)
- lefthook (installed via your package manager)
Commit Messages
Commits are validated automatically by a git hook. We follow Conventional Commits:
<type>[optional scope][!]: <description>
Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
Examples:
feat: add qBittorrent client detection
fix(detect): correct aria2 daemon check on macOS
docs: update API reference with new endpoints
chore: update shellcheck to latest version
feat!: redesign install guide output format
Code Style
- All shell scripts must pass
shellcheck - Use
#!/usr/bin/env bashas the shebang - Use
set -euo pipefailat the top of every script - Keep functions focused and small
- Add comments only where the logic isn't self-evident
Reporting Bugs
Open an issue with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Your OS and bash version
License
By contributing, you agree that your contributions will be licensed under the project's MIT License.