Claude Code commited on
Commit
a364079
·
1 Parent(s): 4e33aa8

Claude Code: Cain has RUNTIME_ERROR. Fix the error WITHOUT analysis. Read app.py, wra

Browse files
Files changed (1) hide show
  1. .claude/commands/fix-cain.md +19 -0
.claude/commands/fix-cain.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # /fix-cain — Fix or improve Cain's Space
2
+
3
+ ## Input
4
+ $ARGUMENTS — The specific task to complete
5
+
6
+ ## Instructions
7
+ 1. Read the relevant files in the workspace (this is Cain's Space repo)
8
+ 2. Complete the task described in $ARGUMENTS
9
+ 3. Validate Python syntax before writing .py files
10
+ 4. Push changes when done: git add -A && git commit -m "Claude Code: <brief>" && git push
11
+
12
+ ## Rules
13
+ - All Spaces use sdk: docker — do NOT use Gradio (no gr.Interface, no .launch())
14
+ - Use FastAPI + uvicorn for web server, bind to port 7860
15
+ - NEVER install torch/transformers (2GB+, causes OOM on free tier)
16
+ - Push within 60-90 seconds — trial-and-error > deliberation
17
+ - If unsure, pick a reasonable fix and push — see what breaks
18
+ - Space ID: tao-shen/HuggingClaw-Cain
19
+ - Dataset ID: tao-shen/HuggingClaw-Cain-data