LogoClawIndex
CasesSkillsAbout
LogoClawIndex

code-structure - Service Layer Architecture Guidelines

Guides separating domain action orchestration from reusable service layer mechanics.

Tags

Updated: 2026-09-15
architecturerefactoringcode-structureservice-layer

Capabilities

Separate domain and service logicRefactor duplicated operational blocksDesign composable service functionsExtract reusable operational mechanics

Typical Inputs

Action codeOperational parametersDomain workflow logic

Typical Outputs

Service layer functionsStructured result objectsRefactored codebase

What this skill does

  • Separate domain and service logic
  • Refactor duplicated operational blocks
  • Design composable service functions
  • Extract reusable operational mechanics

Inputs

  • Action code
  • Operational parameters
  • Domain workflow logic

Outputs

  • Service layer functions
  • Structured result objects
  • Refactored codebase

Requirements

    Source

    • Spec: SKILL.md

    ClawIndex

    OpenClaw Skills & Use Case Index

    ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

    Index

    Skills·
    Cases

    Meta

    About·
    Disclaimer·
    Email·
    GitHub
    © 2026 ClawIndex All Rights Reserved.