一键导入
go-release-worker
Align release artifacts, skill packaging, direct-run workflow docs, and outside-repo validation for the Go CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Align release artifacts, skill packaging, direct-run workflow docs, and outside-repo validation for the Go CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user wants to search, inspect, or retrieve academic papers through search-paper-cli. This skill keeps the workflow on direct `search-paper-cli ...` commands, can auto-install the CLI when missing, and relies on process env plus `~/.config/search-paper-cli/config.yaml` / `config.yml` for runtime configuration.
Prepare and publish a new search-paper-cli release when the caller provides a version like v1.1.0.
Build and verify core Go CLI foundations, global config loading, registry behavior, and search orchestration.
Build and verify source connectors, retrieval behavior, and fallback flows for the Go CLI.
| name | go-release-worker |
| description | Align release artifacts, skill packaging, direct-run workflow docs, and outside-repo validation for the Go CLI. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use for features that implement or modify:
dist/None.
.factory/library/architecture.md, .factory/library/environment.md, .factory/library/user-testing.md, and the release-related contract assertions it fulfills.README.md, repo AGENTS.md, skill docs, helper scripts, release tests, .factory/validation flow definitions) before editing.search-paper-cli ... with global config plus per-key env overrides.typechecklinttestbuilddist/ and validate the built artifact outside the repository root using direct CLI invocations with temp HOME.search-paper-cli commands, not the removed wrapper path.git commit fails only because author identity is missing, retry with git -c user.name="Droid" -c user.email="local@factory.invalid" commit ... instead of changing git config.{
"salientSummary": "Removed the wrapper-driven skill flow, updated shipped guidance to direct `search-paper-cli` usage, and validated both the standalone artifact and an installed-skill-style context with temp HOME global config.",
"whatWasImplemented": "Deleted the runtime wrapper script, rewrote README/AGENTS/skill references to describe `~/.config/search-paper-cli/config.yaml` plus per-key env overrides, updated stale validation flow definitions, and retargeted release tests to outside-repo direct CLI behavior. Verified the built artifact and copied skill context use plain `search-paper-cli ...` commands with no `SEARCH_PAPER_ENV_FILE` or skill-local `.env` coupling.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "go test ./internal/release -run 'Test(Artifact|Skill)' -count=1",
"exitCode": 0,
"observation": "Release and skill tests passed with direct-run global-config expectations."
},
{
"command": "GOMAXPROCS=8 go build ./...",
"exitCode": 0,
"observation": "All packages and the CLI binary build successfully."
}
],
"interactiveChecks": [
{
"action": "Ran the built binary from an outside-repo temp directory with temp HOME global config and executed `sources`, `search`, and `get --as pdf`.",
"observed": "The direct CLI surface worked without wrapper assets, and stdout/stderr behavior stayed machine-readable."
},
{
"action": "Copied the skill directory to a temp location and followed the updated docs using plain `search-paper-cli` commands.",
"observed": "The installed-skill context no longer required wrapper scripts or skill-local `.env` scaffolding."
}
]
},
"tests": {
"added": [
{
"file": "internal/release/release_test.go",
"cases": [
{
"name": "TestArtifactUsesGlobalConfigOutsideRepo",
"verifies": "The standalone binary honors the new global-config model from an outside-repo context."
}
]
},
{
"file": "internal/release/skill_test.go",
"cases": [
{
"name": "TestInstalledSkillContextUsesDirectCLI",
"verifies": "The retained skill surface relies on plain `search-paper-cli` invocation rather than a wrapper runtime path."
}
]
}
]
},
"discoveredIssues": []
}