zhouyilab-cpp-style
编写 ZhouYiLab C++ 代码时落实性能、命名、枚举定义、成员注释和 WSL clang-format 规范。
Skill by banderzhm
Chalk Labs
Need help deploying zhouyilab-cpp-style?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/banderzhm-zhouyilab-cpp-style
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/zhouyilab-cpp-style
What's inside
- Skill name
zhouyilab-cpp-style- Description
- 编写 ZhouYiLab C++ 代码时落实性能、命名、枚举定义、成员注释和 WSL clang-format 规范。
- License
- MIT
- Instructions
- 29 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## 可读性与性能 - 性能与代码美感优先,但以正确性和清晰边界为前提。固定小域优先数组、枚举与只读定义表;已知数量的结果预留容量,避免循环中重复构建映射、重复查根和拼接无用字符串。 - 私有规则表和辅助函数放 `.cpp`,必要时使用匿名命名空间。仅在真实热点或稳定不变量处缓存;不要引入无界全局缓存、悬空 `string_view` 或为“零拷贝”破坏生命周期。 - 规则用稳定枚举/规则标识作键,不用散落的中文字符串驱动分支。显示名称复用 `ZhouYi.ZhMapper` 及所属领域映射,不另造通用枚举反射库。 - 文件名采用现有 `snake_case`,模块名沿用 `ZhouYi.*`;专业概念命名为排盘、原局、课体、卦象等对应语义,禁止泛称“事实层/事实项/事实依据”及含混的 `misc/partN` 拆分。 ## JavaDoc 风格注释 - 修改或新增的公共 enum、每个枚举值、struct/class、每个成员及公开函数均补中文 `/** ... */` 注释。字段说明含义、单位/范围、默认值语义;可选项说明未提供如何处理,数值区分分值、比例、规则权重。 - 函数用 `@brief`、`@param`、必要的 `@tparam`、`@return`、`@throws` 说明契约;不要机械为 void 写返回值或声称不会发生的异常。私有复杂公式说明依据、边界与不变量,简单语句不逐行翻译。 - 接口保留完整契约注释,实现只解释推演和算法原因。移动函数/枚举/结构时注释一起移动,不以格式化或拆文件为由丢弃注释。 例如成员应写清: ```cpp /** @brief 是否完成三合三支补齐;不代表已经成化。 */ bool complete = false; /** @brief 关系作用系数,范围 [0, 1];0 表示该作用未计入。 */ double effectiveness = 0.0; ``` ## 格式化 - 先查实际可用的 WSL 发行版与 `clang-format` 版本,再使用 WSL 的 Clang 格式化工具处理本次修改的 `.cppm`、`.cpp`;若不可用,说明未格式化,不假称已执行。 - 优先遵循仓库已有格式配置,无配置则延续邻近代码风格。只格式化本次相关文件,不顺手重排整个仓库或第三方库。 - 格式化后检查 `git diff --check` 与差异,确认中文编码、注释、模块声明及公共签名未受损。
From banderzhm/ZhouYiLab, MIT.
More from banderzhm/ZhouYiLab
- 0.769score
zhouyilab-use-bazi
banderzhm
八字公农历排盘、子平与盲派切换、岁运分析和中文报告的用法。
SkillAFreshness: A★ 142Claude Code +9 - 0.769score
zhouyilab-use-ziwei
banderzhm
紫微排盘、十二宫星曜亮度、四化、格局和运限的查询与输出。
SkillAFreshness: A★ 142Claude Code +9 - 0.726score
zhouyilab-domain
banderzhm
修改 ZhouYiLab 排盘、干支关系、原局及岁运分析时约束共用基础复用、流派口径与时间语义。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-testing
banderzhm
为 ZhouYiLab 排盘或分析变更设计回归测试、运行示例并核验报告时区分独立基准和契约检查。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-common
banderzhm
查询干支关系、十神、藏干、四柱、卦名,换算公农历和真太阳时的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-liuyao
banderzhm
六爻传卦、动爻转换、按占问取用神,以及装卦和断卦报告的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-daliuren
banderzhm
大六壬起课、设置本命行年和类神、查看四课三传关系与应期、输出报告的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-meihua
banderzhm
梅花按时间、数字、笔画或声音起卦,查看体用互变和应期,输出中文报告的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-modules
banderzhm
在 ZhouYiLab 新增或重构 C++23 模块、分析入口与公共契约时规范分层、依赖和 cppm/cpp 组织。
SkillBFreshness: B★ 142Claude Code +9 - 0.725score
zhouyilab-skill-maintenance
banderzhm
维护 ZhouYiLab 仓库 skills 规范、聚合顺序及 AGENTS.md 生成脚本时使用,避免规范重复和生成文件漂移。
SkillBFreshness: B★ 142Claude Code +9 - 0.724score
zhouyilab-build
banderzhm
修改 ZhouYiLab 的 CMake、依赖、模块构建和 GitHub Actions 时保持三平台兼容及真实运行验证。
SkillBFreshness: B★ 142Claude Code +9 - 0.723score
zhouyilab-use-qimen
banderzhm
奇门公农历排盘、九宫查询、按占问分析和输出中文报告的用法。
SkillBFreshness: B★ 142Claude Code +9
Signals
- Stars
- 142
- Forks
- 47
- Open issues
- 2
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/banderzhm/ZhouYiLab
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from banderzhm
- 0.769score
zhouyilab-use-ziwei
banderzhm
紫微排盘、十二宫星曜亮度、四化、格局和运限的查询与输出。
SkillAFreshness: A★ 142Claude Code +9 - 0.769score
zhouyilab-use-bazi
banderzhm
八字公农历排盘、子平与盲派切换、岁运分析和中文报告的用法。
SkillAFreshness: A★ 142Claude Code +9 - 0.726score
zhouyilab-use-meihua
banderzhm
梅花按时间、数字、笔画或声音起卦,查看体用互变和应期,输出中文报告的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-common
banderzhm
查询干支关系、十神、藏干、四柱、卦名,换算公农历和真太阳时的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-use-liuyao
banderzhm
六爻传卦、动爻转换、按占问取用神,以及装卦和断卦报告的用法。
SkillBFreshness: B★ 142Claude Code +9 - 0.726score
zhouyilab-testing
banderzhm
为 ZhouYiLab 排盘或分析变更设计回归测试、运行示例并核验报告时区分独立基准和契约检查。
SkillBFreshness: B★ 142Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get zhouyilab-cpp-style running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
zhouyilab-cpp-style skill. Agent Mart. https://agentmart.dev/skills/banderzhm-zhouyilab-cpp-style (last updated 2026-10-24)