Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add mpadmaraj/sample-agentic --skill "service-logic"
Install specific skill from multi-skill repository
# Description
>
# SKILL.md
name: service-logic
description: >
Implements business logic in the service layer while enforcing
separation of concerns and coding standards defined in agents.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
- Identify business responsibility
- Implement logic in small, readable methods
- Avoid framework-specific code in logic
- Prepare logic for testing
Failure Handling
- Fail on unclear business rules
- Surface domain errors explicitly
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.