Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
PowerX HTTP Handler 规则(绑定校验、统一回包、无 DB IO). An agent skill from ArtisanCloud/PowerX.
$ npx skills add ArtisanCloud/PowerX --skill crud-handler-http -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArtisanCloud/PowerX crud-handler-http --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/handler-http .claude/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .claude/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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/handler-httpType 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-handler-http -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArtisanCloud/PowerX crud-handler-http --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/handler-http .agents/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .agents/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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-handler-http -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArtisanCloud/PowerX crud-handler-http --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/handler-http .cursor/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .cursor/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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/handler-http--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-handler-http -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArtisanCloud/PowerX crud-handler-http --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/handler-http .gemini/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .gemini/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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-handler-httpInstalls 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-handler-http -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/handler-http .github/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .github/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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-handler-http -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-handler-http --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/handler-http .opencode/skills/crud-handler-http && 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-handler-http" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/handler-http into .opencode/skills/crud-handler-http/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-handler-http", 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-handler-httpPowerX HTTP Handler 规则(绑定校验、统一回包、无 DB IO). An agent skill from ArtisanCloud/PowerX.
Crud Handler HTTP is an agent skill from ArtisanCloud/PowerX. PowerX HTTP Handler 规则(绑定校验、统一回包、无 DB IO)。
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs. The repository describes itself as: PowerX是一款以企业微信为基础的微信私域运营开放平台,帮助企业实现引流获客、精细运营。 The licence is 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 Handler HTTP loads about 1.8k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 19 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). 19 words, ~1,800 tokens.
.claude/skills/crud-handler-http/SKILL.md (or your agent's skills folder).本文件内嵌规则。kind: ruleset
name: crud_handler_http
version: 1.0.0
owner: powerx
status: stable
meta:
intent: >
规范 HTTP Handler 的目录、职责与调用形态:参数绑定/校验 → 调用 Service → 统一回包/错误桥接,
禁止业务与 DB/外部 IO;分页、错误、SSE 事件与 REST 契约/DTO 对齐。
references:
- dev_crud_http_guides.md
- constitution.md
scope:
applies_to:
- "internal/transport/http/**/**_handler.go"
- "internal/transport/http/**/api.go"
principles:
- Handler 只做 绑定/校验 → 调 Service → 回包;禁止写业务、DB 或外部 IO。 # 指南·Handler职责
- DTO 独立于模型;参数绑定使用统一函数,错误使用 AppError 桥接返回。 # 指南·DTO/错误桥接
- 路由注册独立在 api.go;前缀使用 /api/v1/{admin|open|web}。 # 指南·路由与版本
- 多租户上下文来自中间件;缺失租户返回 400 语义,鉴权在 Service 落实。 # 宪章·多租户
checks:
# 目录 & 入口
- id: http.dir.shape
level: error
when:
glob: "internal/transport/http/**/api.go"
assert:
- must_define: "func Register*Routes(*gin.RouterGroup, *shared.Deps)"
- must_prefix_route_one_of: ["/api/v1/admin", "/api/v1/open", "/api/v1/web"]
# Handler 职责边界
- id: handler.no_db_or_io
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_not_import: ["database/sql","gorm.io/gorm","net/http"] # 允许 gin 但禁止直接 http client
- must_not_call: ["sql.DB","gorm.DB","http.DefaultClient.Do","os.Remove","ioutil.ReadAll"]
- must_define_like: "type *Handler struct { svc *service.* }" # 依赖仅指向 Service
- id: handler.ctor
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_define_like: "func New*Handler(*service.*) *"
- must_not_define: "func New*Handler(*gorm.DB)" # 禁止直注 DB
# 租户上下文与校验/绑定
- id: handler.binding_and_tenant
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_call_one_of: ["ValidateRequestWithContext(","ValidateAndBindWithContext("]
- must_call: ["reqctx.From(c)"] # 从中间件注入的上下文取 tenant/request_id
- on_missing_tenant_http: 400
# 统一回包与错误桥接
- id: handler.response_envelope
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_use_one_of: ["ResponseSuccess(","RespondOK(","RespondErrorFrom("]
- http_status_in: [200,201,204,400,401,403,404,409,429,500]
# 分页语义统一
- id: handler.pagination_contract
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_bind_dto: ["PaginationRequest"]
- must_return: ["ResponseList","PaginationResponse"]
# SSE/WS(若涉及)
- id: handler.sse_events
level: warn
when:
contains: "WriteToSSE("
assert:
- must_use_events:
["start","intent","plan","token","data","action","final","end","error","heartbeat"]
# 契约一致性(与 REST 资源路由)
- id: handler.crud_shape
level: error
when:
glob: "internal/transport/http/**/api.go"
assert:
- must_register_methods:
- 'POST ""'
- 'GET ""'
- 'GET "/:id"'
- 'PATCH "/:id"'
- 'DELETE "/:id"'
# 依赖注入(Deps)
- id: handler.deps_injection
level: error
when:
glob: "internal/transport/http/**/**_handler.go"
assert:
- must_reference: "*shared.Deps" # Handler 通过 Deps 链路拿到 svc(在 api.go 中)
- must_not_new_external_clients: true
acceptance:
checklist:
- "[ ] api.go 只做路由注册,使用 /api/v1/{admin|open|web} 前缀"
- "[ ] Handler 仅做绑定/校验/调用 Service/回包,不含 DB 与外部 IO"
- "[ ] 使用 ValidateRequestWithContext/RespondErrorFrom/ResponseSuccess 等统一工具"
- "[ ] 分页使用 PaginationRequest/PaginationResponse,列表用 ResponseList"
- "[ ] SSE 事件(若有)使用统一事件名"
- "[ ] 租户上下文来自中间件,缺失返回 400;鉴权/审计在 Service 层"
- "[ ] Handler 构造函数存在,依赖通过 *shared.Deps 提供 svc"
templates:
handler_go: |
package {{domain}}
import (
"github.com/gin-gonic/gin"
"github.com/ArtisanCloud/PowerX/internal/app/shared"
"github.com/ArtisanCloud/PowerX/internal/service/{{domain}}"
dto "{{module_path}}/internal/transport/http/{{layer}}/{{domain}}/dto"
"github.com/ArtisanCloud/PowerX/pkg/corex/iam/reqctx"
)
type {{Entity}}Handler struct {
svc *{{domain}}.{{Entity}}Service
}
func New{{Entity}}Handler(s *{{domain}}.{{Entity}}Service) *{{Entity}}Handler {
return &{{Entity}}Handler{svc: s}
}
// POST /{{domain}}/{{resource}}
func (h *{{Entity}}Handler) Create(c *gin.Context) {
ctx, rc, err := ValidateRequestWithContext(c, &dto.{{Entity}}CreateReq{})
if err != nil { RespondErrorFrom(c, err); return }
out, err := h.svc.Create(ctx, rc.TenantID, rc.ActorID, rc.RequestID, rc.TraceID, rc.Payload)
if err != nil { RespondErrorFrom(c, err); return }
ResponseSuccess(c, out)
}
// GET /{{domain}}/{{resource}}
func (h *{{Entity}}Handler) List(c *gin.Context) {
ctx, rc, err := ValidateRequestWithContext(c, &dto.{{Entity}}ListReq{})
if err != nil { RespondErrorFrom(c, err); return }
items, pg, err := h.svc.List(ctx, rc.TenantID, rc.Pagination, rc.Filters)
if err != nil { RespondErrorFrom(c, err); return }
ResponseSuccess(c, ResponseList{Items: items, Pagination: pg})
}
// GET /{{domain}}/{{resource}}/:id
func (h *{{Entity}}Handler) Get(c *gin.Context) {
ctx, rc, err := ValidateRequestWithContext(c, &dto.{{Entity}}GetReq{})
if err != nil { RespondErrorFrom(c, err); return }
out, err := h.svc.Get(ctx, rc.TenantID, rc.ID)
if err != nil { RespondErrorFrom(c, err); return }
ResponseSuccess(c, out)
}
// PATCH /{{domain}}/{{resource}}/:id
func (h *{{Entity}}Handler) Update(c *gin.Context) {
ctx, rc, err := ValidateRequestWithContext(c, &dto.{{Entity}}UpdateReq{})
if err != nil { RespondErrorFrom(c, err); return }
out, err := h.svc.Update(ctx, rc.TenantID, rc.ID, rc.Payload, rc.IfMatch) // 支持 If-Match/ETag(可选)
if err != nil { RespondErrorFrom(c, err); return }
ResponseSuccess(c, out)
}
// DELETE /{{domain}}/{{resource}}/:id
func (h *{{Entity}}Handler) Delete(c *gin.Context) {
ctx, rc, err := ValidateRequestWithContext(c, &dto.{{Entity}}DeleteReq{})
if err != nil { RespondErrorFrom(c, err); return }
err = h.svc.Delete(ctx, rc.TenantID, rc.ID, rc.Force) // 默认为软删;Force 需权限
if err != nil { RespondErrorFrom(c, err); return }
ResponseSuccess(c, ResponseSuccess{OK: true})
}
api_go: |
package {{domain}}
import (
"github.com/gin-gonic/gin"
"github.com/ArtisanCloud/PowerX/internal/app/shared"
)
func Register{{Domain}}Routes(rg *gin.RouterGroup, deps *shared.Deps) {
h := New{{Entity}}Handler(deps.{{Entity}}Service)
g := rg.Group("/{{domain}}/{{resource}}")
{
g.POST("", h.Create)
g.GET("", h.List)
g.GET("/:id", h.Get)
g.PATCH("/:id", h.Update)
g.DELETE("/:id", h.Delete)
}
}© 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/handler-http of ArtisanCloud/PowerX.
Open the folder on GitHubat commit 3f7619d
Crud Handler HTTP 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 Handler HTTP this skillArtisanCloud/PowerX | 379 | — | ~1.8k | 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 | 43k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Firecrawl Build Onboardingfirecrawl/firecrawl | 189k | 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 CRUD HTTP 开发规范(管理端路由、绑定、错误桥接、多租户). An agent skill from ArtisanCloud/PowerX.
ArtisanCloud/PowerX
PowerX CRUD Model 规则(GORM 模型、多租户、索引、命名). An agent skill from ArtisanCloud/PowerX.
Categories
PowerX HTTP Handler 规则(绑定校验、统一回包、无 DB IO). An agent skill from ArtisanCloud/PowerX. Crud Handler HTTP is an agent skill from ArtisanCloud/PowerX.
Crud Handler HTTP fits situations like: backend & APIs work in your project.
Run `npx skills add ArtisanCloud/PowerX --skill crud-handler-http -a claude-code`. Or copy the skill folder (.codex/skills/crud/handler-http in ArtisanCloud/PowerX) into .claude/skills/crud-handler-http in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArtisanCloud/PowerX --skill crud-handler-http -a codex`. Or copy the skill folder (.codex/skills/crud/handler-http in ArtisanCloud/PowerX) into .agents/skills/crud-handler-http 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-handler-http -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-handler-http, .gemini/skills/crud-handler-http, .github/skills/crud-handler-http and .opencode/skills/crud-handler-http in your project.
SKILL.md names no scripts, command-line tools or credentials: Crud Handler HTTP 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 Handler HTTP 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.8k tokens (SKILL.md is roughly 7.2k 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 Handler HTTP: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 43k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 189k 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 7, 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.