mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-09-26 13:20:42 +02:00
Internal accuracy pass against v2.1.220 — no missing upstream features, but broken example code, disagreeing counts, and metadata drift.
Functional fixes: pre-commit.sh now exits 2 so it actually blocks; dependency-check.sh reads file_path from stdin JSON instead of $1; database-mcp.json uses ${DATABASE_URL}; broken fences repaired; three command templates had invalid skill names.
Factual corrections: /fork and /subtask unswapped and /subtask added; /fewer-permission-prompts; permissions.defaultMode; dontAsk/auto unreversed; 31 hook events verified name-by-name; subagent depth 3; skill precedence enterprise > project > personal; /output-style removed not deprecated; permissionDecision gained defer.
Follow-up review fixed defects the pass left behind: zh/vi headers claiming 31 events above 25-name lists, a surviving hardcoded DB credential in the MCP README examples, an unbalanced fence swallowing a metadata footer, and non-canonical tool names. All four translated CATALOG summary tables were recounted so their arithmetic holds.
Full detail in CHANGELOG.md under v2.1.220-r2.
1.2 KiB
1.2 KiB
name, description
| name | description |
|---|---|
| setup-ci-cd | Triển khai pre-commit hooks và GitHub Actions để đảm bảo chất lượng |
Thiết Lập Pipeline CI/CD
Triển khai các cổng chất lượng DevOps toàn diện được điều chỉnh theo loại dự án:
- Phân tích dự án: Phát hiện ngôn ngữ, framework, hệ thống build, và công cụ hiện có
- Cấu hình pre-commit hooks với các công cụ cụ thể theo ngôn ngữ:
- Định dạng: Prettier/Black/gofmt/rustfmt/v.v.
- Linting: ESLint/Ruff/golangci-lint/Clippy/v.v.
- Bảo mật: Bandit/gosec/cargo-audit/npm audit/v.v.
- Kiểm tra kiểu: TypeScript/mypy/flow (nếu áp dụng)
- Tests: Chạy các bộ test phù hợp
- Tạo các workflow GitHub Actions (.github/workflows/):
- Phản ánh các kiểm tra pre-commit trên push/PR
- Ma trận đa phiên bản/nền tảng (nếu áp dụng)
- Xác minh build và test
- Các bước triển khai (nếu cần)
- Xác minh pipeline: Test cục bộ, tạo PR kiểm tra, xác nhận tất cả các kiểm tra vượt qua
Sử dụng các công cụ miễn phí/mã nguồn mở. Tôn trọng các cấu hình hiện có. Giữ thực thi nhanh.