返回 Skill 列表
extension
分类: 开发与工程无需 API Key

devops-scripts-authoring

在scripts/或packages/*/scripts中创建或修改devops辅助脚本。用于新的封装、自动化或脚本风格约定。

person作者: jakexiaohubgithub

Devops Scripts Authoring

Conventions

  • Use simple shell/python scripts to wrap common tasks.
  • Avoid scripts when a popular native command exists.
  • Locations: scripts/ and packages/*/scripts/.
  • Style: minimal arguments, --help, fail fast, forward common errors, idempotent when sensible.
  • Avoid Makefiles/Justfiles.

During development

  • Run syntax checks and dry-runs.
  • Manually inspect outputs and side effects.
  • Document test steps in script comments.

Documentation

  • Use a brief header comment and why-comments.
  • Keep usage-level instructions in onboarding docs (skills).