mirror-magi-meta-agent
Version:
AI-powered development planning and execution system with Supabase integration
235 lines (228 loc) • 7.36 kB
JSON
{
"project": {
"name": "Your Project Name",
"description": "Brief description of your application/project",
"version": "1.0.0",
"domains": [
"example_domain_1",
"example_domain_2",
"example_domain_3"
],
"tech_stack": {
"frontend": {
"framework": "React 18.x | Vue 3.x | Angular 17.x | Next.js 14.x",
"language": "TypeScript 5.x | JavaScript ES6+",
"build_tool": "Vite 5.x | Webpack 5.x | Turbopack",
"styling": "Tailwind CSS | Styled Components | CSS Modules | SCSS",
"ui_library": "shadcn/ui | Material-UI | Ant Design | Chakra UI",
"routing": "React Router | Vue Router | Angular Router",
"state_management": "Redux Toolkit | Zustand | Pinia | NgRx"
},
"backend": {
"platform": "Node.js | Python | Go | Java | C#",
"framework": "Express | Fastify | FastAPI | Gin | Spring Boot",
"database": "PostgreSQL | MySQL | MongoDB | SQLite",
"auth": "Auth0 | Firebase Auth | Supabase Auth | Custom JWT",
"orm": "Prisma | TypeORM | Mongoose | SQLAlchemy",
"api_style": "REST | GraphQL | tRPC"
},
"infrastructure": {
"hosting": "Vercel | Netlify | AWS | GCP | Azure",
"database_hosting": "Supabase | PlanetScale | MongoDB Atlas",
"cdn": "Cloudflare | AWS CloudFront",
"monitoring": "Sentry | LogRocket | Datadog"
},
"testing": {
"unit": "Jest | Vitest | Mocha",
"e2e": "Playwright | Cypress | Puppeteer",
"testing_library": "@testing-library | Vue Test Utils"
},
"external_apis": {
"example_api_1": "API Name and version",
"example_api_2": "Another API integration",
"example_api_3": "Third party service"
}
},
"architecture": {
"pattern": "MVC | Feature-based | Domain-driven | Microservices",
"data_flow": "Unidirectional | Bidirectional | Event-driven",
"authentication": "JWT | Session-based | OAuth",
"api_design": "RESTful | GraphQL | Event-driven",
"file_structure": "Feature-based | Domain-driven | Layered"
}
},
"directory_structure": {
"root": ".",
"source": "src/ | lib/ | app/",
"components": {
"ui": "src/components/ui/",
"features": "src/components/ | src/features/",
"shared": "src/components/shared/ | src/shared/"
},
"pages": "src/pages/ | src/routes/ | src/views/",
"hooks": "src/hooks/ | src/composables/",
"api": "src/api/ | src/services/ | src/lib/",
"types": "src/types/ | src/@types/ | types/",
"utils": "src/utils/ | src/lib/ | src/helpers/",
"contexts": "src/contexts/ | src/store/ | src/providers/",
"tests": {
"e2e": "tests/e2e/ | e2e/ | cypress/",
"unit": "src/__tests__/ | __tests__/ | tests/unit/",
"fixtures": "tests/fixtures/ | __fixtures__/"
},
"config": {
"root": "config/ | .config/",
"env": ".env* files",
"build": "build config files"
}
},
"development": {
"git_strategy": {
"main_branch": "main | master",
"development_branch": "develop | dev",
"feature_prefix": "feature/ | feat/",
"hotfix_prefix": "hotfix/ | fix/",
"release_prefix": "release/",
"commit_convention": "conventional-commits | custom"
},
"branch_naming": {
"features": "feature/ABC-123-description",
"hotfixes": "hotfix/critical-bug-fix",
"releases": "release/v1.2.0"
},
"environments": {
"local": {
"url": "http://localhost:3000",
"api_url": "http://localhost:8000",
"database_url": "local connection string"
},
"staging": {
"url": "https://staging.yourapp.com",
"api_url": "https://api-staging.yourapp.com"
},
"production": {
"url": "https://yourapp.com",
"api_url": "https://api.yourapp.com"
}
}
},
"code_standards": {
"language_specific": {
"typescript": {
"strict_mode": true,
"strict_null_checks": true,
"no_any_types": "warn",
"prefer_interfaces": true,
"export_conventions": "named_exports_preferred"
},
"javascript": {
"es_version": "ES2022",
"module_system": "ESM",
"style_guide": "Airbnb | Standard | Google"
}
},
"frontend": {
"component_type": "functional | class | composition_api",
"hook_rules": "follow framework best practices",
"prop_types": "typescript_interfaces | prop-types",
"state_management": "hooks_and_context | store_pattern"
},
"backend": {
"api_design": "RESTful | GraphQL",
"error_handling": "comprehensive",
"validation": "input_validation_required",
"security": "authentication_required"
},
"testing": {
"unit_test_coverage": 80,
"e2e_critical_paths": "required",
"test_data": "fixtures_preferred",
"mocking": "minimal_external_dependencies"
},
"ui_patterns": {
"design_system": "consistent_component_library",
"responsive_design": "mobile_first",
"accessibility": "wcag_aa",
"performance": "optimized_rendering"
}
},
"domain_patterns": {
"example_domain_1": {
"crud_operations": "standard_patterns",
"validation": "comprehensive",
"error_handling": "user_friendly",
"ui_patterns": "consistent_with_design_system"
},
"example_domain_2": {
"data_flow": "unidirectional",
"state_management": "centralized",
"api_integration": "error_resilient"
}
},
"meta_agent": {
"session_management": {
"timeout": 3600,
"max_retries": 3,
"checkpoint_frequency": 300,
"auto_save": true
},
"validation": {
"required": true,
"type_check": true,
"test_execution": true,
"build_verification": true,
"linting": true
},
"learning": {
"enabled": true,
"pattern_recognition": true,
"performance_tracking": true,
"optimization_suggestions": true
},
"error_handling": {
"automatic_retry": true,
"rollback_on_failure": true,
"human_escalation_threshold": 3,
"context_preservation": true
}
},
"claude_code_integration": {
"command_templates": {
"feature_development": "feature_template.txt",
"bug_fixes": "bugfix_template.txt",
"testing": "testing_template.txt",
"refactoring": "refactor_template.txt",
"component_creation": "component_template.txt"
},
"context_injection": {
"project_state": true,
"recent_changes": true,
"related_files": true,
"coding_standards": true,
"domain_patterns": true
},
"output_validation": {
"syntax_check": true,
"type_check": true,
"test_generation": true,
"documentation_update": true
}
},
"monitoring": {
"metrics": {
"development_velocity": "tasks_per_hour",
"code_quality": "error_count + test_coverage",
"success_rate": "successful_sessions / total_sessions"
},
"alerts": {
"build_failures": "immediate",
"test_failures": "immediate",
"dependency_issues": "daily_digest"
},
"reporting": {
"daily_summary": true,
"weekly_analysis": true,
"monthly_optimization": true
}
}
}