[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6996H8NDKT37EGSJ31W9YRT":3,"skill-same:01M6996H8NDKT37EGSJ31W9YRT":59},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6996H8NDKT37EGSJ31W9YRT","fuzzing-go-expert",null,"Use this skill to fuzz open source Go software projects.","google\u002Foss-fuzz","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6996E0MR95P8E5T4FN1KBHN",12952,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-go-expert\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"go","fuzzing","fuzzing go expert","expert","go expert","open source","open","projects","use","software","source","2026-11-10 10:12:30",false,"---\nname: fuzzing-go-expert\ndescription:\n  Use this skill to fuzz open source Go software projects.\n---\n\n# Fuzzing Go expert\n\nThis skill provides the agent with the knowledge and tools to write, build, and\nvalidate fuzz targets for Go projects integrated into OSS-Fuzz. Go fuzzing uses\nthe native Go fuzzing framework introduced in Go 1.18, which OSS-Fuzz drives\nvia libFuzzer under the hood using `compile_native_go_fuzzer`.\n\n## Fundamental Concepts\n\n### OSS-Fuzz base image\n\nGo projects must use the Go base builder image:\n\n```dockerfile\nFROM gcr.io\u002Foss-fuzz-base\u002Fbase-builder-go\n```\n\nSet `language: go` in `project.yaml`.\n\n### Harness structure\n\nGo fuzz targets are standard Go test functions with the prefix `Fuzz`, placed\nin `_test.go` files (or plain `.go` files that import the testing package):\n\n```go\npackage mypkg\n\nimport (\n    \"testing\"\n    _ \"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\" \u002F\u002F required for OSS-Fuzz native fuzzing\n)\n\nfunc FuzzMyTarget(f *testing.F) {\n    \u002F\u002F Seed corpus: add representative valid inputs so the fuzzer starts\n    \u002F\u002F from a meaningful state rather than empty bytes.\n    f.Add([]byte(\"example input\"))\n    f.Add([]byte(\"another seed\"))\n\n    f.Fuzz(func(t *testing.T, data []byte) {\n        \u002F\u002F Call into the target. Ignore expected errors; let unexpected\n        \u002F\u002F panics surface as findings.\n        _, _ = ParseSomething(data)\n    })\n}\n```\n\nThe inner `f.Fuzz` callback signature can use typed parameters instead of\n`[]byte` when the target expects structured input:\n\n```go\nf.Fuzz(func(t *testing.T, s string, n int, b bool) {\n    _ = ProcessRecord(s, n, b)\n})\n```\n\n### Building in OSS-Fuzz\n\nUse the `compile_native_go_fuzzer` helper in `build.sh`. It takes the package\nimport path, the function name, and the output binary name:\n\n```bash\n# build.sh\ncp $SRC\u002Ffuzz_test.go .\u002F          # copy harness into the module if needed\nprintf \"package mypkg\\nimport _ \\\"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\\\"\\n\" \\\n    > register.go                # required registration shim\ngo mod tidy\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg FuzzMyTarget fuzz_my_target\n```\n\nFor projects with multiple packages or multiple fuzz targets repeat the call:\n\n```bash\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg1 FuzzFoo fuzz_foo\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg2 FuzzBar fuzz_bar\n```\n\n### Seed corpus and dictionaries\n\n- Seed corpus entries go in `$OUT\u002F\u003Cfuzzer_name>_seed_corpus\u002F` as individual\n  files, or as a zip at `$OUT\u002F\u003Cfuzzer_name>_seed_corpus.zip`.\n- Dictionaries go in `$OUT\u002F\u003Cfuzzer_name>.dict` as plaintext token files.\n- Alternatively, add seeds directly via `f.Add(...)` in the harness — these\n  are compiled in and used as the initial corpus.\n- For targets that parse a structured format, generating seeds with a script\n  beats hand-picking a few files — random mutation rarely passes the parser's\n  early checks. See the [structured seed generation\n  reference](..\u002Foss-fuzz-engineer\u002Freferences\u002Fstructured_seed_generation.md).\n\n## Characteristics of good Go fuzzing harnesses\n\n1. **Targets attack surface**: focus on parsers, decoders, protocol handlers,\n   serialisation\u002Fdeserialisation, and any API that accepts untrusted bytes or\n   strings.\n2. **Handles expected errors gracefully**: wrap calls in error checks and ignore\n   expected error returns. Only genuine panics and unexpected behaviour are\n   findings.\n3. **Uses typed fuzz parameters** when the target is not purely byte-oriented —\n   Go's fuzzer can mutate `string`, `int`, `bool`, `float64`, etc. directly.\n4. **Avoids non-determinism**: do not use random sources, time, goroutines, or\n   global state that persists between calls.\n5. **Keeps the callback fast**: expensive setup (e.g. parsing config, opening\n   files) belongs outside `f.Fuzz(...)`, not inside the inner function.\n6. **Provides meaningful seeds**: `f.Add(...)` entries should be valid\n   representative inputs so coverage grows from the start.\n7. **Does not get stuck**: avoid code paths that busy-loop or block on I\u002FO\n   inside the fuzz function.\n8. **Includes the registration shim**: the `import _\n   \"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\"` blank import is required\n   for OSS-Fuzz to hook into native Go fuzzing — never omit it.\n\n## What Go fuzzing finds\n\nGo is memory-safe, so the focus shifts from memory-corruption bugs to:\n\n- **Panics**: index out of range, nil pointer dereference, type assertion\n  failures, stack overflows — any unrecovered `panic` is a crash.\n- **Logic bugs**: incorrect parsing, silent data corruption, wrong output for\n  valid input.\n- **Infinite loops \u002F hangs**: code that never returns on certain inputs\n  (detected by OSS-Fuzz's timeout).\n- **Incorrect error handling**: code that should return an error but panics\n  instead, or vice versa.\n\n## Operational guidelines\n\n- Always validate with:\n  ```\n  python3 infra\u002Fhelper.py build_fuzzers \u003Cproject>\n  python3 infra\u002Fhelper.py check_build \u003Cproject>\n  python3 infra\u002Fhelper.py run_fuzzer \u003Cproject> \u003Cfuzzer_name> -- -max_total_time=30\n  ```\n- An instant crash almost always means the harness itself is wrong (e.g.\n  missing error handling, bad seed, wrong package path).\n- Run `go vet .\u002F...` and `go build .\u002F...` inside the module before wrapping in\n  an OSS-Fuzz build to catch compile errors early.\n- When iterating locally clone the upstream repo and switch the Dockerfile from\n  `RUN git clone` to `COPY` to avoid network round-trips.\n- Document why each entry point was chosen and what class of bugs it may find.\n","# Fuzzing Go expert\n\nThis skill provides the agent with the knowledge and tools to write, build, and\nvalidate fuzz targets for Go projects integrated into OSS-Fuzz. Go fuzzing uses\nthe native Go fuzzing framework introduced in Go 1.18, which OSS-Fuzz drives\nvia libFuzzer under the hood using `compile_native_go_fuzzer`.\n\n## Fundamental Concepts\n\n### OSS-Fuzz base image\n\nGo projects must use the Go base builder image:\n\n```dockerfile\nFROM gcr.io\u002Foss-fuzz-base\u002Fbase-builder-go\n```\n\nSet `language: go` in `project.yaml`.\n\n### Harness structure\n\nGo fuzz targets are standard Go test functions with the prefix `Fuzz`, placed\nin `_test.go` files (or plain `.go` files that import the testing package):\n\n```go\npackage mypkg\n\nimport (\n    \"testing\"\n    _ \"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\" \u002F\u002F required for OSS-Fuzz native fuzzing\n)\n\nfunc FuzzMyTarget(f *testing.F) {\n    \u002F\u002F Seed corpus: add representative valid inputs so the fuzzer starts\n    \u002F\u002F from a meaningful state rather than empty bytes.\n    f.Add([]byte(\"example input\"))\n    f.Add([]byte(\"another seed\"))\n\n    f.Fuzz(func(t *testing.T, data []byte) {\n        \u002F\u002F Call into the target. Ignore expected errors; let unexpected\n        \u002F\u002F panics surface as findings.\n        _, _ = ParseSomething(data)\n    })\n}\n```\n\nThe inner `f.Fuzz` callback signature can use typed parameters instead of\n`[]byte` when the target expects structured input:\n\n```go\nf.Fuzz(func(t *testing.T, s string, n int, b bool) {\n    _ = ProcessRecord(s, n, b)\n})\n```\n\n### Building in OSS-Fuzz\n\nUse the `compile_native_go_fuzzer` helper in `build.sh`. It takes the package\nimport path, the function name, and the output binary name:\n\n```bash\n# build.sh\ncp $SRC\u002Ffuzz_test.go .\u002F          # copy harness into the module if needed\nprintf \"package mypkg\\nimport _ \\\"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\\\"\\n\" \\\n    > register.go                # required registration shim\ngo mod tidy\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg FuzzMyTarget fuzz_my_target\n```\n\nFor projects with multiple packages or multiple fuzz targets repeat the call:\n\n```bash\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg1 FuzzFoo fuzz_foo\ncompile_native_go_fuzzer github.com\u002Fowner\u002Frepo\u002Fpkg2 FuzzBar fuzz_bar\n```\n\n### Seed corpus and dictionaries\n\n- Seed corpus entries go in `$OUT\u002F\u003Cfuzzer_name>_seed_corpus\u002F` as individual\n  files, or as a zip at `$OUT\u002F\u003Cfuzzer_name>_seed_corpus.zip`.\n- Dictionaries go in `$OUT\u002F\u003Cfuzzer_name>.dict` as plaintext token files.\n- Alternatively, add seeds directly via `f.Add(...)` in the harness — these\n  are compiled in and used as the initial corpus.\n- For targets that parse a structured format, generating seeds with a script\n  beats hand-picking a few files — random mutation rarely passes the parser's\n  early checks. See the [structured seed generation\n  reference](..\u002Foss-fuzz-engineer\u002Freferences\u002Fstructured_seed_generation.md).\n\n## Characteristics of good Go fuzzing harnesses\n\n1. **Targets attack surface**: focus on parsers, decoders, protocol handlers,\n   serialisation\u002Fdeserialisation, and any API that accepts untrusted bytes or\n   strings.\n2. **Handles expected errors gracefully**: wrap calls in error checks and ignore\n   expected error returns. Only genuine panics and unexpected behaviour are\n   findings.\n3. **Uses typed fuzz parameters** when the target is not purely byte-oriented —\n   Go's fuzzer can mutate `string`, `int`, `bool`, `float64`, etc. directly.\n4. **Avoids non-determinism**: do not use random sources, time, goroutines, or\n   global state that persists between calls.\n5. **Keeps the callback fast**: expensive setup (e.g. parsing config, opening\n   files) belongs outside `f.Fuzz(...)`, not inside the inner function.\n6. **Provides meaningful seeds**: `f.Add(...)` entries should be valid\n   representative inputs so coverage grows from the start.\n7. **Does not get stuck**: avoid code paths that busy-loop or block on I\u002FO\n   inside the fuzz function.\n8. **Includes the registration shim**: the `import _\n   \"github.com\u002FAdamKorcz\u002Fgo-118-fuzz-build\u002Ftesting\"` blank import is required\n   for OSS-Fuzz to hook into native Go fuzzing — never omit it.\n\n## What Go fuzzing finds\n\nGo is memory-safe, so the focus shifts from memory-corruption bugs to:\n\n- **Panics**: index out of range, nil pointer dereference, type assertion\n  failures, stack overflows — any unrecovered `panic` is a crash.\n- **Logic bugs**: incorrect parsing, silent data corruption, wrong output for\n  valid input.\n- **Infinite loops \u002F hangs**: code that never returns on certain inputs\n  (detected by OSS-Fuzz's timeout).\n- **Incorrect error handling**: code that should return an error but panics\n  instead, or vice versa.\n\n## Operational guidelines\n\n- Always validate with:\n  ```\n  python3 infra\u002Fhelper.py build_fuzzers \u003Cproject>\n  python3 infra\u002Fhelper.py check_build \u003Cproject>\n  python3 infra\u002Fhelper.py run_fuzzer \u003Cproject> \u003Cfuzzer_name> -- -max_total_time=30\n  ```\n- An instant crash almost always means the harness itself is wrong (e.g.\n  missing error handling, bad seed, wrong package path).\n- Run `go vet .\u002F...` and `go build .\u002F...` inside the module before wrapping in\n  an OSS-Fuzz build to catch compile errors early.\n- When iterating locally clone the upstream repo and switch the Dockerfile from\n  `RUN git clone` to `COPY` to avoid network round-trips.\n- Document why each entry point was chosen and what class of bugs it may find.\n",{"name":5,"description":7},"master","e83ae3515d386e253ed7d86395d8cbdebd3e0917","infra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-go-expert",2997,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz","https:\u002F\u002Fgoogle.github.io\u002Foss-fuzz","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:27:56",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add google\u002Foss-fuzz --skill fuzzing-go-expert",{"tool":51,"command":52},"bunx","bunx skills add google\u002Foss-fuzz --skill fuzzing-go-expert",{"tool":54,"command":55},"pnpm","pnpm dlx skills add google\u002Foss-fuzz --skill fuzzing-go-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-go-expert\u002FSKILL.md",true,[],[60,73,83,95,106],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":30},"01M6996V9MBNRZ17CW93P54CQP","oss-fuzz-engineer","Use this skill to interact with the OSS-Fuzz infrastructure.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Foss-fuzz-engineer\u002FSKILL.md",[],[67,68,69,70,71,27,72],"oss","engineer","oss fuzz engineer","oss fuzz","infrastructure","with",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":30},"01M6996SBDQB83B9ACW5SPSM78","fuzzing-rust-expert","Use this skill to fuzz open source Rust software projects.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-rust-expert\u002FSKILL.md",[],[80,20,81,22,82,24,25,26,29,27,28],"rust","fuzzing rust expert","rust expert",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":30},"01M6996QG8NWMDC83GTK885TDD","fuzzing-python-expert","Use this skill to fuzz open source Python software projects using Atheris.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-python-expert\u002FSKILL.md",[],[22,90,91,92,20,93,29,94,24,25,26,27,28],"fuzzing python","python expert","fuzzing python expert","python","atheris",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":30},"01M6996NKJDXKEJ3TZJZNKXV8M","fuzzing-memory-unsafe-expert","Use this skill to fuzz open source C\u002FC++ software projects.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-memory-unsafe-expert\u002FSKILL.md",[],[102,22,20,103,104,26,24,25,27,105,28,29],"unsafe","memory","fuzzing memory unsafe expert","c++",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":30},"01M6996KFJ5JV7GTDHH4J4ZTJC","fuzzing-jvm-expert","Use this skill to fuzz open source JVM projects (Java, Kotlin, Scala, etc.) using Jazzer.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-fuzz\u002Fblob\u002Fmaster\u002Finfra\u002Fexperimental\u002Fagent-skills\u002Ffuzzing-jvm-expert\u002FSKILL.md",[],[113,20,22,114,115,116,24,25,26,117,27,29],"fuzzing jvm expert","jvm","scala","java","kotlin"]