一键导入
ash-framework
Use this skill when working with Ash Framework and its extensions. Consult before domain modeling, resources, actions, and data-layer changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when working with Ash Framework and its extensions. Consult before domain modeling, resources, actions, and data-layer changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Unified Vmemo local development workflow: setup-state check, reset decision, and temporary port conflict handling.
Run the full GitHub PR lifecycle: create, update, assign, and keep PR content in sync with new commits.
Prepare a Vmemo release PR with explicit config-change confirmation gates.
Create concise incident postmortems at others/postmortem/YYYY-MM-DD-title.md for non-trivial bugs or issues.
开发时必须遵守 Vmemo 的编码规范与工程约束。
Use when working on Phoenix projects with Tidewave MCP. Prefer Tidewave tools for code discovery, docs lookup, runtime checks, and database verification instead of ad-hoc guessing.
| name | ash-framework |
| description | Use this skill when working with Ash Framework and its extensions. Consult before domain modeling, resources, actions, and data-layer changes. |
| metadata | {"managed-by":"usage-rules"} |
mix usage_rules.search_docs "search term" -p ash -p ash_admin -p ash_ai -p ash_authentication -p ash_oban -p ash_phoenix -p ash_postgres
mix ash - Prints Ash help informationmix ash.codegen - Runs all codegen tasks for any extension on any resource/domain in your application.mix ash.extend - Adds an extension or extensions to the given domain/resourcemix ash.gen.base_resource - Generates a base resource. This is a module that you can use instead of Ash.Resource, for consistency.mix ash.gen.change - Generates a custom change module.mix ash.gen.custom_expression - Generates a custom expression module.mix ash.gen.domain - Generates an Ash.Domainmix ash.gen.enum - Generates an Ash.Type.Enummix ash.gen.preparation - Generates a custom preparation module.mix ash.gen.resource - Generate and configure an Ash.Resource.mix ash.gen.validation - Generates a custom validation module.mix ash.generate_livebook - Generates a Livebook for each Ash domainmix ash.generate_policy_charts - Generates a Mermaid Flow Chart for a given resource's policies.mix ash.generate_resource_diagrams - Generates Mermaid Resource Diagrams for each Ash domainmix ash.install - Installs Ash into a project. Should be called with mix igniter.install ashmix ash.migrate - Runs all migration tasks for any extension on any resource/domain in your application.mix ash.patch.extend - Adds an extension or extensions to the given domain/resourcemix ash.reset - Runs all tear down & setup tasks for any extension on any resource/domain in your application.mix ash.rollback - Runs all rollback tasks for any extension on any resource/domain in your application.mix ash.setup - Runs all setup tasks for any extension on any resource/domain in your application.mix ash.tear_down - Runs all tear_down tasks for any extension on any resource/domain in your application.mix ash_admin.install - Installs AshAdminmix ash_admin.install.docsmix ash_ai.gen.chat - Generates the resources and views for a conversational UI backed by ash_postgres and ash_obanmix ash_ai.gen.chat.docsmix ash_ai.gen.mcp - Sets up an MCP server for your applicationmix ash_ai.gen.mcp.docsmix ash_ai.gen.usage_rulesmix ash_ai.gen.usage_rules.docsmix ash_ai.install - Installs AshAi. Call with mix igniter.install ash_ai. Requires igniter to run.mix ash_ai.install.docsmix ash_authentication.add_add_on - Adds the provided add-on to your user resourcemix ash_authentication.add_strategy - Adds the provided strategy or strategies to your user resourcemix ash_authentication.install - Installs AshAuthentication. Invoke with mix igniter.install ash_authenticationmix ash_authentication.upgrademix ash_oban.install - Installs AshOban and Obanmix ash_oban.install.docsmix ash_oban.set_default_module_names - Set module names to their default values for triggers and scheduled actionsmix ash_oban.set_default_module_names.docsmix ash_oban.upgrademix ash_phoenix.gen.html - Generates a controller and HTML views for an existing Ash resource.mix ash_phoenix.gen.live - Generates liveviews for a given domain and resource.mix ash_phoenix.install - Installs AshPhoenix into a project. Should be called with mix igniter.install ash_phoenixmix ash_postgres.create - Creates the repository storagemix ash_postgres.drop - Drops the repository storage for the repos in the specified (or configured) domainsmix ash_postgres.gen.resources - Generates resources based on a database schemamix ash_postgres.generate_migrations - Generates migrations, and stores a snapshot of your resourcesmix ash_postgres.install - Installs AshPostgres. Should be run with mix igniter.install ash_postgresmix ash_postgres.migrate - Runs the repository migrations for all repositories in the provided (or configured) domainsmix ash_postgres.rollback - Rolls back the repository migrations for all repositories in the provided (or configured) domainsmix ash_postgres.setup_vector - Sets up pgvector for AshPostgresmix ash_postgres.setup_vector.docsmix ash_postgres.squash_snapshots - Cleans snapshots folder, leaving only one snapshot per resource