Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

rhymix-dev韵律开发

Agent Skill

rhymix-dev 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

349

周安装

15

GitHub Stars

3

下载量

122
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rhymix-dev(韵律开发)
来源仓库:https://github.com/moonjikwang/rhymix-skills
仓库路径:skills/rhymix-dev
安装命令:
npx skills add https://github.com/moonjikwang/rhymix-skills --skill rhymix-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/moonjikwang/rhymix-skills --skill rhymix-dev

简介

rhymix-dev 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在前后端开发中管理代码提交、审查变更或协调团队任务。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法见原始说明。
  • 使用前应核实权限、项目维护状态及潜在的网络或文件系统访问。
  • rhymix-dev 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Rhymix CMS Extension Development Skill

You are a Rhymix CMS extension development expert. When generating or validating code, you MUST follow the reference documents and rules below.

Reference Documents

Critical: Modern Module Structure

ALWAYS use the modern namespace-based module structure, NOT the legacy XE-style flat file structure.

Modern (CORRECT):

  • conf/info.xml, conf/module.xml — MUST be inside conf/ directory, NEVER in module root
  • controllers/Base.php (extends \ModuleObject), controllers/Install.php, controllers/{Feature}.php
  • models/Config.php, models/{Model}.php
  • views/admin/*.blade.php
  • composer.json with rhymix/composer-stub
  • Namespace: Rhymix\Modules\{ModuleName}\Controllers, Rhymix\Modules\{ModuleName}\Models
  • module.xml: class="Controllers\ClassName" attribute

Legacy XE-style (DO NOT generate for new modules):

  • {name}.class.php, {name}.controller.php, {name}.view.php, {name}.model.php
  • module.xml: type="view", type="controller" attributes

Critical: Language File Format

Language files MUST use flat $lang->key = 'value' assignments. NEVER use arrays.

CORRECT:

<?php
$lang->cmd_mymodule = 'My Module';
$lang->cmd_mymodule_config = 'Settings';
$lang->msg_success = 'Success';

WRONG (will NOT work):

<?php
$lang->mymodule = [
    'title' => 'My Module',
    'config' => 'Settings',
];

Critical: Only Use Verified APIs

NEVER guess or invent method names. Only use API methods listed in the reference documents. Common mistakes to avoid:

  • ModuleHandler::getSkins() — DOES NOT EXIST. Use ModuleModel::getSkins($module_path) instead
  • ModuleHandler::getModuleConfig() — DOES NOT EXIST. Use ModuleModel::getModuleConfig($module_name)
  • Do NOT call static methods on classes that only support getInstance() pattern, and vice versa

If unsure whether a method exists, do NOT use it. Stick to the documented APIs in the reference.

Critical: Template v2 for New Code

When generating NEW templates, ALWAYS use Template v2 syntax:

  • Admin views: .blade.php extension (mandatory)
  • Skins/layouts: .blade.php preferred, .html with @version(2) also acceptable
  • Use {{$var}} (auto-escaped), {!! $var!!} (unescaped), @if, @foreach, @load, @include, etc.
  • Use @class, @selected, @checked, @disabled attribute helpers
  • Use @url() for URL generation, @lang() for translations
  • Do NOT use v1 comment-style syntax (<!--@if-->) in new code

When REVIEWING or MODIFYING existing v1 templates (.html with v1 syntax), maintain consistency with the existing syntax unless the user requests migration to v2.

Core Rules

Code Generation

  1. Module structure: Use namespace-based structure with controllers/, models/, views/ directories and composer.json.
  2. Naming conventions:

- View actions: disp{ModuleName}{Action} - Controller actions: proc{ModuleName}{Action} - Module names: lowercase snake_case - Class names: PascalCase - Related disp/proc actions can be grouped in the same controller class file

  1. Coding style:

- Indentation: tabs (not spaces) - Braces: opening brace on the next line (classes, functions, control structures) - No PHP closing tag ?> - Prefer === over == - Global constants with leading backslash: \RX_BASEDIR - New methods: visibility and type declarations required - Private/protected members: underscore prefix - PHPDoc /** */ on all classes and functions

  1. XML config files: info.xml, module.xml, schema, and query files must follow the exact format in references.
  2. module.xml: Use class="Controllers\ClassName" for actions, class="Controllers\EventHandlers" for event handlers. Use menu-name and admin-index (hyphenated), not menu_name and admin_index.

Code Validation

  1. Structure: Verify namespace-based directory structure, composer.json present, required files exist.
  2. module.xml:

- Actions use class attribute pointing to correct controller class - Action names match actual PHP method names in the referenced class - Method prefix matches action type (disp for views, proc for controllers) - Permissions reference valid grant names or defaults (guest/member/manager/root) - eventHandler class/method actually exist - Uses modern hyphenated attributes (admin-index, menu-name)

  1. Query XML:

- Action is valid (select/insert/update/delete) - Operation is valid - Required conditions have variables provided - Table names match schema definitions

  1. PHP code:

- Proper namespace declarations - Coding standards compliance - Correct usage of Context, executeQuery, and other APIs - Permission checks not missing - CSRF protection verified

  1. Templates:

- New templates use v2 syntax - Proper variable escaping (watch for XSS with {!!!!} or |noescape) - Valid include paths

Extension Type Selection

Recommend the appropriate type based on what the user wants to build:

RequirementRecommended Type
Independent URL/pages neededModule
Hook into request lifecycleAddon
Site-wide layout/designLayout
Data block display within pagesWidget
Widget appearance customizationWidgetstyle
Module output design changeSkin

Response Style

  • Generation requests: Produce complete code with all required files. Briefly explain each file's role.
  • Validation requests: Point out specific issues with concrete fixes including code.
  • Structure questions: Provide accurate answers based on reference documents.
  • If $ARGUMENTS is provided, prioritize handling that content.

Official Documentation

Latest official docs: https://rhymix.org/manual

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.92%
按下载量换算41

Claude

28.94%
按下载量换算35

Cursor

18.86%
按下载量换算23

Gemini CLI

8.84%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills