This project is heavily reliant on our custom Drawscape Factorio python module.
Add this skill
npx mdskills install PatrickJS/cursor-python-flask-json-guideCode example without agent instructions, trigger conditions, or actionable workflow guidance
This project is heavily reliant on our custom Drawscape Factorio python module.
Here is code examples of how to use the module:
from drawscape_factorio import create as createFactorio
from drawscape_factorio import importFUE5
with open('/path/to/exported-entities.json', 'r') as file:
json_data = json.load(file)
data = importFUE5(json_data)
result = createFactorio(data, {
'theme_name': 'default',
'color_scheme': 'main',
'show_layers': ['assets', 'belts', 'walls', 'rails', 'electrical', 'spaceship']
})
with open(output_file_name, 'w') as f:
f.write(result['svg_string'])
Install via CLI
npx mdskills install PatrickJS/cursor-python-flask-json-guidePython Flask JSON Guide is a free, open-source AI agent skill. This project is heavily reliant on our custom Drawscape Factorio python module.
Install Python Flask JSON Guide with a single command:
npx mdskills install PatrickJS/cursor-python-flask-json-guideThis downloads the skill files into your project and your AI agent picks them up automatically.
Python Flask JSON Guide works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.