init
仓库创建 2026年2月12日最近提交 4 小时前SkillHot 收录 20 天前
▸ 精选理由
自动化写入 CLAUDE.md 并统一行为规则,便于项目初始化或升级。
▸ 风险提示
会修改项目文件,运行前请备份
这个 Skill 做什么
在项目中安装或更新 Elixir/Phoenix 插件的规则与自动激活配置。
在项目里安装或更新 Elixir/Phoenix 插件时自动写入 CLAUDE.md、设置自动激活规则并确保不改写用户写在插件标记外的内容。用在第一次安装或需要把最新规则合并到项目时。关键规则会检测代码栈、保留用户自定义内容,支持首次安装和 --update 更新模式。
▸ 展开 SKILL.md 英文原文
Initialize plugin in a project — install Iron Laws, auto-activation rules, and reference auto-loading into CLAUDE.md. Use when setting up or updating the plugin.
505
Stars
34
Forks
40
仓库内 Skill
+35
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/init/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/init/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Plugin Initialization Install the Elixir/Phoenix plugin's behavioral instructions into the project's CLAUDE.md. ## Usage ``` /phx:init # First-time installation /phx:init --update # Update existing installation with latest rules ``` ## Iron Laws 1. **NEVER overwrite content outside plugin markers** — User-written CLAUDE.md rules must be preserved verbatim 2. **Always detect stack before generating** — Never assume Phoenix/Ecto versions 3. **Always validate after installation** — Verify markers present and stack correct ## Workflow ### Step 1: Check Existing CLAUDE.md Use Glob to check if `CLAUDE.md` exists. Then use Grep to check for existing `ELIXIR-PHOENIX-PLUGIN:START
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有