← 返回 Skills 市场
853
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install service-layer-architecture
功能描述
Controller-service-query layered API architecture with data enrichment and parallel fetching. Use when building REST APIs or GraphQL resolvers with clean separation of concerns. Triggers on API architecture, service layer, controller pattern, data enrichment, REST API.
安全使用建议
This skill is a benign, instruction-only guide for layering controllers, services, and queries. Before you copy or run any remote code referenced in the README (the npx add GitHub URL or repository copies), inspect that repository yourself — fetching and executing code from third-party repos is where risk appears. Also treat design rules as guidance (for example, .lean() improves performance in many MongoDB reads but isn't always appropriate); review and adapt snippets to your application's correctness, security, and error-handling needs. If you want higher assurance, ask the publisher for a canonical source or inspect the repository history before using the code.
功能分析
Type: OpenClaw Skill
Name: service-layer-architecture
Version: 1.0.0
The skill bundle describes a 'service-layer-architecture' pattern with TypeScript code examples and provides standard installation instructions. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent. The `README.md` includes an `npx add` command to fetch the skill from a GitHub URL, which is a common and expected method for skill distribution and does not indicate malicious intent within the skill bundle itself.
能力评估
Purpose & Capability
Name/description match the content: the skill is architecture guidance for REST/GraphQL layers and the SKILL.md contains only code examples and patterns relevant to that purpose. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
Runtime instructions are example code and design rules (controllers, services, queries, Promise.all). They do not instruct the agent to read arbitrary files, access credentials, or transmit data to external endpoints. Some recommendations (e.g., "always use .lean()") are opinionated and may not fit every scenario, but this is design guidance rather than malicious behavior.
Install Mechanism
The skill is instruction-only (no install spec), which is lowest risk. README includes an npx add command pointing to a GitHub tree URL and copy instructions that assume local skill directories; fetching code from an external repo is optional but carries the usual risk—verify the remote repository before running any fetch/install commands.
Credentials
No environment variables, credentials, or config paths are requested; the skill does not ask for secrets and its example code uses generic query/service calls without requiring external keys.
Persistence & Privilege
Flags are default (always:false, user-invocable:true). The skill does not request persistent presence or system-wide changes and has no install-time behavior that would modify other skills or agent config.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install service-layer-architecture - 安装完成后,直接呼叫该 Skill 的名称或使用
/service-layer-architecture触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of service-layer-architecture skill.
- Documents a three-layer API design: controllers (HTTP handling), services (business logic & data enrichment), and queries (database access).
- Provides TypeScript examples for each layer, showing best practices including Promise.all for parallel data fetching.
- Specifies clear responsibilities for each layer to ensure separation of concerns.
- Includes a "NEVER Do" section outlining common pitfalls to avoid.
- Adds related skills for job queue processing and real-time update patterns.
元数据
常见问题
Service Layer Architecture 是什么?
Controller-service-query layered API architecture with data enrichment and parallel fetching. Use when building REST APIs or GraphQL resolvers with clean separation of concerns. Triggers on API architecture, service layer, controller pattern, data enrichment, REST API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 853 次。
如何安装 Service Layer Architecture?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install service-layer-architecture」即可一键安装,无需额外配置。
Service Layer Architecture 是免费的吗?
是的,Service Layer Architecture 完全免费(开源免费),可自由下载、安装和使用。
Service Layer Architecture 支持哪些平台?
Service Layer Architecture 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Service Layer Architecture?
由 wpank(@wpank)开发并维护,当前版本 v1.0.0。
推荐 Skills