Skip to content

Commit 971b71c

Browse files
docs: add mcpplibs-capi-lua agent skill
- SKILL.md: quick start, naming map, core API cheat sheet, common patterns, build config, caveats (callback signatures, extern C, inline limitation) - reference.md: complete API reference with all 15 types, 50+ constants, 100+ functions organized by category with C API correspondence - Update skills README to list both available skills Co-authored-by: SPeak <sunrisepeak@d2learn.org>
1 parent f7761cf commit 971b71c

File tree

3 files changed

+760
-3
lines changed

3 files changed

+760
-3
lines changed

.agents/skills/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# mcpp-style-ref Agent Skills
1+
# mcpplibs Agent Skills
22

3-
用于指导 Agent 在编写或审查 Modern/Module C++ 代码时遵循 mcpp-style-ref 规范的技能
3+
用于指导 Agent 在 mcpplibs 生态中开发的技能集合
44

55
## 可用技能
66

77
| 技能 | 说明 |
88
|------|------|
99
| [mcpp-style-ref](mcpp-style-ref/SKILL.md) | 面向 mcpp 项目的 Modern/Module C++ (C++23) 命名、模块化与实践规则 |
10+
| [mcpplibs-capi-lua](mcpplibs-capi-lua/SKILL.md) | Lua C API 的 C++23 模块化绑定 — 类型映射、API 速查、常见模式与构建配置 |
1011

1112
## 使用方式
1213

@@ -15,10 +16,12 @@
1516
```bash
1617
mkdir -p .cursor/skills
1718
ln -s ../../skills/mcpp-style-ref .cursor/skills/mcpp-style-ref
19+
ln -s ../../skills/mcpplibs-capi-lua .cursor/skills/mcpplibs-capi-lua
1820
```
1921

2022
或安装为个人技能:
2123

2224
```bash
23-
ln -s /path/to/mcpp-style-ref/skills/mcpp-style-ref ~/.cursor/skills/mcpp-style-ref
25+
ln -s /path/to/skills/mcpp-style-ref ~/.cursor/skills/mcpp-style-ref
26+
ln -s /path/to/skills/mcpplibs-capi-lua ~/.cursor/skills/mcpplibs-capi-lua
2427
```

0 commit comments

Comments
 (0)