一键导入
architecture-documentation
How to create reference documentation for complex coordinate systems and building constraints
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to create reference documentation for complex coordinate systems and building constraints
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prevents subsystems from modifying blocks within placed building volumes using 3D bounding box clipping
Correctly place directional blocks (doors, levers, torches, signs, banners, stairs) in Minecraft via RCON
Ensures all build areas are chunk-loaded before placing blocks via /fill commands
NuGet packaging patterns for the Aspire.Hosting.Minecraft package
Pattern for attaching infrastructure (canals, beacons, paths) to each building in the village
Validate side effects after build/deploy operations with graceful degradation
| name | architecture-documentation |
| description | How to create reference documentation for complex coordinate systems and building constraints |
| domain | documentation |
| confidence | low |
| source | earned |
When a project involves complex spatial logic (coordinate systems, layout algorithms, size constraints) or technical constraints (rate limits, API boundaries), create two complementary reference documents:
This skill applies when:
Document 1: Visual Architecture (docs/architecture-diagram.md)
Document 2: Constraints Reference (docs/[domain]-constraints.md)
Both documents should include:
Architecture diagrams:
Constraints:
Y=-59: Air (player walking level)
↑ Players walk here
│
Y=-60: █████████████████████ ← BaseY (grass block surface)
│ Structures place floors here
Why this works: Visual hierarchy shows relationships. Annotations explain purpose, not just labels.
col = index % 2 // Alternates 0, 1, 0, 1, ...
row = index / 2 // Increments every 2 resources: 0, 0, 1, 1, 2, 2, ...
x = BaseX + (col × 10) // Result: 10, 20, 10, 20, 10, 20, ...
Why this works: Formula + concrete results + inline comments. Reader sees pattern immediately.
### ⚠️ Critical Y-Level Rules
1. **Never place fences at `BaseY + 1`** — they will float one block above the ground.
2. **Paths must be at `BaseY - 1`** with grass cleared at `BaseY` — this makes them flush with the surrounding terrain.
Why this works: Emoji draws attention. "Never" is unambiguous. Explanation shows consequence of violation.
| Operation | Command Count | Estimated Time (at 10 cmd/sec) |
|-----------|---------------|--------------------------------|
| Single structure | ~15-20 commands | 1.5-2 seconds |
| 50-resource village | ~800-900 commands | 80-90 seconds |
Why this works: Concrete numbers. Shows scaling behavior. Helps users understand cost.
❌ Single monolithic document — hard to navigate, mixes "how it works" with "how to use it"
❌ Diagrams without numbers — "structures are spaced apart" is vague; "Spacing=10 blocks center-to-center" is precise
❌ Constants without source references — reader can't verify or update; always cite source file and line
❌ Rules without rationale — "Don't place fences at Y+1" → why? Add consequence: "they will float in the air"
❌ Examples without scaling limits — show 4-resource village working fine, hide that 50+ resources break
❌ Missing cross-references — constraints doc should point to architecture doc for visual explanations
❌ Stale examples — if constants change in code, docs break. Use grep to verify constants match.