Skip to content

[authoring-antigravity-skills] #2146

Description

@TaiViet1912

I've got the problem with the code. When i wrote the following with the suggest codelab like
"
Create a new file my_script.py with the following python code:

def hello():
print("Hello, World!") "

The AI-agent didn't automatically loaded the file SKILL.md in path ~/.agent/skills/license-header-adder and of course, it hasn't also read the file HEADER_TEMPLATE.txt located at ~/.agent/skills/license-header-adder/resources.

I have tried it to all model (Gemini and Opus) It already output the same result.

The second, I try another prompt like that
"Create a new file my_script.py with the following python code that require copyright attribution

def hello():
print("Hello, World!") "

This time, it worked! Ai-agent maybe 'saw' the keyword match "copyright attribution' to the description of the YAML Frontformatt of SKILL.md located at ~/.agent/skills/license-header-adder. Then, it automatically loaded the full file SKILL.md, read the file HEADER_TEMPLATE.txt and execute the code with prepend the copyright of the file .py

All the picture I linked at the file, Thank you so much!
Best regard!

Image)
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