Skip to Content
agore-skill
Reference

Repository conventions

Pinned tools, file locations, commit prefixes and the working agreements this repository follows.

Where things live

PathContents
cmd/agore-skill/The only entry point
internal/All CLI packages (cli, config, workspace, skill, filefilter, inspect, lint, release, ui)
docs/The documentation site (Fumadocs); content in docs/content/docs/{en,zh}/
scripts/coverage.sh, e2e.sh, act-image.sh, act-ci.sh, act-release-dry-run.sh
.github/workflows/ci, codeql, dependency-review, release, scorecard
.github/act/Local act environment (image, event payloads, README)
mise.tomlPinned toolchain + tasks
.goreleaser.yamlCLI binary release config
.actrcLocal act defaults (runner image, no pull, cleanup)

Toolchain pinning

mise.toml is the single source of truth: Go 1.26.11 toolchain over the module's go 1.25.0 floor (chosen so govulncheck has no reachable stdlib findings), Node 24.14.0, pnpm 10.32.1, golangci-lint 2.15.0, actionlint 1.7.12, shellcheck 0.12.0, goreleaser 2.20.3, govulncheck 1.10.0, act 0.2.87, VHS 0.12.1. Never install project tools from Homebrew or pip directly; use mise run … so pinned versions win.

Versioning

  • go.mod declares go 1.25.0 — the language floor any contributor toolchain must meet.
  • The docs package tracks its own version in docs/package.json.
  • Releases use two tag namespaces: vX.Y.Z (CLI binary, GoReleaser) and <skill>/vX.Y.Z (skill releases, the CLI itself). See Release process.

Commits and changelog

Commit prefixes follow the GoReleaser changelog groups: feat:, fix: (grouped), docs:, test:, chore: (filtered out of the binary changelog). Dependabot adds chore(deps) and chore(ci) prefixed commits.

Pull requests

  • Target main; branch protection requires review and green checks.
  • .github/PULL_REQUEST_TEMPLATE.md is the required form.
  • CI must pass: the go matrix, quality (race + coverage ≥ 90.0%), lint, security and docs jobs.
  • Dependency changes are reviewed by dependency-review (fails on high severity).

Supply-chain

  • Every third-party GitHub Action is pinned to a commit SHA.
  • Release artifacts are checksummed; the binary release is signed with cosign (keyless).
  • .gitignore keeps bin/, dist/, coverage.out and the docs build caches out of the tree.

Docs conventions

  • Content is verified against the implementation before it ships; CLI identifiers, flags, rule IDs and messages are quoted verbatim.
  • The Diátaxis rules of the .agents/skills/diataxis skill apply across docs/content/docs/.
  • English is authoritative; Chinese is a structural mirror.
  • User docs and Contributor docs never mix audiences in one page.

On this page