跳到正文
cccskills
免费在 GitHub 公开

phx-intro

Walk through the Elixir/Phoenix plugin commands, workflow, and features in 6 interactive sections. Use when a new user wants to learn what the plugin offers or needs a refresher on available commands.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.2 KB
  • references/tutorial-content.md16.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Plugin Introduction Tutorial

Interactive walkthrough of the Elixir/Phoenix plugin in 6 sections (~5 min).

Arguments

  • $ARGUMENTS may contain --section N to jump to a specific section (1-6)
  • No arguments = start from Section 1

Execution Flow

  1. Read references/tutorial-content.md for all section content
  2. Parse $ARGUMENTS for --section N flag (1-6)
  3. If --section N specified, jump directly to that section
  4. Otherwise start from Section 1

Section Presentation Loop

For each section:

  1. Present the section content completely — every paragraph, table, and code block from the reference file — as visible response text emitted BEFORE the AskUserQuestion call; content composed only in thinking is invisible to the user
  2. After presenting, use AskUserQuestion with options:
    • If sections remain: "Next: [next section title]", "Skip to Cheat Sheet", "Stop here"
    • If on final section (6): no question needed, end with closing message

Section Titles

NTitle
1Welcome
2Core Workflow Commands
3Knowledge & Safety Net
4Hooks & Behavioral Rules
5Init, Review & Gaps
6Cheat Sheet & Next Steps

Iron Laws

  1. ONE section at a time — never dump all content at once
  2. User controls pace — always offer to stop between sections
  3. Clean formatting — use tables and code blocks, not walls of text
  4. NEVER skip the user's questions — tutorial is interactive, not a monologue; if the user asks a question mid-section, answer it before continuing

Closing Message

After Section 6 (or when user stops):

You're all set! Try `phx-plan` with your next feature to see the workflow in action.
Run `phx-intro --section N` anytime to revisit a specific section.

Notes

  • This runs in main conversation context (not a subagent)
  • Reference file is readable since skill runs in user's session
  • Keep tone welcoming but concise — developers don't want fluff

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

analyze

免费

Analyze a legacy app in any language before rewriting it in Elixir: inventory, features as goals, why each mechanism exists, runtime topology, external contracts. Use to start or refresh a rewrite.

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

architect

免费

Design the idiomatic Elixir architecture for a rewrite: set the compatibility bar (ADR-000), consult phx specialists on open questions, then build contexts, ledger and ADRs. Use after /rewrite:analyze.

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

Ash Framework — resources, actions, policies, aggregates, calculations, AshPhoenix.Form, LiveView, migrations. Use when generating resources via mix ash.codegen, editing changes, checks, types, validations, or domain code interfaces.

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

Ash Framework — resources, actions, policies, aggregates; Use when generating resources via mix ash.codegen, editing…

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

assigns

免费

Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

Inspect LiveView socket assigns for memory bloat — missing temporary_assigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporary_assigns.

中文简介正在准备中。当前显示原文说明。

oliver-kriska/claude-elixir-phoenix5672026年10月20日 更新

查看 oliver-kriska 的全部技能

报告此技能的问题