Skip to content

tjl8787/mycodex-skills / skills/fuse

Build, debug, and review Linux FUSE filesystems with the official libfuse userspace library. Use when implementing a FUSE filesystem, choosing between libfuse high-level vs low-level APIs, wiring callbacks, building with fuse3/pkg-config, mounting for local testing, or troubleshooting fusermount3 and permission issues.

FileKindSize
SKILL.mdskill md2.8 KB
agents/openai.yamlconfig198 B
references/official-libfuse.mdmarkdown1.1 KB

references/official-libfuse.md

View on GitHub
# Official libfuse Reference

Official sources:
- GitHub repository: `https://github.com/libfuse/libfuse`
- API documentation: `https://libfuse.github.io/doxygen`

What the official repo provides:
- `example/`: starting points for real filesystems and callback wiring
- `include/fuse.h`: high-level API
- `include/fuse_lowlevel.h`: low-level API
- `README.md`: build, install, and security notes
- `util/fusermount3`: mount helper used in common setups

Build notes from the official project:
- libfuse itself is built with Meson and Ninja
- normal downstream projects usually link with `pkg-config fuse3 --cflags --libs`

Key operational constraints from libfuse:
- `fusermount3` is commonly setuid root in normal installations
- users can only mount where they have write permission
- `allow_other` is controlled through `/etc/fuse.conf`
- `default_permissions` matters for correct kernel-side permission enforcement

When reviewing or implementing code:
- prefer adapting an official example over writing a callback table from memory
- match the task to the correct API layer first
- for low-level API, verify every request path sends an explicit reply
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall