ワンクリックで
code-standard
Use when creating or modifying code, architecture, comments, logging, or persistent file behavior in this project.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when creating or modifying code, architecture, comments, logging, or persistent file behavior in this project.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when performing any git branch, commit, merge, tag, or release action in this project.
Use when worktree setup is suggested in this repository, when a workflow references using-git-worktrees, or when Git actions must stay under the project-local git rules instead of the superpowers worktree flow.
Use when creating or updating README, user guides, developer guides, deployment docs, or documentation structure in this project.
| name | code-standard |
| description | Use when creating or modifying code, architecture, comments, logging, or persistent file behavior in this project. |
本项目代码标准面向开源质量,强调高内聚低耦合、可维护文档化注释、可观测日志体系与可移植持久化策略。
核心约束:公共接口需要完整 Doxygen 风格注释;静态可持久化文件只能写入程序运行目录;日志必须同时支持标准输出与持久化切片。
python、questionary、rich。"""
@brief 简要说明
@param name 参数说明
@return 返回值说明
"""
logs/、data/、config/。| 借口 | 为什么不成立 |
|---|---|
| "注释后面补" | 公共接口无注释会立刻降低可维护性与可用性。 |
| "先写到系统目录更通用" | 违反项目持久化约束,也可能触发权限问题。 |
| "先只打 stdout,切片后补" | 无持久化日志会导致问题难以追溯。 |
| "英文注释更国际化" | 当前项目语言明确为中文,需保持一致。 |
/var、/etc、系统用户目录)作为默认持久化位置。