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.想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
gofmt style – tabs for indentation (width 8); no extra spaces; consistent formatting.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质量中等偏上,能有效格式化多种常见编程语言的代码,风格规则定义清晰专业。它擅长处理结构化的格式化需求,但对于复杂代码的容错能力有限。优点是支持语言丰富、规则明确;不足是文档示例不完整、缺乏灵活配置,且版本信息存在不一致,可能会给使用带来困惑。