forge-town/skills

forge_service-best-practice

Must follow when 创建或重构 Service 层,基于 tRPC + Service + DAO 架构确保依赖注?

Installation

$ npx skills add forge-town/skills --skill forge_service-best-practice

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 forge-town/skills · top by installs.

npx skills add forge-town/skills

Browse all from forge-town/skills

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

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 649 B
  • docs SUMMARY.md 185 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

Service 最佳实践

使用说明

  1. 阅读 [Service 最佳实践指南](references/service-best-practice-guide.md) 了解完整规范与代码示例
  2. 完成后使用 [检查清单](references/checklist.md) 逐项验证

重要: Service 实现入口是 PascalCase singleton(如 CratesService);不得使用 create*Service 工厂或连接注入,DAO/Repository 与环境依赖下沉到 helpers