一键导入
arch-boundaries
FARSPACE crate dependency rules — which crates may import which, and what constitutes a boundary violation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
FARSPACE crate dependency rules — which crates may import which, and what constitutes a boundary violation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
FARSPACE original IP policy for content creation — what is allowed, what is forbidden, and how to invent original names and flavour text
FARSPACE determinism requirements — seeded RNG, BTreeMap ordering, no wall-clock seeding. Required for reproducible simulation.
FARSPACE TUI quality standards — keyboard-first navigation, resize-safe ratatui layouts, theme usage, modal patterns, and visual language rules
| name | arch-boundaries |
| description | FARSPACE crate dependency rules — which crates may import which, and what constitutes a boundary violation |
FARSPACE has five crates with strict one-way dependencies. A boundary violation is any import or Cargo.toml dependency that crosses these rules.
game_core ←── game_content
←── game_save
←── game_tui
←── farspace
↑
game_content, game_save, game_tui
game_core
std onlyratatui, crossterm, game_tui, game_content, game_savegame_tui in Cargo.tomlgame_content
game_core types onlygame_tui, ratatui, crossterm, game_savegame_save
game_core, serde, serde_json, thiserrorgame_tui, ratatui, crossterm, game_contentgame_tui
game_core, ratatui, crosstermgame_save, game_contentGameState directly — all state changes go through CommandEvent values and snapshot views onlyfarspace (binary)
use game_tui:: in any file under crates/game_core/use ratatui:: or use crossterm:: in game_core, game_content, or game_savegame_tui = ... in crates/game_core/Cargo.toml or crates/game_save/Cargo.tomlGameState field mutations in crates/game_tui/ instead of via Command