Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
crisp-start-bloom is an Australian financial management and tax compliance platform built for production deployment via autonomous AI development.
This is a Lovable project supporting both IDE and web platform development.
npm run dev # Start dev server on http://[::]:8080 npm run build # Production build npm run build:dev # Development mode build npm run preview # Preview production build npm run lint # Run ESLint
noImplicitAny: false, strictNullChecks: falsenoUnusedLocals: false, noUnusedParameters: false@/* → ./src/*App.tsx (minimal - 31 lines) ├── Index + Auth pages (instant load) └── ProgressiveAppShell (lazy) ├── ProgressiveProviders (staged loading) └── LazyRouteLoader (route chunking)
Key Performance Files:
src/App.tsx - Minimal entry (critical routes only)src/App.legacy.tsx - Original implementation (reference)src/components/performance/ProgressiveAppShell.tsxsrc/components/performance/routes/*.tsx - Priority-based route bundlessrc/utils/backgroundTaskManager.tssrc/integrations/supabase/client.ts (auto-generated, don't edit)supabase/functions/*/index.ts
personal-income-tax-calculator, gst-calculator, capital-gains-tax-calculatorgemini-receipt-ocr, fast-receipt-processml-categorization-engine, ai-tax-advisor, enhanced-rag-searchbasiq-integration-enhanced, xero-integration, quickbooks-integrationsubscription-gate, secrets-health, audit-loggerstorage-audit, storage-monitor, cleanup-statussrc/config/featureFlags.ts, src/hooks/useFeatureFlags.tssrc/components/Admin/FeatureFlagDashboard.tsx, StorageCleanupDashboard.tsxFEATURE_FLAG_IMPLEMENTATION.md for detailsThis project follows a comprehensive autonomous development plan using Claude Code 4.5 (implementation) + Google Jules (analysis/validation) to achieve production readiness.
| Phase | Hours | Focus | Primary AI |
|---|---|---|---|
| Phase 1 | 0-6 | Setup & Analysis | Jules |
| Phase 2 | 6-9 | Banking Integration & Onboarding | Claude + Jules |
| Phase 3 | 9-12 | Tax Calculation & Compliance UI | Claude + Jules |
| Phase 4 | 12-15 | Expense Tracking (not detailed in plans) | Claude + Jules |
| Phase 5 | 15-18 | Goals, Notifications & AI Features | Claude + Jules |
| Phase 6 | 21-30 | Mobile Optimization & Production | Both |
.ai-workflow/ ├── HANDOFF_QUEUE.md # Task assignments & status ├── STATUS_LOG.md # Development progress ├── COMMUNICATION.md # AI-to-AI messages ├── claude/ │ ├── sessions/ # Work sessions │ ├── checkpoints/ # Code checkpoints │ └── outputs/ # Implementation results └── jules/ ├── tasks/ # Task definitions ├── results/ # Analysis & test results └── reviews/ # Code review reports
STATUS_LOG.md with detailed progressHANDOFF_QUEUE.md with next agent's tasksCOMMUNICATION.mdRepository Architecture Analysis (Hours 2-4)
.ai-workflow/jules/phase2-analysis.md.ai-workflow/jules/feature-priorities.md.ai-workflow/jules/technical-debt.mdDevelopment Cycle Planning (Hours 4-6)
.ai-workflow/jules/cycle-plans/.ai-workflow/jules/testing-protocols.md.ai-workflow/jules/quality-gates.mdWorkflow Infrastructure Setup (Hours 2-3)
.ai-workflow/config/claude-config.tsDevelopmentMonitor class)Repository Preparation (Hours 3-4)
.ai-workflow/claude/coding-standards.ts)BASIQ API Integration:
// src/services/basiq/basiq-client.ts export class BasiqClient { async createUser(userData: CreateUserRequest): Promise<BasiqUser> async getInstitutions(tier: SubscriptionTier): Promise<Institution[]> private filterInstitutionsByTier(institutions, tier): Institution[] }
Xero OAuth Callback Fix:
// src/services/xero/xero-oauth.ts export class XeroOAuthService { async handleCallback(code, state, userId): Promise<XeroTokens> async refreshTokens(userId): Promise<XeroTokens> }
QuickBooks Integration:
// src/services/quickbooks/quickbooks-client.ts export class QuickBooksClient { async initiateOAuth(userId): Promise<string> async handleCallback(code, realmId, state, userId): Promise<QBTokens> }
Components:
src/components/Onboarding/OnboardingWizard.tsxsrc/components/Onboarding/TierSelectionStep.tsxsrc/components/BankIntegration/BankConnectionWizard.tsxSubscription Tiers:
Test Coverage:
Components:
// src/components/Tax/TaxResultsDashboard.tsx - Total income, deductions, final amount (refund/owed) - Tax calculation progress indicator - Tier-specific features // src/components/Tax/IncomeBreakdownCard.tsx - Expandable income categories - Business income section (ABN+ tiers) // src/components/Tax/ATOComplianceCard.tsx - Compliance status indicators - ATO-specific recommendations
Features:
Components:
// src/components/Tax/BusinessTaxSuite.tsx - Multi-entity selector - Tab-based navigation (Overview, BAS, Payroll, Reports) // src/components/Tax/BASManagementTab.tsx - Quarterly BAS generation - GST collected/credits calculation - PAYG withholding - ATO submission preparation
Features:
Components:
// src/components/Tax/ComplianceDashboard.tsx - Compliance overview (compliant/warning/non-compliant) - Upcoming deadlines tracker - Compliance checklist - Compliance history
Test Cases:
- Individual tax calculation (brackets, medicare levy, offsets) - GST calculations for ABN holders - BAS generation accuracy - Multi-entity tax calculations - Edge cases & error handling
Performance Targets:
Security Checks:
Components:
// src/components/Goals/GoalsDashboard.tsx - Goals overview (completed, on track, behind) - Active goals with progress bars - Goal creation/editing modals // src/components/Goals/GoalRecommendationsEngine.tsx - AI-powered goal suggestions - Financial behavior analysis - Tier-specific recommendations
Goal Types by Tier:
Engine:
// src/services/notifications/NotificationEngine.ts export class NotificationEngine { async analyzeTransactions(transactions): Promise<void> private async detectSubscriptionChanges(): Promise<Notification[]> private async detectPotentialFraud(): Promise<Notification[]> private async checkGoalProgress(): Promise<Notification[]> }
Notification Types:
UI:
// src/components/Notifications/NotificationCenter.tsx - Filter by all/unread/high priority - Action buttons (contextual) - Priority-based color coding - Expandable details
Components:
// src/components/AI/EnhancedDobbieAI.tsx - Chat modes: general, analysis, planning - Contextual prompts - Proactive insights - Action buttons for quick responses
Features:
Components:
// src/components/Mobile/MobileOptimizedDashboard.tsx - Swipe gestures for tab navigation - Bottom sheet for quick actions - Mobile tab bar - Touch-optimized cards // src/components/Mobile/TouchOptimizedCard.tsx - Long press support - Swipe actions - Haptic feedback
PWA Implementation:
// src/services/pwa/PWAService.ts - Service worker registration - Offline mode enablement - Background sync - Install prompt handling
Monitoring:
// src/services/performance/PerformanceMonitor.ts - Page load metrics (FCP, LCP, CLS, FID) - API call tracking - Image lazy loading - Virtual scrolling for large lists
Caching:
// src/services/cache/CacheManager.ts - Memory cache (Map-based) - localStorage cache with expiry - Cache invalidation patterns - Size limits (100KB per item)
Configuration:
// src/config/production.ts - API endpoints & timeouts - Security settings (CSP, HSTS, secure cookies) - Monitoring (error tracking, performance) - Feature flags per tier - Compliance settings (7-year retention)
Health Checks:
// src/services/monitoring/HealthCheck.ts - Database connection checks - API endpoint validation - External integration status - System resource monitoring
Coverage:
Benchmarks:
Checklist:
Technical:
Business:
Operational:
# Install Claude Code globally npm install -g @anthropic-ai/claude-code@latest claude --version # should show 4.5 # Install Jules Tools CLI npm install -g @google/jules jules --help # Export API keys export ANTHROPIC_API_KEY="sk-..." export GOOGLE_API_KEY="..."
git clone https://github.com/clutran78/crisp-start-bloom.git cd crisp-start-bloom npm i # Create AI orchestration structure mkdir -p .ai-workflow # Set up monitoring and scripts (from phase-2 plan) chmod +x .ai-workflow/scripts/*.sh source .ai-workflow/scripts/init-workflow.sh
Add to
.vscode/settings.json:
{ "terminal.integrated.profiles.linux": { "AI Workflow": { "path": "/bin/bash", "args": ["-c", "source ${workspaceFolder}/.ai-workflow/scripts/workflow-orchestrator.sh init && exec bash"] } }, "files.associations": { "*.ai": "markdown", "HANDOFF_*": "markdown", "STATUS_*": "markdown" } }
# Start file monitor .ai-workflow/start_monitor.sh # Trigger Jules initial analysis jules task run -f .ai-workflow/jules-current-task.md # Monitor will auto-start Claude when ready # View dashboard .ai-workflow/scripts/dashboard.sh
const Dashboard = React.lazy(() => import("@/pages/DashboardPage"));
src/utils/queryOptimizer.ts for createOptimizedQueryClient()import { backgroundTaskManager } from '@/utils/backgroundTaskManager'; backgroundTaskManager.addTask(() => initializeMemoryOptimization(), 3000);
const { flags } = useFeatureFlags(); if (!flags.receipt_upload_enabled) return <DeprecationNotice />;
const { tier, hasAccess } = useSubscriptionTier(); if (tierRestricted && !hasAccess(minTier)) { return <UpgradePrompt requiredTier={minTier} />; }
@/components/ui/*)cn() utility from @/lib/utilsMinimalAuthProvidersrc/integrations/supabase/client.ts (auto-generated)FEATURE_FLAG_IMPLEMENTATION.md - Feature flags & storagePERFORMANCE_OPTIMIZATION.md - Performance improvementsAI-WORKFLOW.md - AI assistant usage workflowREADME.md - Project setup & deploymentThis CLAUDE.md provides comprehensive guidance for autonomous AI development using Claude Code 4.5 and Google Jules to bring crisp-start-bloom to production-ready status through a structured 30-hour workflow.