AgentSkillsCN

output-artifact-organization

将 SQL、JSON 以及示例文件保存至指定文件夹的指南。

SKILL.md
--- frontmatter
name: output-artifact-organization
description: Guidelines for saving SQL, JSON, and examples to specific folders.

Output Artifact Organization

When to use this skill

  • The user asks to generate SQL, JSON data, or example code files.
  • You need to decide WHERE to save a file.

1. Standards

  • SQL: Save to /sql/. Filename: YYYY_MM_DD_description.sql.
  • JSON: Save to /examples/json/. Filename: description.json.
  • Docs: Save to /docs/ or specific subdirectory.
  • Temporary: Avoid creating files in root; use a temp folder if it's throwaway.

2. Naming

  • Use descriptive, kebab-case logic.
  • Include date prefixes for migrations or chronologically significant files.