⚡
AI Fix Prompts for Blackbird
Copy any prompt below into Claude, ChatGPT, or your AI coding assistant to automatically fix the issue. Each prompt includes full context, code location, and step-by-step fix instructions.
2
Total Prompts
0
Critical (P0)
1
High (P1)
1
Medium (P2)
0
Low (P3)
Download All (Markdown)
Download All (JSON)
Feed these prompts to any AI coder: Claude Code, Cursor, Copilot, GPT, Ollama
HIGH
⚙ moderate
#1
Review high-risk license: AGPL-3.0
license legal compliance
Expected outcome: License risk assessed and documented
Files to modify:
LICENSEPrompt (copy this into your AI assistant)
Repository 'philpax__blackbird' uses AGPL-3.0 which is classified as high-risk (copyleft/proprietary). Review whether this is intentional. If distributing commercially, consider re-licensing or isolating copyleft dependencies.
All rows scored by the Repobility analyzer (https://repobility.com)
MEDIUM
⚒ significant
#2
Simplify 5 high-complexity files
complexity refactoring quality
Expected outcome: All listed files reduced to medium or low complexity
Files to modify:
blackbird-tui/src/ui/library.rs, blackbird-tui/src/main.rs, blackbird-core/src/lib.rs, blackbird-id3mover/src/main.rs, blackbird-spotcheck/src/main.rsPrompt (copy this into your AI assistant)
These files in 'philpax__blackbird' have high cyclomatic complexity: - **blackbird-tui/src/ui/library.rs**: complexity=197, max nesting=8, longest function=290 lines - **blackbird-tui/src/main.rs**: complexity=109, max nesting=7, longest function=164 lines - **blackbird-core/src/lib.rs**: complexity=91, max nesting=9, longest function=100 lines - **blackbird-id3mover/src/main.rs**: complexity=76, max nesting=5, longest function=63 lines - **blackbird-spotcheck/src/main.rs**: complexity=69, max nesting=10, longest function=136 lines For each file: 1. Break large functions into smaller, focused functions 2. Reduce nesting depth (extract early returns, use guard clauses) 3. Simplify conditional logic 4. Extract complex expressions into named variables