-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Context
As of now, its only consuming Figma API responses to let the AI build up UI. Until it is prompted to create certain files in specific folders or way it won't do it.
Requirement
Probably have some tool, that first gather some basic structure of how and where files are being created in the current project and then utilize that information within the context while writing Flutter.
Tentative Approach
Maybe if we have something like figma-flutter-mcp-wizard.json file that includes the overview of project structure in form of directories, file names etc. It can read it before using any other tool.
Example:
{
"_comment": "All paths are relative to this config file's directory. Place this file in your Flutter project root.",
"projectStructure": {
"projectRoot": ".",
"assetsPath": "assets/images/",
"svgAssetsPath": "assets/svgs/"
},
"themeGeneration": {
"themeOutputPath": "lib/theme/",
"colorsFile": "lib/theme/app_colors.dart",
"typographyFile": "lib/theme/app_typography.dart",
"themeFile": "lib/theme/theme.dart"
},
"codeGeneration": {
"screensPath": "lib/screens/",
"widgetsPath": "lib/widgets/",
"constantsPath": "lib/constants/"
},
"cacheSettings": {
"cacheEnabled": true,
"cacheTtlMinutes": 30,
"cacheMaxEntries": 1000
}
}And since it has nothing to do with logic so we don't need files for state management, services, models etc. Until and unless it needs to be provided
Metadata
Metadata
Assignees
Labels
No labels