eric861129/dotnetcleancodetemplate/clean-code-feature-builder
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use this skill when adding or changing a feature in this CleanCodeTemplate repository, especially API endpoints, use cases, domain behavior, repositories, EF Core persistence, or Worker jobs. It guides AI agents to implement changes test-first, place code in the correct Clean Architecture layer, and follow the Traditional Chinese Clean Code standards.
Install
npx vskill@latest install eric861129/dotnetcleancodetemplate/clean-code-feature-builderSKILL.md
Clean Code Feature Builder
使用此 skill 新增或修改功能。目標是讓每個功能都能遵守 Clean Code、分層清楚、容易測試。
必讀文件
開始前閱讀:
docs/clean-code-standards.mddocs/architecture.mddocs/development-workflow.mddocs/testing.md
開發流程
- 釐清行為
- 功能要解決什麼使用情境?
- 輸入、輸出、失敗狀況是什麼?
- 是否需要 API、Worker、資料庫或外部系統?
- 先寫測試
- Domain rule:寫在
tests/Template.UnitTests。 - Application use case:寫 use case unit test,可用 in-memory fake。
- WebApi 行為:寫
WebApplicationFactory<Program>integration test。 - Worker 行為:寫 Worker / dispatcher integration test。
- 放在正確層級
- Domain:entity、invariant、domain exception。
- Application:request/response record、use case、interface。
- Infrastructure:EF Core、repository、unit of work、外部服務實作。
- WebApi:route、auth、HTTP status mapping。
- Worker:background loop、polling、dispatch orchestration。
- 實作最小可用功能
- 先讓測試轉綠。
- 再整理命名、重複與邊界。
- 不加入目前需求沒有要求的功能。
- 驗證
- 至少執行
dotnet build與dotnet test。 - 如果修改 template 行為,也要在 repository 外產生範本並 build/test。
新功能預設檔案模式
新增一個 use case 時,優先採用:
不要建立模糊資料夾,例如 Helpers、Utils、Managers、Misc。
完成回報格式
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.agnet/skills/clean-code-feature-builder/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eric861129/dotnetcleancodetemplate/clean-code-feature-builder)