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.
中文简介正在准备中。当前显示原文说明。
CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Cuts a versioned release of the Elixir/Phoenix plugin. Drives the full
checklist from CLAUDE.md (Release + Versioning) so every release is
consistent. Contributor tooling — not shipped in the plugin.
make ci — the gate runs BEFORE committing. No green, no release.vX.Y.Z plus phx--vX.Y.Z, ecto--vX.Y.Z, lv--vX.Y.Z from claude plugin tag (what dependency ranges resolve against). Tag only the release commit.plugin.json version == CHANGELOG heading == git tag (vX.Y.Z). Verify before pushing.gh release create are outward-facing and hard to reverse. Stop and confirm with the user; show exactly what will be pushed/published first.plugin.json BUMP — never ship CHANGELOG/code changes without bumping the version, or installed users get nothing (cache).## [Unreleased] — one [Unreleased] becomes one version heading; re-add an empty one on top.git push --force is hook-blocked here. If history needs rewriting, the user runs it via !.https://phxagents.dev footer. Releases are this project's one measured promotion lever (v3.0.1: 51 → 120 cloners in a day)./plugin update, the release body opens with a > [!WARNING] block carrying the exact commands (see #135).main, working tree clean except intended release files. If feature work is uncommitted, commit it first.git describe --tags --abbrev=0 --match 'v*' FIRST (the annotated phx--/ecto--/lv-- tags would win otherwise) — the last
released tag is the bump base, NOT plugin.json (which may carry an
unreleased phased bump). If plugin.json is already ahead of the tag,
apply the consolidation check below before picking a number.plugins/elixir-phoenix/.claude-plugin/plugin.json. Pick bump from ## [Unreleased] contents:
A partial bump does not just cost users the update; it fails
scripts/tests/test_codex.py, which asserts the Codex manifest matches canonical.
Set "version" to X.Y.Z in:
plugins/elixir-phoenix/.claude-plugin/plugin.json — canonicalplugins/ecto/.claude-plugin/plugin.jsonplugins/lv/.claude-plugin/plugin.jsonpackage.json — Pi package metadata, tracks the plugin version since v3.0.0package-lock.json — run npm install --package-lock-only, never hand-edit
(an unrelated dependency can share the old version string)Then regenerate the two templated manifests and bless their digests:
make generated-skills-sync # updates targets/codex + targets/pi manifests
make generated-skills-snapshots # re-bless after reviewing the diff
Confirm every file agrees before moving on:
grep -rn '"version"' plugins/*/.claude-plugin/plugin.json package.json \
targets/codex/.codex-plugin/plugin.json targets/pi/package.json
(Often already bumped during the feature work — confirm it matches the target.)
In CHANGELOG.md:
## [Unreleased] → ## [X.Y.Z] - YYYY-MM-DD (today's date).${CLAUDE_SKILL_DIR}/references/templates.md).README.md ONLY if counts/version callouts changed: skill count, agent
count (grep -nE "[0-9]+ (skills|agents|specialist)" README.md), or a version banner.
A pure doc/reference PATCH usually needs no README change — verify, don't assume.plugins/elixir-phoenix/skills/intro/references/tutorial-content.md cheat sheet
if commands/skills/agents were added, removed, or renamed.make ciRun make ci (lint + test + validate + eval-all). Must be green. If lint trips on
untracked non-source dirs (e.g. social/, .rtk/), that is not a code failure — exclude
them, don't ship around real failures. See ${CLAUDE_SKILL_DIR}/references/templates.md.
git add CHANGELOG.md plugins/elixir-phoenix/.claude-plugin/plugin.json # + README if touched
git commit # message below
Commit subject (matches history): Release vX.Y.Z — <short summary>
End the message with the Co-Authored-By trailer (see CLAUDE.md).
After the release commit, tag each plugin. claude plugin tag validates the
plugin, confirms plugin.json matches the marketplace entry, and refuses a
dirty tree or an existing tag — so a failure here means the release commit is
wrong, not the tag. Run it with --dry-run first if unsure.
for p in elixir-phoenix ecto lv; do claude plugin tag plugins/$p || break; done
git tag vX.Y.Z
git tag --list 'v*' '*--v*' --points-at HEAD # expect 4 tags
Show the user the pending commit, tag, and release notes. On confirmation:
git push origin main
git push origin vX.Y.Z phx--vX.Y.Z ecto--vX.Y.Z lv--vX.Y.Z
gh release create vX.Y.Z --title "vX.Y.Z — <summary>" --notes-file <changelog-section>
Use the new CHANGELOG section as release notes (extract it to a temp file or --notes),
then prepend any upgrade warning (Iron Law 9) and append the docs footer before
publishing — a release body is read at the moment someone decides whether to install:
---
Docs, install guides, and the runtime compatibility matrix: <https://phxagents.dev>
See ${CLAUDE_SKILL_DIR}/references/templates.md for the one-line printf that
appends it to the extracted notes.
gh release view vX.Y.Z
git describe --tags --abbrev=0 --match 'v*' # should print vX.Y.Z
Confirm to the user: released, tag pushed, GitHub release live.
${CLAUDE_SKILL_DIR}/references/templates.md — CHANGELOG/release-notes templates, gate snippets, gotchas还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
Ash Framework — resources, actions, policies, aggregates; Use when generating resources via mix ash.codegen, editing…
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。