boundaries
仓库创建 2026年2月12日最近提交 5 小时前SkillHot 收录 20 天前
▸ 精选理由
帮助维持领域分离、准备重构
▸ 风险提示
需读取代码并运行 mix xref 等本地命令
这个 Skill 做什么
分析 Phoenix 上下文边界与模块耦合,定位越界调用并建议修复。
帮你检查 Phoenix 项目里各个上下文(context)之间是不是乱穿线:用 mix xref 扫依赖,定位越界调用和高耦合模块。常在做架构评审、准备拆分模块或验证依赖时用到。特别之处是能把违规点精确到调用路径并给出修复建议,甚至有健康评分模式方便对比改进效果。
▸ 展开 SKILL.md 英文原文
Analyze Phoenix context boundaries and module coupling via mix xref. Use when checking cross-context calls, validating dependencies, before splitting modules, or reviewing architecture.
505
Stars
34
Forks
40
仓库内 Skill
+35
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/boundaries/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/boundaries/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Phoenix Context Boundary Validation Analyze module dependencies to ensure clean context separation and proper architectural boundaries. ## Usage ``` /phx:boundaries # Check for violations /phx:boundaries --assess # Score context health (0-100) /phx:boundaries --fix # Suggest fixes for violations ``` ## `--assess` Mode: Context Health Score Evaluate overall boundary health with a quantified score. ### Metrics Calculated | Metric | Healthy Range | Red Flag | Weight | |--------|---------------|----------|--------| | Modules per context | 3-15 | >20 or <2 | 20% | | Public API surface | 5-30 funcs | >40 funcs | 15% | | Fan-out (contexts called) | 1-4 | >6 | 20% |
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有