Development instructions for FeedFlow, a Kotlin Multiplatform RSS reader with Compose and SwiftUI
Development instructions for FeedFlow, a multi-platform RSS reader built with Kotlin Multiplatform, Compose Multiplatform, and SwiftUI. Targets Android, iOS, macOS, Windows, and Linux.
1. Run all checks (tests + linting):
```bash
./gradlew detekt allTests --quiet --console=plain
```
2. Run static analysis only:
```bash
./gradlew detekt --quiet --console=plain
```
3. Run all tests:
```bash
./gradlew test --quiet --console=plain
```
4. Format iOS code:
```bash
.scripts/ios-format.sh
```
5. Regenerate i18n translations:
```bash
.scripts/refresh-translations.sh
```
**Android:**
```bash
./gradlew :androidApp:assembleGooglePlayDebug --quiet --console=plain
.scripts/run-android.sh # Install and launch on device/emulator
```
**Desktop:**
```bash
./gradlew desktopApp:run --quiet --console=plain
```
**iOS (Simulator):**
```bash
mcp__XcodeBuildMCP__build_sim_name_proj projectPath: "/Users/mg/Workspace/feedflow/feed-flow/iosApp/FeedFlow.xcodeproj" scheme: "FeedFlow" simulatorName: "iPhone 17 Pro"
```
Alternative project paths (always use the first one that exists):
Use `-quiet` flag when building with xcodebuild. If errors occur, re-run without `-quiet` for details.
Copy dummy configuration files before building from scratch:
```bash
cp config/dummy-google-services.json androidApp/src/debug/google-services.json
cp config/dummy-google-services.json androidApp/src/release/google-services.json
cp config/dummy-google-service.plist iosApp/GoogleService-Info-dev.plist
cp config/dummy-google-service.plist iosApp/GoogleService-Info.plist
cp iosApp/Assets/Config.xcconfig.template iosApp/Assets/Config.xcconfig
```
CRITICAL: After making code changes:
1. Build the project for the platform you modified
2. Fix all compilation errors before proceeding
3. Only build for the platform you're working on to save time
Follow the comprehensive testing guide at `.ai/TESTING.md`.
Key principles:
Before handing off work:
1. Run `./gradlew detekt --quiet --console=plain` (skip if only Swift files modified)
2. Run `.scripts/ios-format.sh` (only if iOS app was modified)
3. Fix any issues found during the above steps
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/feedflow-copilot-instructions/raw