This skill takes raw, poorly indented code and returns a nicely formatted, readable version following community standard style guides. It supports multiple languages and provides clear error messages when language is not recognized or code is invalid.
{ on same line.gofmt style – tabs for indentation (width 8); no extra spaces; consistent formatting.小蔥技能7w4.net持續更新中。
When the user provides a code snippet and specifies (or implies) a language:
If the language is not supported, respond with: "Sorry, I don't support formatting for {language} yet. Supported languages: python, javascript, typescript, json, html, css, go."
User: "Format this Python: def hello():print('world')" AI:
def hello():
print('world') 這個Skill質量中等偏上,能有效格式化多種常見程式語言的程式碼,風格規則定義清晰專業。它擅長處理結構化的格式化需求,但對於複雜程式碼的容錯能力有限。優點是支援語言豐富、規則明確;不足是文件示例不完整、缺乏靈活配置,且版本資訊存在不一致,可能會給使用帶來困惑。