跳到正文
cccskills
免费在 GitHub 公开

track-estimate

Manually log a time estimate.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core星标 90(GitHub 90 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.9 KB
  • agents/openai.yaml120 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/track-estimate - Manual Estimate Capture

Append a time estimate to workspace/estimate-log/log.jsonl. Use this when:

  • The auto-capture hook missed something (vague phrasing, deeply nested in a code block, etc.)
  • You want to attach a structured task description to a freshly-captured estimate
  • The estimate is being made conversationally before any assistant message has logged it

Input: $ARGUMENTS

The argument should be a free-form phrase containing both a task description and a duration. Examples:

  • "port resolve-conflicts skill to hq-core-staging" "1-2h"
  • "npm release of hq-cloud@5.7.1, including verification" "30m"
  • "HQ Desktop App Tauri build + sign + notarize" "10-30m"

Steps

  1. Parse arguments

    • Extract the duration token (30m, 1-2h, 2 days, ~5min, etc.)
    • Treat everything else as the task description
    • Fall back to interactive prompts if either is missing
  2. Normalize duration Use the same logic as parse-estimates.pl:

    • m / min / minutes → minutes (1×)
    • h / hr / hours → minutes (60×)
    • d / day / days → minutes (480× — 8-hour workday)
    • s / sec → minutes (1/60×)
    • Ranges like 1-2h: min_minutes=60, max_minutes=120, expected_minutes=90
  3. Categorize Run the same keyword classifier from parse-estimates.pl against the task description. If unclear, ask the user to confirm or pick from: release, pr, build, deploy, tauri, infra, script, refactor, docs, debug, cli, unknown.

  4. Generate ID est_<sha1(session_id + iso_ts + task)[0..10]> — same format as auto-capture.

  5. Append entry to log

    cat >> workspace/estimate-log/log.jsonl <<EOF
    {"id":"est_...","timestamp":"...","session_id":"manual","message_uuid":"manual-<short>","offset":0,"raw":"<duration token>","kind":"estimate","min_minutes":...,"max_minutes":...,"expected_minutes":...,"category":"...","surrounding":"<task>","status":"pending","task":"<task>"}
    EOF
    

    Field order should match canonical (alphabetical) so it sorts identically to auto-capture entries.

  6. Report

    Tracked: <task>
    ID: est_...
    Estimate: <human-readable> (<expected_minutes> min, range <min>-<max>)
    Category: <category>
    
    When done, run: /finish-estimate <id> <actual-duration>
    

Notes

  • This command is the escape hatch for the auto-capture hook. Most estimates should land via the Stop hook automatically; this is for the cases the hook misses.
  • The session_id is set to "manual" to distinguish manual entries from auto-captured ones in /calibration-report.
  • If the user provides only a duration with no task, prompt for the task — never log an estimate without context.

See also

  • /finish-estimate — close it with the actual time
  • /calibration-report — see estimate accuracy

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

accept

免费

Accept HQ membership invites from a magic link or raw token.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

adr

免费

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

architect

免费

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

查看 indigoai-us 的全部技能

报告此技能的问题