kpkn-nutrition-ai
CommunityHarden KPKN nutrition AI for Android.
Software Engineering#persistence#android#kotlin#fallback logic#local ai#compose ui#nutrition parsing
Authorrotnitxe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you translate and safely evolve the KPKN nutrition AI workflow so Android free-form food logging produces trustworthy, review-aware results with correct save semantics and deterministic fallback.
Core Features & Use Cases
- Android-first translation and validation: Port or validate behavior from the PWA nutrition pipeline into Kotlin/Compose, especially around free-form logging and drawer UX.
- Robust AI + deterministic fallback: Ensure parsing never fails hard when local AI is missing or slow, while preserving the analyze-when-requested flow.
- Correct resolution and persistence: Guarantee proper transformation from parsed items to
LoggedFood, then write-through state updates intoNutritionRepository(including Room-backed persistence) so the screen and stored logs stay consistent. - Locale-aware food parsing: Preserve Spanish/Chilean parsing intent, aliases/tokens, and protected phrases so behavior does not regress during refactors.
- Guardrails against false certainty: Keep
analysisEngine,modelVersion,containsEstimatedItems, andrequiresReviewsemantics coherent and reflected honestly in the UI.
Quick Start
Use the kpkn-nutrition-ai skill to validate a proposed change to Local AI nutrition parsing in android-native and confirm the unresolved/estimated/review-required behavior and NutritionRepository save semantics still match the PWA oracle for the impacted flow.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kpkn-nutrition-ai Download link: https://github.com/rotnitxe/KPKNFit/archive/main.zip#kpkn-nutrition-ai Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.