Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
“PowerX CRUD Migration 规则(集中迁移挂载与入口约束)。”
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArtisanCloud/PowerX crud-migration --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/crud/migration .claude/skills/crud-migration && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .claude/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migrationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArtisanCloud/PowerX crud-migration --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/crud/migration .agents/skills/crud-migration && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .agents/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArtisanCloud/PowerX crud-migration --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/crud/migration .cursor/skills/crud-migration && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .cursor/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ArtisanCloud/PowerX.git --path .codex/skills/crud/migration--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArtisanCloud/PowerX crud-migration --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/crud/migration .gemini/skills/crud-migration && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .gemini/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ArtisanCloud/PowerX crud-migrationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/crud/migration .github/skills/crud-migration && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .github/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArtisanCloud/PowerX --skill crud-migration -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ArtisanCloud/PowerX crud-migration --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArtisanCloud/PowerX.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/crud/migration .opencode/skills/crud-migration && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "crud-migration" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/migration into .opencode/skills/crud-migration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-migration", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
crud-migrationCrud Migration is a skill in ArtisanCloud/PowerX (379 stars). Its SKILL.md is about 1.3k tokens. Licence: Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3f7619d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Crud Migration loads about 1.3k tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 18 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ArtisanCloud/PowerX at commit 3f7619d, republished under its Apache-2.0 licence (© ArtisanCloud). 18 words, ~1,251 tokens.
.claude/skills/crud-migration/SKILL.md (or your agent's skills folder).本文件内嵌规则。kind: ruleset
name: crud_migration
version: 1.2.0
owner: powerx
status: stable
meta:
intent: >
约束 CoreX 数据库迁移的集中式挂载模式:
- 总入口仅在 cmd/database/migrate.go 定义 MigrateDatabase/ResetDatabase(负责编排,不直接写模型迁移逻辑)。
- 所有 CoreX 模型迁移必须集中在 pkg/corex/db/database/migration.go,通过 MigrateCoreModels(及内部 migrate<Domain>Models)统一调用 GORM AutoMigrate/Migrator。
- plan.md 与 tasks.md 需显式说明增量模型将挂载到 pkg/corex/db/database/migration.go;禁止生成 pkg/corex/db/migration/<domain> 之类的分散入口或裸 .sql。
- 若与以上冲突,以本块为准;否则视为失败。
scope:
codebase:
migrate_entry: "cmd/database/migrate.go"
core_migration_file: "pkg/corex/db/database/migration.go"
legacy_glob: "pkg/corex/db/migration/**"
principles:
- “入口 + 集中挂载”双层结构:入口统一编排;具体 AutoMigrate 均集中在 pkg/corex/db/database/migration.go 内部函数。
- 默认 Postgres:重置以 schema 为粒度,schema 名来自 model.PowerXSchema。
- 允许 MySQL 降级:逐表 DROP(关闭外键检查)作为兼容路径。
- 不交付裸 .sql 文件;优先 AutoMigrate/Migrator。
- 生产保护:重置操作需具备显式的环境保护(如 APP_ENV != production)。
checks:
# ---- 入口文件存在与函数签名 ----
- id: migrate.entry.exists
level: error
when: { file: "cmd/database/migrate.go" }
assert:
- must_define: "func MigrateDatabase(ctx context.Context, db *gorm.DB) error"
- must_define: "func ResetDatabase(ctx context.Context, db *gorm.DB) error"
# ---- 入口逻辑:必须调用核心与 agent 模块迁移 ----
- id: migrate.entry.calls.core_and_agent
level: error
when: { file: "cmd/database/migrate.go" }
assert:
- contains: "database.MigrateCoreModels(db)"
- contains: "persistence.MigrateAgentModels(db)"
# ---- ResetDatabase:必须使用 PowerXSchema 且包含 PG 的 DROP/CREATE 语句 ----
- id: migrate.reset.uses_schema_constant
level: error
when: { file: "cmd/database/migrate.go" }
assert:
- contains: "model.PowerXSchema"
- id: migrate.reset.pg_drop_create
level: error
when: { file: "cmd/database/migrate.go" }
assert:
- contains_any:
- 'DROP SCHEMA " + model.PowerXSchema + " CASCADE; CREATE SCHEMA " + model.PowerXSchema + ";"'
- "DROP SCHEMA "
- "CASCADE; CREATE SCHEMA "
# ---- ResetDatabase:允许 MySQL 逐表删除作为降级方案(可选)----
- id: migrate.reset.mysql_fallback
level: warn
when: { file: "cmd/database/migrate.go" }
assert:
- contains_any:
- "SHOW TABLES"
- "SET FOREIGN_KEY_CHECKS=0"
- "DROP TABLE IF EXISTS"
# ---- 生产环境保护 ----
- id: migrate.reset.env_guard
level: warn
when: { file: "cmd/database/migrate.go" }
assert:
- contains_any: ["APP_ENV", "production", "ensureNotProduction"]
# ---- CoreX 迁移集中定义 ----
- id: migrate.core.registry
level: error
when: { file: "pkg/corex/db/database/migration.go" }
assert:
- must_define: "func MigrateCoreModels(db *gorm.DB) (err error)"
- must_call_one_of: ["db.AutoMigrate(", "db.Migrator()."]
- contains: "func migrate"
# ---- 避免遗留的 pkg/corex/db/migration/<domain> 目录 ----
- id: migrate.no_legacy_packages
level: warn
when: { glob: "pkg/corex/db/migration/**/migrate.go" }
assert:
- should_empty: true
# ---- 避免散落裸 SQL 文件 ----
- id: migration.no_raw_sql_files
level: warn
when: { glob: "**/*.sql" }
assert:
- should_empty: true
acceptance:
checklist:
- "[ ] cmd/database/migrate.go 定义了 MigrateDatabase 与 ResetDatabase"
- "[ ] MigrateDatabase 依次调用 database.MigrateCoreModels 与 persistence.MigrateAgentModels"
- "[ ] ResetDatabase 使用 model.PowerXSchema 并包含 PG 的 DROP SCHEMA ... CASCADE; CREATE SCHEMA ... 实现"
- "[ ] (可选)MySQL 降级路径:SHOW TABLES + 逐表 DROP + FK 开关"
- "[ ] pkg/corex/db/database/migration.go 中新增或更新 migrate<Domain>Models,并通过 AutoMigrate/Migrator 挂载"
- "[ ] 无裸 .sql 交付;生产环境有 reset 保护;未新增 pkg/corex/db/migration/<domain> 之类入口"
templates:
migrate_entry_go_hint: |
// cmd/database/migrate.go 的关键片段(示意):
func MigrateDatabase(ctx context.Context, db *gorm.DB) error {
if err := database.MigrateCoreModels(db); err != nil { return err }
if err := persistence.MigrateAgentModels(db); err != nil { return err }
return nil
}
func ResetDatabase(ctx context.Context, db *gorm.DB) error {
// Postgres:DROP SCHEMA <schema> CASCADE; CREATE SCHEMA <schema>;
// MySQL(可选):SHOW TABLES → 关闭 FK → 逐表 DROP → 恢复 FK
return nil
}
migrate_core_registry_hint: |
// pkg/corex/db/database/migration.go 的增量挂载示意:
func MigrateCoreModels(db *gorm.DB) (err error) {
if err = db.AutoMigrate(&modelTenant.Tenant{}); err != nil { return err }
if err = migrateCapabilityModels(db); err != nil { return err }
return nil
}
func migrateCapabilityModels(db *gorm.DB) error {
return db.AutoMigrate(&modelCapability.CapabilityContract{})
}© ArtisanCloud, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .codex/skills/crud/migration of ArtisanCloud/PowerX.
Open the folder on GitHubat commit 3f7619d
Crud Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Crud Migration this skillArtisanCloud/PowerX | 379 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Nestjs Best Practicesrolling-scopes/rsschool-app | 10k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Sub2API AdminWei-Shaw/sub2api | 44k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Firecrawl Build Onboardingfirecrawl/firecrawl | 190k | 1 repos | ~1.4k | Automated safety check: Notes | ISC | |
| Obsidian BasesAtmosphere/atmosphere | 3.8k | 22 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 |
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
rolling-scopes/rsschool-app
NestJS best practices and architecture patterns for building production-ready applications.
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
firecrawl/firecrawl
Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.
Atmosphere/atmosphere
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
ArtisanCloud/PowerX
PowerX API 命名与访问规范(/api/v1、/admin、/internal 边界). An agent skill from ArtisanCloud/PowerX.
ArtisanCloud/PowerX
PowerX 底座 Capability 治理与发布准入规则。用于审计 REST/OpenAPI/gRPC/Gin 生成的能力候选、正式 platformcapabilities 目录、Capability Registry 登记、agentusable/permissioncode/risklevel 元数据、ignore…
ArtisanCloud/PowerX
PowerX CRUD 依赖注入规则(Deps 单入口、构造注入、跨传输复用). An agent skill from ArtisanCloud/PowerX.
ArtisanCloud/PowerX
PowerX CRUD gRPC 开发规范(proto、server、拦截器、错误映射). An agent skill from ArtisanCloud/PowerX.
ArtisanCloud/PowerX
PowerX HTTP Handler 规则(绑定校验、统一回包、无 DB IO). An agent skill from ArtisanCloud/PowerX.
ArtisanCloud/PowerX
PowerX CRUD HTTP 开发规范(管理端路由、绑定、错误桥接、多租户). An agent skill from ArtisanCloud/PowerX.
Categories
Run `npx skills add ArtisanCloud/PowerX --skill crud-migration -a claude-code`. Or copy the skill folder (.codex/skills/crud/migration in ArtisanCloud/PowerX) into .claude/skills/crud-migration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArtisanCloud/PowerX --skill crud-migration -a codex`. Or copy the skill folder (.codex/skills/crud/migration in ArtisanCloud/PowerX) into .agents/skills/crud-migration in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArtisanCloud/PowerX --skill crud-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/crud-migration, .gemini/skills/crud-migration, .github/skills/crud-migration and .opencode/skills/crud-migration in your project.
SKILL.md names no scripts, command-line tools or credentials: Crud Migration is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Crud Migration is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Crud Migration: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 44k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 190k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ArtisanCloud (a GitHub organization) maintains it in ArtisanCloud/PowerX, which has 379 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 9, 2026.
Source: ArtisanCloud/PowerX on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.