[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B1YJXS15PDMP99BR31FZ7H":3,"skill-same:01M7B1YJXS15PDMP99BR31FZ7H":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7B1YJXS15PDMP99BR31FZ7H","zig-debugging",null,"Zig debugging skill. Use when debugging Zig programs with GDB or LLDB, interpreting Zig runtime panics, using std.debug.print for tracing, configuring debug builds, or debugging Zig programs in VS Code. Activates on queries about debugging Zig, Zig panics, zig gdb, zig lldb, std.debug.print, Zig stack traces, or Zig error return traces.","Yabuku-xD\u002Fomfx","Yabuku-xD","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78594762?v=4","01M7B1X88FX04Z53K2S2P3N2Z9","Shyamalan Kannan","01M7B1X89G34W3D025T1F4KNKF",0,"MIT","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-debugging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: zig-debugging\ndescription: Zig debugging skill. Use when debugging Zig programs with GDB or LLDB, interpreting Zig runtime panics, using std.debug.print for tracing, configuring debug builds, or debugging Zig programs in VS Code. Activates on queries about debugging Zig, Zig panics, zig gdb, zig lldb, std.debug.print, Zig stack traces, or Zig error return traces.\n---\n\n# Zig Debugging\n\n## Purpose\n\nGuide agents through debugging Zig programs: GDB\u002FLLDB sessions, interpreting Zig panics and error return traces, `std.debug.print` logging, debug build configuration, and IDE integration.\n\n## Triggers\n\n- \"How do I debug a Zig program with GDB?\"\n- \"How do I interpret a Zig panic message?\"\n- \"How do I use std.debug.print for debugging?\"\n- \"Zig is showing an error return trace — what does it mean?\"\n- \"How do I set up Zig debugging in VS Code?\"\n- \"How do I get a stack trace from a Zig crash?\"\n\n## Workflow\n\n### 1. Build for debugging\n\n```bash\n# Debug build (default) — full debug info, safety checks\nzig build-exe src\u002Fmain.zig -O Debug\n\n# With build system\nzig build            # uses Debug by default\nzig build -Doptimize=Debug\n\n# Run directly with debug output\nzig run src\u002Fmain.zig\n```\n\n### 2. GDB with Zig\n\nZig emits standard DWARF debug information compatible with GDB:\n\n```bash\n# Build with debug info\nzig build-exe src\u002Fmain.zig -O Debug -femit-bin=myapp\n\n# Launch GDB\ngdb .\u002Fmyapp\n\n# GDB session\n(gdb) break main\n(gdb) run arg1 arg2\n(gdb) next          # step over\n(gdb) step          # step into\n(gdb) continue\n(gdb) print my_var\n(gdb) info locals\n(gdb) bt            # backtrace\n```\n\nBreak on Zig panics:\n```gdb\n(gdb) break __zig_panic_start\n(gdb) break std.builtin.default_panic\n```\n\n### 3. LLDB with Zig\n\n```bash\nlldb .\u002Fmyapp\n\n(lldb) b main\n(lldb) r arg1 arg2\n(lldb) n            # next\n(lldb) s            # step into\n(lldb) p my_var     # print\n(lldb) frame variable\n(lldb) bt           # backtrace\n(lldb) c            # continue\n\n# Break on panic\n(lldb) b __zig_panic\n```\n\n### 4. Interpreting Zig panics\n\nZig panics include the source location and reason:\n\n```\nthread 'main' panic: index out of bounds: index 5, len 3\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:15:14\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:42:9\n???:?:?: (name not available)\n```\n\nCommon panic messages:\n| Panic | Cause |\n|-------|-------|\n| `index out of bounds: index N, len M` | Slice\u002Farray OOB access |\n| `integer overflow` | Arithmetic overflow in Debug\u002FReleaseSafe |\n| `attempt to unwrap null` | Optional access `.?` on null |\n| `reached unreachable code` | `unreachable` executed |\n| `casting...` | Invalid enum tag or union access |\n| `integer cast truncated bits` | `@intCast` with value out of range |\n| `out of memory` | Allocator failed |\n\n### 5. Error return traces\n\nZig tracks where errors propagate with error return traces:\n\n```\nerror: FileNotFound\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:30:20: 0x10a3b in openConfig (main)\n    const f = try std.fs.openFileAbsolute(path, .{});\n                   ^\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:15:25: 0x10b12 in run (main)\n    const cfg = try openConfig(\"\u002Fetc\u002Fmyapp.conf\");\n                    ^\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:8:20: 0x10c44 in main (main)\n    try run();\n               ^\n```\n\nThe trace shows the exact `try` chain where the error propagated. Read bottom-up: `main → run → openConfig`.\n\nEnable in release builds:\n```zig\n\u002F\u002F build.zig\nconst exe = b.addExecutable(.{\n    .name = \"myapp\",\n    .root_source_file = b.path(\"src\u002Fmain.zig\"),\n    .target = target,\n    .optimize = optimize,\n    .error_tracing = true,  \u002F\u002F enable even in ReleaseFast\n});\n```\n\n### 6. std.debug.print for tracing\n\n```zig\nconst std = @import(\"std\");\n\npub fn main() !void {\n    const x: u32 = 42;\n    const name = \"world\";\n\n    \u002F\u002F Basic print (always to stderr)\n    std.debug.print(\"x = {d}, name = {s}\\n\", .{ x, name });\n\n    \u002F\u002F Print any value (useful for structs)\n    const point = Point{ .x = 1, .y = 2 };\n    std.debug.print(\"point = {any}\\n\", .{point});\n\n    \u002F\u002F Formatted output\n    std.debug.print(\"hex: {x}, binary: {b}\\n\", .{ x, x });\n\n    \u002F\u002F Log levels (respects compile-time log level)\n    const log = std.log.scoped(.my_module);\n    log.debug(\"debug info: {d}\", .{x});\n    log.info(\"started processing\", .{});\n    log.warn(\"unusual condition\", .{});\n    log.err(\"failed: {s}\", .{\"reason\"});\n}\n```\n\n### 7. std.log configuration\n\n```zig\n\u002F\u002F Override default log level at root\npub const std_options = std.Options{\n    .log_level = .debug,  \u002F\u002F .debug | .info | .warn | .err\n};\n\n\u002F\u002F Custom log handler\npub fn logFn(\n    comptime level: std.log.Level,\n    comptime scope: @TypeOf(.enum_literal),\n    comptime format: []const u8,\n    args: anytype,\n) void {\n    const prefix = \"[\" ++ @tagName(level) ++ \"] (\" ++ @tagName(scope) ++ \"): \";\n    std.debug.print(prefix ++ format ++ \"\\n\", args);\n}\n\npub const std_options = std.Options{\n    .logFn = logFn,\n};\n```\n\n### 8. VS Code \u002F IDE integration\n\nInstall the `zig.vscode-zig` extension and CodeLLDB.\n\n`.vscode\u002Flaunch.json`:\n```json\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"type\": \"lldb\",\n            \"request\": \"launch\",\n            \"name\": \"Debug Zig\",\n            \"program\": \"${workspaceFolder}\u002Fzig-out\u002Fbin\u002Fmyapp\",\n            \"args\": [],\n            \"cwd\": \"${workspaceFolder}\",\n            \"preLaunchTask\": \"zig build\"\n        }\n    ]\n}\n```\n\n`.vscode\u002Ftasks.json`:\n```json\n{\n    \"version\": \"2.0.0\",\n    \"tasks\": [\n        {\n            \"label\": \"zig build\",\n            \"type\": \"shell\",\n            \"command\": \"zig build\",\n            \"group\": { \"kind\": \"build\", \"isDefault\": true },\n            \"problemMatcher\": [\"$zig\"]\n        }\n    ]\n}\n```\n\n## Related skills\n\n- Use `skills\u002Fzig\u002Fzig-compiler` for build modes and debug info flags\n- Use `skills\u002Fdebuggers\u002Fgdb` for GDB fundamentals\n- Use `skills\u002Fdebuggers\u002Flldb` for LLDB fundamentals\n- Use `skills\u002Fzig\u002Fzig-cinterop` when debugging mixed Zig\u002FC code\n","# Zig Debugging\n\n## Purpose\n\nGuide agents through debugging Zig programs: GDB\u002FLLDB sessions, interpreting Zig panics and error return traces, `std.debug.print` logging, debug build configuration, and IDE integration.\n\n## Triggers\n\n- \"How do I debug a Zig program with GDB?\"\n- \"How do I interpret a Zig panic message?\"\n- \"How do I use std.debug.print for debugging?\"\n- \"Zig is showing an error return trace — what does it mean?\"\n- \"How do I set up Zig debugging in VS Code?\"\n- \"How do I get a stack trace from a Zig crash?\"\n\n## Workflow\n\n### 1. Build for debugging\n\n```bash\n# Debug build (default) — full debug info, safety checks\nzig build-exe src\u002Fmain.zig -O Debug\n\n# With build system\nzig build            # uses Debug by default\nzig build -Doptimize=Debug\n\n# Run directly with debug output\nzig run src\u002Fmain.zig\n```\n\n### 2. GDB with Zig\n\nZig emits standard DWARF debug information compatible with GDB:\n\n```bash\n# Build with debug info\nzig build-exe src\u002Fmain.zig -O Debug -femit-bin=myapp\n\n# Launch GDB\ngdb .\u002Fmyapp\n\n# GDB session\n(gdb) break main\n(gdb) run arg1 arg2\n(gdb) next          # step over\n(gdb) step          # step into\n(gdb) continue\n(gdb) print my_var\n(gdb) info locals\n(gdb) bt            # backtrace\n```\n\nBreak on Zig panics:\n```gdb\n(gdb) break __zig_panic_start\n(gdb) break std.builtin.default_panic\n```\n\n### 3. LLDB with Zig\n\n```bash\nlldb .\u002Fmyapp\n\n(lldb) b main\n(lldb) r arg1 arg2\n(lldb) n            # next\n(lldb) s            # step into\n(lldb) p my_var     # print\n(lldb) frame variable\n(lldb) bt           # backtrace\n(lldb) c            # continue\n\n# Break on panic\n(lldb) b __zig_panic\n```\n\n### 4. Interpreting Zig panics\n\nZig panics include the source location and reason:\n\n```\nthread 'main' panic: index out of bounds: index 5, len 3\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:15:14\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:42:9\n???:?:?: (name not available)\n```\n\nCommon panic messages:\n| Panic | Cause |\n|-------|-------|\n| `index out of bounds: index N, len M` | Slice\u002Farray OOB access |\n| `integer overflow` | Arithmetic overflow in Debug\u002FReleaseSafe |\n| `attempt to unwrap null` | Optional access `.?` on null |\n| `reached unreachable code` | `unreachable` executed |\n| `casting...` | Invalid enum tag or union access |\n| `integer cast truncated bits` | `@intCast` with value out of range |\n| `out of memory` | Allocator failed |\n\n### 5. Error return traces\n\nZig tracks where errors propagate with error return traces:\n\n```\nerror: FileNotFound\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:30:20: 0x10a3b in openConfig (main)\n    const f = try std.fs.openFileAbsolute(path, .{});\n                   ^\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:15:25: 0x10b12 in run (main)\n    const cfg = try openConfig(\"\u002Fetc\u002Fmyapp.conf\");\n                    ^\n\u002Fhome\u002Fuser\u002Fsrc\u002Fmain.zig:8:20: 0x10c44 in main (main)\n    try run();\n               ^\n```\n\nThe trace shows the exact `try` chain where the error propagated. Read bottom-up: `main → run → openConfig`.\n\nEnable in release builds:\n```zig\n\u002F\u002F build.zig\nconst exe = b.addExecutable(.{\n    .name = \"myapp\",\n    .root_source_file = b.path(\"src\u002Fmain.zig\"),\n    .target = target,\n    .optimize = optimize,\n    .error_tracing = true,  \u002F\u002F enable even in ReleaseFast\n});\n```\n\n### 6. std.debug.print for tracing\n\n```zig\nconst std = @import(\"std\");\n\npub fn main() !void {\n    const x: u32 = 42;\n    const name = \"world\";\n\n    \u002F\u002F Basic print (always to stderr)\n    std.debug.print(\"x = {d}, name = {s}\\n\", .{ x, name });\n\n    \u002F\u002F Print any value (useful for structs)\n    const point = Point{ .x = 1, .y = 2 };\n    std.debug.print(\"point = {any}\\n\", .{point});\n\n    \u002F\u002F Formatted output\n    std.debug.print(\"hex: {x}, binary: {b}\\n\", .{ x, x });\n\n    \u002F\u002F Log levels (respects compile-time log level)\n    const log = std.log.scoped(.my_module);\n    log.debug(\"debug info: {d}\", .{x});\n    log.info(\"started processing\", .{});\n    log.warn(\"unusual condition\", .{});\n    log.err(\"failed: {s}\", .{\"reason\"});\n}\n```\n\n### 7. std.log configuration\n\n```zig\n\u002F\u002F Override default log level at root\npub const std_options = std.Options{\n    .log_level = .debug,  \u002F\u002F .debug | .info | .warn | .err\n};\n\n\u002F\u002F Custom log handler\npub fn logFn(\n    comptime level: std.log.Level,\n    comptime scope: @TypeOf(.enum_literal),\n    comptime format: []const u8,\n    args: anytype,\n) void {\n    const prefix = \"[\" ++ @tagName(level) ++ \"] (\" ++ @tagName(scope) ++ \"): \";\n    std.debug.print(prefix ++ format ++ \"\\n\", args);\n}\n\npub const std_options = std.Options{\n    .logFn = logFn,\n};\n```\n\n### 8. VS Code \u002F IDE integration\n\nInstall the `zig.vscode-zig` extension and CodeLLDB.\n\n`.vscode\u002Flaunch.json`:\n```json\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"type\": \"lldb\",\n            \"request\": \"launch\",\n            \"name\": \"Debug Zig\",\n            \"program\": \"${workspaceFolder}\u002Fzig-out\u002Fbin\u002Fmyapp\",\n            \"args\": [],\n            \"cwd\": \"${workspaceFolder}\",\n            \"preLaunchTask\": \"zig build\"\n        }\n    ]\n}\n```\n\n`.vscode\u002Ftasks.json`:\n```json\n{\n    \"version\": \"2.0.0\",\n    \"tasks\": [\n        {\n            \"label\": \"zig build\",\n            \"type\": \"shell\",\n            \"command\": \"zig build\",\n            \"group\": { \"kind\": \"build\", \"isDefault\": true },\n            \"problemMatcher\": [\"$zig\"]\n        }\n    ]\n}\n```\n\n## Related skills\n\n- Use `skills\u002Fzig\u002Fzig-compiler` for build modes and debug info flags\n- Use `skills\u002Fdebuggers\u002Fgdb` for GDB fundamentals\n- Use `skills\u002Fdebuggers\u002Flldb` for LLDB fundamentals\n- Use `skills\u002Fzig\u002Fzig-cinterop` when debugging mixed Zig\u002FC code\n",{"name":5,"description":7},"main","ebe6483a57ceac5b9da32b4a23fa4ba2fa7ac170",".agents\u002Fskills\u002Fzig-debugging","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx","https:\u002F\u002Fgithub.com\u002FYabuku-xD","shyamalankannan.com","😳 Indie-head with a versatile knowledge in development and modeling.","2026-11-13 04:46:29",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Yabuku-xD\u002Fomfx --skill zig-debugging",{"tool":38,"command":39},"bunx","bunx skills add Yabuku-xD\u002Fomfx --skill zig-debugging",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Yabuku-xD\u002Fomfx --skill zig-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-debugging\u002FSKILL.md",true,[],[47,54,61,68,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7B1ZQXR4F45F34W3A9DH795","hello-omfx","Example skill. Use when testing omfx skill discovery.","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002Fskills\u002Fhello-omfx\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7B1ZJ19F0WDTZKD05EMGS5V","zig-tiger-style","TigerStyle Zig coding guidelines — distilled from TigerBeetle's production codebase. Use this skill whenever the user is writing, reviewing, or refactoring Zig code, asking about Zig idioms, best practices, assertions, memory layout, naming conventions, or code style. Also trigger when the user asks how to structure Zig structs, handle errors, write safe loops, or design Zig APIs. Even if the user just says \"write me some Zig\" or pastes Zig code for review, consult this skill first.","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-tiger-style\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7B1ZFD4G462R79S6GYFXZBM","zig-testing","Zig 测试与调试技能。涉及 std.testing 的断言、测试组织、内存泄漏检测、以及 std.debug 的日志、堆栈回溯。在需要编写测试、调试代码、诊断问题时调用。","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-testing\u002FSKILL.md",[],[],{"skillNo":69,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7B1Z9K5AWQ89KBWSVK7Q9KM","Zig testing skill for writing and running tests. Use when using zig build test, writing comptime tests, using test filters, working with test allocators to detect leaks, or using Zig's built-in fuzz testing (0.14+). Activates on queries about Zig tests, zig test, zig build test, comptime testing, test allocators, Zig fuzz testing, or detecting memory leaks in Zig tests.","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-testing-lowlevel\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7B1Z52KAWNN9PPKMX9FP06N","zig-project-structure","Zig 项目结构全生命周期管理。创建项目骨架（exe\u002Flib\u002F多模块\u002F带依赖）或检查已有项目的目录结构、文件命名、构建配置合规性，输出结构化报告。","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-project-structure\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7B1YXXZMP87C8DDYPM213N8","zig-memory-patterns","This skill should be used when the user asks questions like \"how do allocators work in Zig\", \"explain Zig memory management\", \"when to use arena allocator\", \"how does Zig compare to Rust ownership\", \"how to manage memory in Zig\", or asks about memory allocation patterns for programmers coming from C, C++, Rust, or garbage-collected languages.","https:\u002F\u002Fgithub.com\u002FYabuku-xD\u002Fomfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzig-memory-patterns\u002FSKILL.md",[],[]]