Skip to content

[authoring-antigravity-skills] #2143

Description

@vrnjoshi

This section mentions that skill should be invoked:

`Step 1: Create the Python File with Sample Code

Your Prompt:

Create a new file my_script.py with the following python code:

def hello():
print("Hello, World!")
What Happened (Explanation): The agent invoked a file-writing tool (write_to_file) to create a new file named my_script.py directly in your active workspace directory and wrote the basic Python function to it. Additionally, the prompt triggered the license-header-adder skill. The agent located and read the license template file (HEADER_TEMPLATE.txt), modified the comment style from C-style block comments (/* ... */) to Python-style comments (#), and prepended it to the top of the file using the replace_file_content tool.`

The prompt triggers the skill but the header is not prepended to the generated python script because the agent is following the exact prompt which provides the code already. Please see below screenshot:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions