docs(agents): update agents with new features and more docs links#411
docs(agents): update agents with new features and more docs links#411
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the AGENTS.md documentation, providing an updated and more comprehensive guide for Pixlet app development. The changes aim to improve clarity and cover new features like 2x rendering and advanced configuration, ensuring developers have access to the latest information and resources for building high-quality applications. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
| pixlet render --webp-level=9 apps/<appname>/<app_name>.star | ||
| # For 2x support preview: | ||
| pixlet render --2x --webp-level=9 apps/<appname>/<app_name>.star |
There was a problem hiding this comment.
The preview rendering commands use long-form flags (--webp-level=9, --2x) which differ from the short-form flags (-z 9, -2) recommended in the repository style guide. For consistency, update the commands to use the short-form flags.
| pixlet render --webp-level=9 apps/<appname>/<app_name>.star | |
| # For 2x support preview: | |
| pixlet render --2x --webp-level=9 apps/<appname>/<app_name>.star | |
| pixlet render -z 9 apps/<appname>/<app_name>.star | |
| # For 2x support preview: | |
| pixlet render -z 9 -2 apps/<appname>/<app_name>.star |
References
- The repository style guide recommends specific flags for generating preview images:
pixlet render -z 9andpixlet render -z 9 -2. (link)
| Manage complex settings with a config file/schema. Pass configuration arguments via the CLI during development: | ||
| ```sh | ||
| pixlet render apps/<appname>/<app_name>.star key=value | ||
| ``` |
There was a problem hiding this comment.
The 'Configurations' section is missing key guidelines from the repository style guide. Please expand this section to include the following points:
- For sensitive values like API keys or passwords, schema definitions should use
secret = True. - For boolean options (from
schema.Toggle), values should be retrieved usingconfig.bool("key")instead ofconfig.get("key").
No description provided.