implementation-plan
Step-by-step plan for building the Leaf mobile app and backend using Supabase and Open Library API.
Install / Use
npx skills add colorpulse6/knicks-knacksInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubdescription: Step-by-step plan for building the Leaf mobile app and backend using Supabase and Open Library API. globs: alwaysApply: false
Leaf Implementation Plan
Rule Type: Agent Requested
How to Use: Follow this plan step-by-step when building new features or onboarding new contributors. Ensures all agents follow a consistent, maintainable workflow.
-
Scaffold the App
- Create dirs (
/mobile,/backend,/tests) under/apps/leaf. - Initialize Expo project in
/apps/leaf/mobileusing TypeScript template:npx create-expo-app@latest --template expo-template-blank-typescript
- Initialize Express app in
/apps/leaf/backendwith TypeScript.- Use
ts-nodefor dev,tsupfor builds.
- Use
- Set up Yarn workspaces if not already done.
- Create dirs (
-
Supabase Setup
- Create dedicated Supabase project for user/book/progress data.
- Apply schema using
/apps/leaf/supabase/deploy.shor SQL migrations. - Enable optional Supabase Auth (email/password).
- Save project URL, anon key, and service key for backend/mobile env.
-
Backend API
- Implement REST endpoints for:
- Adding books
- Updating reading progress
- Getting book recommendations (calls Open Library API)
- Integrate Open Library API using
axiosornode-fetch. - Validate and parse responses with Zod.
- Store user/book/progress data in Supabase.
- Add
/healthendpoint for status checks. - Use
.envfor all secrets and URLs.
- Implement REST endpoints for:
-
Frontend
- Set up forms for adding books and updating progress.
- Use TanStack Query for API calls and caching.
- Store JWT in SecureStore if using auth.
- Display book details, progress, and recommendations.
- Implement Home, Library, Progress, and Recommendations screens in
/src/screens. - Use
/src/servicesfor API and Supabase helpers. - All UI components must use Tailwind (via
tailwindcss-react-native).
-
Testing
- Write backend tests in
/tests/backend(Vitest). - Write frontend tests in
/tests/mobile(React Testing Library).
- Write backend tests in
-
Finalize
- Commit all code and configs to version control.
- Confirm
.envfiles are present and correct. - Ready for development and deployment!
Related Skills
Agent-Reach
78.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
69.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
claude-howto
41.4kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
ai-job-search
40.9kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Security Score
Audited on Invalid Date
