Screen Without Label JSON File
Documentsscreen_without_label_json_fileScreen Without Label JSON File is an Agent Skill for documents published in the CoderWanFeng/python-office repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
筛选 shapes 字段为空的 JSON 标注文件,并移动到「无标签json文件」子目录。当用户提到筛选空标签 JSON、清洗 JSON 标注时使用。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/ruiming/screen_without_label_json_file/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/screen-without-label-json-file, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
screen_without_label_json_file Skill
筛选无标签内容的 JSON 文件
功能描述
在指定目录下,筛选出 shapes 字段为空的 JSON 文件,并将其移动到 无标签json文件 子目录中。常用于数据清洗场景。
所属分类
office/skills/ruiming/screen_without_label_json_file/
调用方式
from office.skills.ruiming import screen_without_label_json_file
screen_without_label_json_file(dir_path='./jsons')
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
dir_path | str | 是 | - | JSON 文件的存放路径 |
返回值
None(结果直接打印输出)
使用示例
from office.skills.ruiming import screen_without_label_json_file
screen_without_label_json_file(dir_path='./annotations')
原始函数
office.api.testApi.ruiming.screen_without_label_json_file