← Back to Skills Marketplace
wpank

Service Layer Architecture

by wpank · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
853
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install service-layer-architecture
Description
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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install service-layer-architecture
  3. After installation, invoke the skill by name or use /service-layer-architecture
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug service-layer-architecture
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 853 downloads so far.

How do I install Service Layer Architecture?

Run "/install service-layer-architecture" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Service Layer Architecture free?

Yes, Service Layer Architecture is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Service Layer Architecture support?

Service Layer Architecture is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Service Layer Architecture?

It is built and maintained by wpank (@wpank); the current version is v1.0.0.

💬 Comments