跳到正文
FunCoding

build-run

Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.

Star
507
分类
数据
许可证
MIT
最近提交
2026年12月1日

.agents/skills/build-run/SKILL.md

在 GitHub 上查看

Build and Run

When to Use

  • Confirm the codebase compiles, reproduce a runtime issue locally, or validate environment-dependent changes.

Rules

  • Do not use production credentials or external services unless the user provides safe mocks/stubs.
  • Use source setTestEnv.sh for local env needed by tests or the app.
  • Prefer reproducible, minimal commands and capture key output lines.

Commands

  • Compile: go build -v ./...
  • Format: go fmt ./...
  • Vet: go vet -v ./...
  • Tidy deps: go mod tidy
  • Run tests that reproduce an issue: source setTestEnv.sh && go test -run <TestName> ./pkg/path
  • Start example app: cd example2/cmd/app && go run main.go (use with test env)

Output

  • Result: success or failure.
  • Key logs: first relevant error or stack lines.
  • Minimal repro: 1-3 commands.
  • Next steps: which logs/files to inspect or which mocks to add.

Examples

  • "Does the project compile?" - run go build -v ./... and report.
  • "Reproduce failing integration test X" - provide commands and first failing lines.
  • test-runner, ci-orchestrator, fix-suggester

References

  • AGENTS.md (build and run commands), setTestEnv.sh, llms.txt

相似的 Skill

精选

agentic-os

构建持久多智能体系统,无需外部数据库,用文件保存状态,定时执行任务。

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

health

GAgarrytan/gstack143k近 7 天新增 636 个 star

deprecation-and-migration

ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star

ccs-align

THthedotmack/claude-mem121k近 7 天新增 1,594 个 star

handoff

THthedotmack/claude-mem121k近 7 天新增 1,594 个 star

knowledge-agent

THthedotmack/claude-mem121k近 7 天新增 1,594 个 star