← 返回 Skills 市场
aiweline

业务模块工程师 服务层与业务逻辑

作者 Aiweline · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
52
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install business-service-logic
功能描述
Business module engineer skill for service-layer design, business logic extraction, and module-safe orchestration.
使用说明 (SKILL.md)

\r \r

Role\r

\r This skill owns service-layer implementation and business-rule placement inside modules. It keeps controllers thin, models focused on persistence, and business logic extracted into services that can be tested and reused.\r \r

When To Use\r

\r

  • Use for service classes, business-rule extraction, API service contracts, and coordination between controllers and models.\r
  • Use for keywords such as service, business logic, orchestration, API layer, domain rule, and refactor controller logic.\r
  • Use when a task is more about module behavior than about framework infrastructure.\r \r

Source Material\r

\r

  • AI-ENTRY.md\r
  • CLAUDE.md\r
  • dev/ai/skills/service-development/SKILL.md\r
  • dev/ai/skills/code-generation-standards/SKILL.md\r
  • dev/ai/skills/module-development/SKILL.md\r \r

Responsibilities\r

\r

  • Place business logic in services instead of controllers or templates.\r
  • Define stable module-local service contracts and collaboration boundaries.\r
  • Keep persistence concerns in models and orchestration concerns in services.\r
  • Structure code to support unit testing and future reuse.\r \r

Workflow\r

\r

  1. Confirm the business rule, the entry point, and the owning module.\r
  2. Read the existing controller, service, and model interaction before changing structure.\r
  3. Extract or implement the rule inside a service with explicit dependencies.\r
  4. Keep controllers and console commands focused on input/output orchestration only.\r
  5. Add unit tests around the extracted service behavior.\r
  6. Validate the end-to-end feature path through its real entry point.\r
  7. Report the service boundary and any new contract assumptions.\r \r

Weline Rules\r

\r

  • Prefer small, isolated, testable changes.\r
  • Keep module boundaries intact.\r
  • Do not hardcode user-facing text.\r
  • Use i18n for user-facing text.\r
  • Provide unit test evidence where relevant.\r \r

Inputs Required\r

\r

  • The current feature entry point and expected business outcome.\r
  • The owning module and collaborating models or services.\r
  • Any API or controller contracts that must remain stable.\r
  • Required validation path and edge cases.\r \r

Expected Output\r

\r

  • A service-layer implementation or refactor with clearer business boundaries.\r
  • Unit-test or focused validation evidence for the business rule.\r
  • Notes about affected controller, API, or model interactions.\r \r

Validation\r

\r

  • Run targeted unit tests for extracted or changed service behavior.\r
  • Run a route, command, or API check through the real entry point when relevant.\r
  • Confirm controllers no longer contain unnecessary business-rule branches.\r
  • Confirm models remain persistence-focused rather than becoming orchestration hubs.\r \r

Constraints\r

\r

  • Do not move UI rendering logic into services.\r
  • Do not bury business-critical logic inside controllers, commands, or templates.\r
  • Do not introduce raw SQL or framework-invented APIs in service code.\r
  • Do not change public contracts silently without documenting the impact.\r \r
安全使用建议
This skill appears safe for normal development use. As with any coding assistant, review generated code changes and test results before merging or deploying.
功能分析
Type: OpenClaw Skill Name: business-service-logic Version: 1.0.0 The skill bundle contains standard architectural guidelines and instructions for an AI agent to manage business logic and service-layer development. It promotes software engineering best practices such as thin controllers, unit testing, and separation of concerns. No malicious code, suspicious network activity, or harmful prompt injection attempts were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The stated purpose and SKILL.md content are coherent: it guides service-layer implementation, business-rule extraction, module boundaries, and testing.
Instruction Scope
The workflow is bounded to normal software engineering activities such as reviewing existing code, extracting logic into services, adding tests, and reporting contract assumptions.
Install Mechanism
There is no install specification, no required binaries, no required environment variables, and no code files present.
Credentials
The implied access to project code is proportionate to the skill's development purpose; no credentials, network access, broad local indexing, or external data flows are requested.
Persistence & Privilege
The artifacts show no persistence mechanism, background behavior, privilege escalation, or credential/session use.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install business-service-logic
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /business-service-logic 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Publish_WelineFramework_Multica_role_skills
元数据
Slug business-service-logic
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

业务模块工程师 服务层与业务逻辑 是什么?

Business module engineer skill for service-layer design, business logic extraction, and module-safe orchestration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。

如何安装 业务模块工程师 服务层与业务逻辑?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install business-service-logic」即可一键安装,无需额外配置。

业务模块工程师 服务层与业务逻辑 是免费的吗?

是的,业务模块工程师 服务层与业务逻辑 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

业务模块工程师 服务层与业务逻辑 支持哪些平台?

业务模块工程师 服务层与业务逻辑 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 业务模块工程师 服务层与业务逻辑?

由 Aiweline(@aiweline)开发并维护,当前版本 v1.0.0。

💬 留言讨论