Skip to content

Contributing

Phong Võ edited this page Mar 21, 2026 · 1 revision

🤝 Contributing

Cách đóng góp

Thêm tool mới

Xem Architecture để biết chi tiết. Tóm tắt:

  1. Tạo Go command: engine/cmd_yourtool.go
  2. Register trong engine/main.go
  3. Tạo WPF module: Modules/YourTool/ (4 files)
  4. Register: ToolRegistry.Register(new YourTool())

Coding Standards

  • Tên biến/hàm/class: PascalCase (C#), camelCase (Go)
  • Mỗi tool: self-contained trong folder riêng
  • JSON protocol: mỗi line là 1 JSON object
  • Engine: chỉ dùng Go stdlib, không external deps
  • UI: follow dark theme tokens từ Styles.xaml

Build & Test

# Build engine
cd engine && go build -o ../engine.exe .

# Build UI
dotnet build src/NetTool.UI

# Run
dotnet run --project src/NetTool.UI

Commit Convention

feat: add new tool
fix: fix bug in tool
ui: update theme/layout
docs: update documentation

Clone this wiki locally