·python-logging-best-practices
</>

python-logging-best-practices

terrylica/cc-skills

使用 loguru 和 platformdirs 进行 Python 日志记录。触发器 - loguru、结构化日志记录、JSONL 日志、日志轮换、XDG 目录。

36安装·4热度·@terrylica

安装

$npx skills add https://github.com/terrylica/cc-skills --skill python-logging-best-practices

SKILL.md

Unified reference for Python logging patterns optimized for machine readability (Claude Code analysis) and operational reliability.

Prevent unbounded log growth - configure rotation for ALL log files:

Use JSONL (.jsonl) for logs that Claude Code or other tools will analyze:

使用 loguru 和 platformdirs 进行 Python 日志记录。触发器 - loguru、结构化日志记录、JSONL 日志、日志轮换、XDG 目录。 来源:terrylica/cc-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/terrylica/cc-skills --skill python-logging-best-practices
分类
</>开发工具
认证
收录时间
2026-02-04
更新时间
2026-02-18

快速解答

什么是 python-logging-best-practices?

使用 loguru 和 platformdirs 进行 Python 日志记录。触发器 - loguru、结构化日志记录、JSONL 日志、日志轮换、XDG 目录。 来源:terrylica/cc-skills。

如何安装 python-logging-best-practices?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/terrylica/cc-skills --skill python-logging-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/terrylica/cc-skills