← 返回 Skills 市场
1733
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install phoenix-api-gen
功能描述
Generate a full Phoenix JSON API from an OpenAPI spec or natural language description. Creates contexts, Ecto schemas, migrations, controllers, JSON views/renderers, router entries, ExUnit tests with factories, auth plugs, and tenant scoping. Use when building a new Phoenix REST API, adding CRUD endpoints, scaffolding resources, or converting an OpenAPI YAML into a Phoenix project.
安全使用建议
This skill appears to be a coherent Phoenix code generator and does not request secrets or downloads. Before using it: (1) run it in a safe/sandbox project or a new git branch so you can review and revert generated files; (2) confirm the intended output path and that the skill will prompt before writing; (3) review generated auth plugs and token verification code — the skill scaffolds patterns but you must integrate secure token/key handling and secrets management yourself; (4) run your test suite and linters on generated code; (5) if you do not want an agent to create files autonomously, disable automatic invocation or require an explicit manual step. Overall the skill is internally consistent, but always review and test generated code before deploying.
功能分析
Type: OpenClaw Skill
Name: phoenix-api-gen
Version: 1.0.0
The skill bundle is designed to generate Phoenix API code based on OpenAPI specifications or natural language. All files contain documentation and Elixir code examples relevant to this stated purpose. There is no evidence of prompt injection attempts in SKILL.md, nor any instructions for the AI agent to perform malicious actions such as data exfiltration, unauthorized command execution, or persistence. The skill explicitly includes a safeguard to 'Ask the user to confirm before writing files', indicating a benign intent.
能力评估
Purpose & Capability
The name/description (Phoenix API Generator) match the SKILL.md and the included reference files (Phoenix conventions, Ecto patterns, test patterns). There are no unrelated credentials, binaries, or install steps requested — everything present is relevant to scaffolding a Phoenix app.
Instruction Scope
The SKILL.md describes parsing OpenAPI or natural-language input, generating migrations, schemas, contexts, controllers, tests, and auth plugs, and instructs the agent to ask the user before writing files. It does not instruct reading unrelated system files or secrets. However, it is vague about the target filesystem path, backup/rollback behavior, and conflict resolution for existing files — you should ensure the skill will write only in the intended project directory and that generated files are reviewed before committing.
Install Mechanism
No install spec is provided and the skill is instruction-only, so nothing is downloaded or written to disk by an installer. This is the lowest-risk install model.
Credentials
The skill declares no required environment variables, credentials, or config paths. The examples reference common runtime functions (e.g., System.unique_integer, Ecto.UUID.generate) but do not attempt to access secret environment variables or unrelated system configuration.
Persistence & Privilege
The skill is not marked always:true and requests no persistent system modification beyond writing generated project files when invoked. The platform default allows autonomous invocation (disable-model-invocation: false); if you are concerned about an agent invoking file-write operations without supervision, consider disabling autonomous invocation for this skill or requiring explicit confirmation before any writes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install phoenix-api-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/phoenix-api-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of phoenix-api-gen.
- Generates a full Phoenix JSON API from an OpenAPI spec or natural language description.
- Creates contexts, Ecto schemas, migrations, controllers, JSON views/renderers, router entries, ExUnit tests with factories, authentication plugs, and tenant scoping.
- Supports both OpenAPI-driven and natural language-driven workflows.
- Follows Phoenix and Ecto conventions, including multi-tenancy and comprehensive test generation.
元数据
常见问题
Phoenix API Generator 是什么?
Generate a full Phoenix JSON API from an OpenAPI spec or natural language description. Creates contexts, Ecto schemas, migrations, controllers, JSON views/renderers, router entries, ExUnit tests with factories, auth plugs, and tenant scoping. Use when building a new Phoenix REST API, adding CRUD endpoints, scaffolding resources, or converting an OpenAPI YAML into a Phoenix project. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1733 次。
如何安装 Phoenix API Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install phoenix-api-gen」即可一键安装,无需额外配置。
Phoenix API Generator 是免费的吗?
是的,Phoenix API Generator 完全免费(开源免费),可自由下载、安装和使用。
Phoenix API Generator 支持哪些平台?
Phoenix API Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Phoenix API Generator?
由 gchapim(@gchapim)开发并维护,当前版本 v1.0.0。
推荐 Skills