用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Goldziher/go-utils --skill development-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| description | development-workflow |
| name | development-workflow |
| user_invocable | false |
# Clone and navigate to the repository
cd /Users/naamanhirschfeld/workspace/go-utils
# Install dependencies
go mod download
# poly runs in CI via the shared reusable validate workflow.
# Verify locally before committing:
poly fmt --check . && poly lint .
# Run all tests with coverage
go test ./... -v -cover
# Run tests for specific package
go test ./sliceutils -v
go test ./maputils -v
go test ./dateutils -v
go test ./stringutils -v
go test ./structutils -v
go test ./urlutils -v
Important: 100% test coverage is mandatory for all contributions. Each utility package has a corresponding _test.go file that must be updated when adding new functions.
# Run golangci-lint (configuration in .golangci.yml)
golangci-lint run
# Auto-fix issues where possible
golangci-lint run --fix
This project enforces Conventional Commits via poly:
# Valid commit message examples
git commit -m "feat: add new Map function to sliceutils"
git commit -m "fix: correct edge case in dateutils.Overlap"
git commit -m "docs: update contributing guide"
git commit -m "test: add coverage for stringutils.Capitalize"
The project uses GitHub Actions (.github/workflows/ci.yaml and .github/workflows/docs.yaml) to: