smithery.ai

service-logic

Implements business logic in the service layer while enforcing separation of concerns and coding standards defined in agents.md.

First seen May 1, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 868 B
  • docs SUMMARY.md 149 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Skill: Service Logic

Purpose

Implement business rules in the service layer only.


When to Use

  • Adding or modifying business logic
  • Coordinating multiple operations

Inputs

  • Business requirements
  • Validated input data

Outputs

  • Service-layer implementation
  • Business rule enforcement

Governing Rules

Service logic must comply with Architecture and Coding Standards in agents.md.


Procedure

  1. Identify business responsibility
  2. Implement logic in small, readable methods
  3. Avoid framework-specific code in logic
  4. Prepare logic for testing

Failure Handling

  • Fail on unclear business rules
  • Surface domain errors explicitly