用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CorrectRoadH/OpenTickly --skill backend-test-worker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | backend-test-worker |
| description | Build and verify real-Postgres Go tests and thin transport smoke for tracking behavior. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the work procedure.
Use for features that add or fix Go unit/application tests, real-Postgres integration tests, thin transport/contract smoke, conflict regressions, and historical-fact retention coverage.
None.
mission.md, mission AGENTS.md, {repo-root}/.factory/services.yaml, and {repo-root}/.factory/library/architecture.md from this repository checkout (not any personal ~/.factory location).expectedBehavior bullet from the
feature, and convert each one into an explicit backend acceptance case before editing code. Do
not stop after proving only one invalid-input variant if the feature or contract names more than
one.Workspace + User200 + null, or invalid-save no-mutation semantics.expectedBehavior bullet or requested regression path turns out to be
impossible under the current documented/API contract, stop and return to orchestrator with the
exact boundary instead of deleting the failing case and marking the feature complete.{
"salientSummary": "Added real-Postgres tracking lifecycle tests for stopped-entry create/edit/readback, invalid time rejection, and idle current-timer `200 + null` semantics. Also kept transport smoke thin by proving the current-timer body shape without moving business logic into handler tests.",
"whatWasImplemented": "Expanded backend coverage for tracking time-entry lifecycle using the dedicated test schema on the shared external PostgreSQL service. The new tests prove canonical direct readback after create and edit, preserve prior state on invalid save attempts, and lock down the documented idle current-timer semantic with a thin HTTP smoke check.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "go test ./apps/backend/internal/tracking/... -count=1 -parallel 4",
"exitCode": 0,
"observation": "Tracking application tests passed with the new lifecycle coverage."
},
{
"command": "go test ./apps/backend/internal/bootstrap/... -count=1 -run 'TestPublicTrackTracking|TestRouteHandlers'",
"exitCode": 0,