Description
selfmodel.sh adapt auto-detects tech stacks but is missing Ruby and Swift support.
What to do
In scripts/selfmodel.sh, find the detect_stack() function and add detection for:
- Ruby: check for
Gemfile, *.rb files, Rails (config/routes.rb)
- Swift: check for
Package.swift, *.swift files, Xcode project (*.xcodeproj)
Follow the existing pattern used for Go, Rust, and Python detection.
Files to modify
scripts/selfmodel.sh — detect_stack() function
Acceptance criteria
Description
selfmodel.sh adaptauto-detects tech stacks but is missing Ruby and Swift support.What to do
In
scripts/selfmodel.sh, find thedetect_stack()function and add detection for:Gemfile,*.rbfiles, Rails (config/routes.rb)Package.swift,*.swiftfiles, Xcode project (*.xcodeproj)Follow the existing pattern used for Go, Rust, and Python detection.
Files to modify
scripts/selfmodel.sh—detect_stack()functionAcceptance criteria
selfmodel.sh adaptdetects Ruby projects correctlyselfmodel.sh adaptdetects Swift projects correctly