AGENT SKILL

替换为 Helpers 工具包代码

coding.fix_use_helpers

识别 Python 代码,并将其替换为 `helpers` 包中的代码

使用场景代码实现
License 许可
Apache-2.0
所属仓库
causify-ai/helpers
最近更新
2026-11-02
Stars
★ 155
Forks
170

01 前言 Front Matter

model
haiku
description
Identify and replace Python code with code in the `helpers` package

02 资源文件 14

03 SKILL.md 正文

Goal

I will provide references to one or more Python source files <FILES>. Read and analyze the code across these files and identify what functions can be replaced with functions from helpers.

Workflow

  • The most important packages are:
    • helpers/hdbg.py
      • Debugging utilities with specialized assertions, logging, and fatal error handling
    • helpers/hio.py
      • Filesystem operations, file read/write, and directory management utilities
    • helpers/hsystem.py
      • System interaction: shell commands, environment variables, process management
  • Do not change the behavior of the code

Verification

  • [ ] Confirm replaced calls preserve the original behavior
  • [ ] Run the file's unit tests to confirm nothing broke

04 同仓库更多 Skills