AI SummaryFocus on secure, robust, and efficient code. Refer to https://mywiki.wooledge.org for Bash best practices.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "qbittorrent-nox-static — Cursor Rules" prompt rules to my project. Repository: https://github.com/userdocs/qbittorrent-nox-static Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A bash script which builds a fully static qbittorrent-nox binary with current dependencies to use on any Linux OS
Standards
• Tone: No pandering. Focus on the solution. • Context: Check MEMORY.md for project state. Update MEMORY.md after completing a significant task. • Privacy: No secrets, tokens, or personal info in docs. Use [OWNER]/[REPO] placeholders. • Shebang: Always #!/bin/bash. • I/O: Use printf, never echo. • Quoting: Quote all variables. • Reliability: Explicit error checks. Avoid global set -e. • Naming: Lowercase variables for script logic; UPPERCASE for ENV vars.
Repo-Specific
• LTO & Linker: • userdocs/musl-cross-make supports LTO (-flto) and mold. • Script: Use qbt_linker_mold=yes. • Toolchain: Use -fuse-ld=mold. • Detection: source /etc/os-release. Alpine apk --print-arch, Debian dpkg --print-architecture. • Linking: Use both -static and --static. Set LDFLAGS at link time.
Workflows
• Always declare needs for job output access. • Use gh run watch to track triggered runs. --- Focus on secure, robust, and efficient code. Refer to https://mywiki.wooledge.org for Bash best practices.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts