csharpfritz/aspire-minecraft/building-protection
Claude Code and agent skill by csharpfritz/aspire-minecraft
- community
Checking that the SKILL.md file is still in the repository.
Prevents subsystems from modifying blocks within placed building volumes using 3D bounding box clipping
Install
npx vskill@latest install csharpfritz/aspire-minecraft/building-protectionSKILL.md
Context
When multiple subsystems modify the Minecraft world (buildings, canals, rails, paths), later systems can accidentally destroy blocks placed by earlier ones. The BuildingProtectionService provides a central registry of 3D bounding boxes that other subsystems must respect.
Patterns
1. Register buildings after placement
After a building is constructed, register its 3D bounding box with the protection service. Include buffer zones for entrances and aesthetic spacing.
2. ClipFill for protected excavation
When a subsystem needs to /fill an area that might overlap buildings, use ClipFill to get non-overlapping sub-boxes.
3. Axis-aligned box subtraction
SubtractBox yields up to 6 non-overlapping remainder sub-boxes when removing a protected region from a fill volume:
- X left / X right (full Y and Z range of overlap)
- Y below / Y above (clamped to X overlap range)
- Z front / Z back (clamped to X+Y overlap range)
4. Initialization order matters
Buildings must be placed BEFORE canals/rails so the protection registry is populated when those systems run.
Anti-Patterns
- Checking protection after the fact — always clip BEFORE sending /fill commands
- Forgetting buffer zones — buildings need clearance for entrances and aesthetics
- Relying on Y-range non-overlap — canal depth (SurfaceY-2 to SurfaceY) may not overlap building Y (SurfaceY+1 to SurfaceY+26) today, but future features might
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/skills/building-protection/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/csharpfritz/aspire-minecraft/building-protection)