The project provides two key files:
If the AI assistant encounters issues with the more compact llms-full.txt file, you can also direct it to the more comprehensive reference.md file available at https://sketchingpy.org/reference.md, which contains the complete API reference with detailed examples and explanations.
Here's an example prompt to get started:
Hello! I would like help with working in Sketchingpy. Please read https://sketchingpy.org/llms-full.txt?v=20250915 and https://sketchingpy.org/llms.txt?v=20250915 to learn more about the Python package.
The version number (v=20250915) is optional but recommended as it helps ensure the AI reads the most current version of the documentation.
For AI assistants that do not have internet access, you can provide these documentation files as attachments:
Simply download and attach these files when working with offline AI assistants to ensure they have access to complete Sketchingpy documentation.
Please make a simple sketch which is 500 by 500 pixels with a background of #F0F0F0. Then, in its center, please draw an ellipse with radius of 20 by 20 pixels at the center. This ellipse should have a fill of #C0C0C0 and a stroke of #000000.This type of prompt should result in code like:
import sketchingpy
sketch = sketchingpy.Sketch2D(500, 500)
sketch.clear('#F0F0F0')
sketch.set_fill('#C0C0C0')
sketch.set_stroke('#000000')
sketch.set_ellipse_mode('radius')
sketch.draw_ellipse(250, 250, 20, 20)
sketch.show()
Other helpful prompts might include:
Format: ?v=YYYYMMDD
Example: https://sketchingpy.org/llms-full.txt?v=20250915
The version number typically corresponds to the date the documentation was last updated.