Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
PowerX CRUD Service 规则(事务、审计、错误翻译、传输解耦). An agent skill from ArtisanCloud/PowerX.
$ npx skills add ArtisanCloud/PowerX --skill crud-service -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArtisanCloud/PowerX crud-service --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/service .claude/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .claude/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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/serviceType 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-service -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArtisanCloud/PowerX crud-service --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/service .agents/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .agents/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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-service -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArtisanCloud/PowerX crud-service --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/service .cursor/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .cursor/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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/service--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-service -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArtisanCloud/PowerX crud-service --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/service .gemini/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .gemini/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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-serviceInstalls 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-service -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/service .github/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .github/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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-service -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-service --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/service .opencode/skills/crud-service && 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-service" agent skill from https://github.com/ArtisanCloud/PowerX/tree/release%2Fv1.0.0/.codex/skills/crud/service into .opencode/skills/crud-service/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "crud-service", 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-servicePowerX CRUD Service 规则(事务、审计、错误翻译、传输解耦). An agent skill from ArtisanCloud/PowerX.
Crud Service is an agent skill from ArtisanCloud/PowerX. PowerX CRUD Service 规则(事务、审计、错误翻译、传输解耦)。
Its SKILL.md is about 1.6k 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 Service loads about 1.6k 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,567 tokens.
.claude/skills/crud-service/SKILL.md (or your agent's skills folder).本文件内嵌规则。kind: ruleset
name: crud_service
version: 1.0.0
owner: powerx
status: stable
meta:
intent: >
统一 Service 层职责:鉴权/审计、事务边界、幂等与并发控制、错误翻译(404/409),
与 Repository/DTO/Handler/DI 对齐,保持传输无关(HTTP/gRPC 共用)。
references:
- crud_di.yaml
- crud_repository.yaml
- crud_dto.yaml
- crud_api_rest.yaml
- constitution.md
scope:
applies_to:
- "internal/service/**/**_service.go"
principles:
- 传输无关:Service 只依赖 Repo 接口与 *shared.Deps,不依赖 gin/http/grpc。
- 鉴权与审计:在 Service 层落实 RBAC/ABAC 与审计打点(入参需包含 actor/tenant/requestID)。
- 事务:Service 负责确定事务边界;优先使用 Repo.WithTx 注入 tx。
- 幂等与并发:Create 支持 Idempotency-Key(可选);Update 支持 If-Match/ETag(可选)。
- 错误翻译:ErrRecordNotFound → 404;唯一键冲突/重复 → 409;其余 → 500(由上层桥接)。
- 日志:必要路径要记录关键维度(tenant/actor/id)。
- 形态约束:Service 默认以结构体 + `New*Service` 构造函数呈现;仅当满足“同一接口需要多种驱动/工厂模式”“为复用/测试提供可替换实现(如 handler、worker、远程代理共用服务)”等场景,或复用已有跨包 interface 规范时,才允许额外定义 interface 壳,并需在评审中说明理由。
- Repo 生命周期:Service 构造时基于注入的 `*gorm.DB` 创建所需 Repository;禁止在 `shared.Deps` 或 Handler 层先行实例化 Repo 再传入 Service。
checks:
# 形态:结构体 + 构造函数 + 仅依赖 Deps/Repo
- id: service.shape
level: error
when: { glob: "internal/service/**/**_service.go" }
assert:
- must_define_like: "type *Service struct { deps *shared.Deps"
- must_define_like: "func New*Service(*shared.Deps, *"
- must_not_import: ["github.com/gin-gonic/gin","net/http","google.golang.org/grpc","gorm.io/gorm"]
# 方法签名:ctx + tenant/actor/…(根据业务,可放松)
- id: service.method.signature
level: warn
when: { glob: "internal/service/**/**_service.go" }
assert:
- should_contain_regex: "func \\(s \\*.*Service\\) .*\\(ctx context\\.Context, .*tenantID .*\\) .*"
- must_import: ["context"]
# 事务调用
- id: service.uses.tx
level: warn
when: { glob: "internal/service/**/**_service.go" }
assert:
- should_contain_any: ["WithTx(","Transaction("]
# 错误翻译(记录出现,便于 code review 聚焦)
- id: service.error.translation
level: warn
when: { glob: "internal/service/**/**_service.go" }
assert:
- should_contain_any: ["ErrRecordNotFound","409","404","Conflict","NotFound"]
# 禁止在 Service 中直接 new 外部客户端(统一由 Deps 管理)
- id: service.no_new_external_clients
level: error
when: { glob: "internal/service/**/**_service.go" }
assert:
- must_not_call: ["redis.NewClient(","kafka.NewReader(","http.DefaultClient.Do","sql.Open("]
acceptance:
checklist:
- "[ ] Service 仅依赖 Repo 接口与 *shared.Deps,不耦合传输层"
- "[ ] 关键方法包含 ctx/tenant/actor 等上下文,能审计溯源"
- "[ ] 事务边界清晰:通过 Repo.WithTx/Transaction 控制"
- "[ ] 错误统一翻译(404/409/500)供上层桥接"
- "[ ] 可被 HTTP/gRPC 同时复用"
templates:
service_go: |
// internal/service/{{domain}}/{{resource}}_service.go
package {{domain}}svc
import (
"context"
"errors"
"github.com/ArtisanCloud/PowerX/internal/app/shared"
{{domain}}repo "{{module_path}}/internal/repository/{{domain}}"
m "{{module_path}}/pkg/corex/db/persistence/model/{{domain}}"
"gorm.io/gorm"
)
var (
ErrNotFound = errors.New("{{resource}} not found")
ErrConflict = errors.New("{{resource}} conflict")
)
type {{Entity}}Service struct {
deps *shared.Deps
repo {{domain}}repo.{{Entity}}Repo
}
func New{{Entity}}Service(d *shared.Deps, r {{domain}}repo.{{Entity}}Repo) *{{Entity}}Service {
return &{{Entity}}Service{deps: d, repo: r}
}
func (s *{{Entity}}Service) Create(ctx context.Context, tenantID uint64, actorID uint64, req any) (*m.{{Entity}}, error) {
in := &m.{{Entity}}{
// 从 req 映射;此处略
}
// 事务示例
err := s.repo.WithTx(ctx, s.deps.DB, func(tx *gorm.DB) error {
return s.repo.Create(ctx, tx, tenantID, in)
})
if err != nil {
// 唯一冲突示例
if {{domain}}repo.IsUniqueConflict(err) {
return nil, ErrConflict
}
return nil, err
}
// 审计/日志(略)
return in, nil
}
func (s *{{Entity}}Service) Get(ctx context.Context, tenantID uint64, id string) (*m.{{Entity}}, error) {
out, err := s.repo.GetByID(ctx, s.deps.DB, tenantID, id)
if err != nil {
if errors.Is(err, gorm.ErrRecordNotFound) {
return nil, ErrNotFound
}
return nil, err
}
return out, nil
}
func (s *{{Entity}}Service) List(ctx context.Context, tenantID uint64, pg {{domain}}repo.Page, filters map[string]string) ([]*m.{{Entity}}, shared.PaginationResponse, error) {
items, total, err := s.repo.List(ctx, s.deps.DB, tenantID, pg, filters)
if err != nil { return nil, shared.PaginationResponse{}, err }
pr := shared.PaginationResponse{
Total: total, Page: pg.Page, PageSize: pg.PageSize,
Pages: (int(total)+pg.PageSize-1)/pg.PageSize,
}
return items, pr, nil
}
func (s *{{Entity}}Service) Update(ctx context.Context, tenantID uint64, id string, patch any, ifMatch *string) (*m.{{Entity}}, error) {
cur, err := s.repo.GetByID(ctx, s.deps.DB, tenantID, id)
if err != nil {
if errors.Is(err, gorm.ErrRecordNotFound) { return nil, ErrNotFound }
return nil, err
}
// merge patch(略);ETag/If-Match(可选)
if err := s.repo.Update(ctx, s.deps.DB, tenantID, cur); err != nil {
return nil, err
}
return cur, nil
}
func (s *{{Entity}}Service) Delete(ctx context.Context, tenantID uint64, id string, force bool) error {
// 可加 RBAC 校验(略)
if err := s.repo.Delete(ctx, s.deps.DB, tenantID, id, force); err != nil {
if errors.Is(err, gorm.ErrRecordNotFound) { return ErrNotFound }
return err
}
return nil
}
repo_err_helpers_go: |
// internal/repository/{{domain}}/errors.go
package {{domain}}repo
import "strings"
func IsUniqueConflict(err error) bool {
if err == nil { return false }
s := err.Error()
return strings.Contains(s, "duplicate key") || strings.Contains(s, "unique")
}© 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/service of ArtisanCloud/PowerX.
Open the folder on GitHubat commit 3f7619d
Crud Service 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 Service this skillArtisanCloud/PowerX | 379 | — | ~1.6k | 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 | 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
PowerX CRUD Service 规则(事务、审计、错误翻译、传输解耦). An agent skill from ArtisanCloud/PowerX. Crud Service is an agent skill from ArtisanCloud/PowerX.
Crud Service fits situations like: backend & APIs work in your project.
Run `npx skills add ArtisanCloud/PowerX --skill crud-service -a claude-code`. Or copy the skill folder (.codex/skills/crud/service in ArtisanCloud/PowerX) into .claude/skills/crud-service in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArtisanCloud/PowerX --skill crud-service -a codex`. Or copy the skill folder (.codex/skills/crud/service in ArtisanCloud/PowerX) into .agents/skills/crud-service 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-service -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-service, .gemini/skills/crud-service, .github/skills/crud-service and .opencode/skills/crud-service in your project.
SKILL.md names no scripts, command-line tools or credentials: Crud Service 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 Service 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.6k tokens (SKILL.md is roughly 6.3k 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 Service: 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, 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 8, 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.