Thank you for your interest in contributing to AgentCraftLab! This document provides guidelines and instructions for contributing.
繁體中文摘要:歡迎貢獻!請先開 Issue 討論,然後 Fork → 建立分支 → 提交 PR。需要 1 位維護者 approve + CI 通過才能合併。Commit message 英文或繁中皆可。程式碼須遵循 .editorconfig 規範且零警告。新的 public API 需要附帶單元測試。
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
- Check existing issues to avoid duplicates
- Use the Bug Report issue template
- Include: steps to reproduce, expected vs actual behavior, environment details
- Open an issue using the Feature Request template
- Describe the problem and proposed solution
- Wait for maintainer feedback before starting implementation
- .NET 10 SDK
- Node.js 20+
- An LLM API key for integration testing (optional)
git clone https://github.com/<your-fork>/agent-craft-lab.git
cd agent-craft-lab/AgentCraftLab.Web
npm install
npm run dev:allThis starts three services:
- .NET API on
http://localhost:5200 - CopilotKit Runtime on
http://localhost:4000 - React Dev Server on
http://localhost:5173
- Open an issue first to discuss the change
- Fork the repository
- Create a branch from
main:feat/descriptionfor new featuresfix/descriptionfor bug fixesdocs/descriptionfor documentation
- Make your changes
- Run tests:
dotnet build # Must produce 0 warnings dotnet test # All tests must pass cd AgentCraftLab.Web && npx vitest run # Frontend tests
- Submit a PR targeting
main
- Linked to an issue (when applicable)
- 1 maintainer approval required
- CI checks must pass (build + test)
- New public APIs must include unit tests
- No increase in warnings (
TreatWarningsAsErrorsis enabled)
.editorconfigenforced — file-scoped namespaces, required braces, using orderTreatWarningsAsErrors— zero warnings policy across all projects- No Semantic Kernel — use
Microsoft.Agents.AIAPIs exclusively - Follow existing patterns in the codebase
- Follow existing component patterns
- Use
shadcn/uicomponents - Translations via
i18next(en + zh-TW)
Both English and Traditional Chinese (繁體中文) are accepted:
feat: add webhook support for workflow hooks
fix: 修正 SkillForm tools.join 錯誤
docs: update API reference for Search endpoints
Use Conventional Commits prefixes: feat:, fix:, docs:, refactor:, test:, chore:.
See docs/en/developer-guide/architecture.md for detailed architecture documentation.
- Open a Discussion for general questions
- Check the documentation for guides and references
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.