feat: initial open-source project structure
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.
This commit is contained in:
parent
b0c4fc2e21
commit
98c550feb0
14 changed files with 1096 additions and 0 deletions
23
Makefile
Normal file
23
Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.PHONY: lint shellcheck version install-tools hooks
|
||||
|
||||
# Lint shell scripts
|
||||
shellcheck:
|
||||
shellcheck scripts/*.sh
|
||||
|
||||
# Lint everything
|
||||
lint: shellcheck
|
||||
|
||||
# Version management
|
||||
version:
|
||||
@grep '^metadata:' SKILL.md | grep -oP '"version":\s*"\K[^"]+'
|
||||
|
||||
# Developer setup
|
||||
install-tools:
|
||||
@echo "Checking lefthook..."
|
||||
@command -v lefthook >/dev/null 2>&1 || (echo "Install lefthook: https://github.com/evilmartians/lefthook#install" && exit 1)
|
||||
@echo "Checking shellcheck..."
|
||||
@command -v shellcheck >/dev/null 2>&1 || (echo "Install shellcheck: https://github.com/koalaman/shellcheck#installing" && exit 1)
|
||||
@echo "All tools installed."
|
||||
|
||||
hooks:
|
||||
lefthook install
|
||||
Loading…
Add table
Add a link
Reference in a new issue