Feature Development Workflow
When to use this skill
- •When starting work on a new Jira ticket/User Story.
- •When planning a new major feature.
- •When you need a checklist to ensure nothing is missed during development.
Step 1: Planning
Before writing code:
- •Requirements: Clearly define what "done" looks like.
- •User Stories: Break down the feature into small, testable stories.
- •Mockups: Review Figma/Sketch designs. Identify reusable components vs. new ones.
- •API Check: List all endpoints needed. Are they ready? If not, define the interface contract (JSON structure) to mock.
Step 2: Setup
- •Branching: Create a fresh
feature/branch fromdevelop/main. - •Structure: Create necessary folders (e.g.,
/screens/NewFeature,/components/NewFeature). - •Typing: Define TypeScript interfaces/types for your data models and component props first.
Step 3: Development
- •UI First: Build "dumb" presentational components with mocked data. Ensure they look right (Storybook is helpful here).
- •Logic: Implement the business logic (hooks, services).
- •Integration: Replace mocks with real API calls.
- •State: Wire up global state (Redux/Context) if needed.
Step 4: Testing
- •Unit: Write tests for utilities and complex logic.
- •Integration: Test the main flows (happy path & error states).
- •Manual: Run on actual devices (iOS & Android). Test offline mode, loading states, and weird inputs.
Step 5: Review
- •Self-Review: Diff your own code. Remove
console.logs, commented-out code, and fix types. - •Standards: Does it meet the
mobile-coding-standards? - •A11y: Is it accessible (screen readers, contrast)?
- •Performance: No obvious lag or excessive re-renders?
Step 6: Documentation & Merge
- •Docs: Update
README.mdor internal wiki if new architecture/env vars were added. - •Comments: Add JSDoc for any complex public functions.
- •PR: Open Pull Request with screenshots/video of the feature in action.