Garbage Collection
Expert skill for garbage collector design and implementation including various collection algorithms
npx skills add a5c-ai/babysitter --skill garbage-collection --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Garbage Collection Skill ## Overview Expert skill for garbage collector design and implementation including various collection algorithms. ## Capabilities - Implement mark-sweep collection - Implement copying/semi-space collectors - Implement generational collection with write barriers - Implement concurrent/incremental marking (tri-color) - Design object header layouts and type info - Implement precise vs conservative root scanning - Design card table and remembered set implementations - Implement finalizers and weak references ## Target Processes - garbage-collector-implementation.js - memory-allocator-design.js - interpreter-implementation.js - bytecode-vm-implementation.js ## Dependencies GC Handbook literature (Jones, Hosking, Moss) ## Usage Guidelines 1. **Algorithm Selection**: Start with simple mark-sweep, evolve to generational as needed 2. **Write Barriers**: Design write barriers early if considering generational/concurrent GC 3. **Root Scanning**: Implement precise root scanning for safety 4. **Pause Times**: Measure pause times and optimize for application requirements 5. **Testing**: Build GC stress tests and allocation-heavy benchmarks ## Output Schema ```json { "t
- Overview
- Capabilities
- Target Processes
- Dependencies
- Usage Guidelines
- Output Schema
What does the Garbage Collection skill do?
Expert skill for garbage collector design and implementation including various collection algorithms
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill garbage-collection --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
