본문으로 건너뛰기
cccskills
무료GitHub에 공개

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still an open loop, and what was just started. Use when someone asks "what happened this week", "what is still open", "what did the team finish", "give me the weekly rollup", or wants a status report over a .specstory/history corpus.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Gemini
설치 방법 보기

포함된 파일(19)

  • SKILL.md4.9 KB
  • docs/2026-06-24-WORKTHREADS-AS-BUILT.md5.5 KB
  • fixtures/threads-bar/.specstory/history/2026-06-06_09-00-00Z-scaffold-search-index.md282 B
  • fixtures/threads-bar/.specstory/history/2026-06-20_11-00-00Z-fix-search-index.md354 B
  • fixtures/threads-bar/.specstory/history/2026-06-21_15-00-00Z-start-notif-badge.md273 B
  • fixtures/threads-foo/.specstory/history/2026-06-02_09-00-00Z-begin-checkout-flow.md503 B
  • fixtures/threads-foo/.specstory/history/2026-06-09_10-00-00Z-finish-checkout-flow.md550 B
  • fixtures/threads-foo/.specstory/history/2026-06-12_14-00-00Z-payment-retry-rollback.md905 B
  • install.sh1.1 KB
  • package.json304 B
  • README.md3.2 KB
  • scripts/lib/db.mjs3.8 KB
  • scripts/lib/discover.mjs3.3 KB
  • scripts/lib/indexer.mjs7.4 KB
  • scripts/lib/parse.mjs10.4 KB
  • scripts/lib/patterns.mjs14.4 KB
  • scripts/lib/threads.mjs12.4 KB
  • scripts/workthreads.mjs3.3 KB
  • tests/threads.test.mjs8.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Workthreads

A lead needs a weekly answer across the team's repos: what work happened this week, what got finished, and what is still open and needs a next step. Workthreads produces that rollup from SpecStory histories - the .specstory/history transcripts your coding agents already write. It reports lines of work and their lifecycle (new / open / recently closed).

A deterministic engine (scripts/workthreads.mjs threads) does the retrieval, clustering, and classification; you do the synthesis - you turn its evidence into the lead's weekly report. Do not try to read raw transcripts yourself; they can be hundreds of thousands of lines. Run the engine and write the rollup from its output.

This skill is harness-portable (agentskills.io format). Where it names a specific tool (e.g. AskUserQuestion), treat that as "use your harness's equivalent; fall back to plain chat."

How the engine splits the work

  • The engine groups the window's beats by project and clusters them into threads (a line of work that can span several sessions). It assigns each thread one lifecycle status relative to today:
    • new - first activity within the last 7 days.
    • open - unresolved, still active (the open loops).
    • closed - latest outcome was success and the thread has gone quiet; flagged reverted when a beat ran a rollback command (git revert / git reset --hard / git checkout -- ...).
  • Output is deterministic (stable sort, no wall-clock timestamps in the body), so two runs on the same corpus are byte-identical.

Default flow: the weekly rollup

  1. Index the corpus into workthreads' own DB. Point at the team's repos and build/update it:

    node "${CLAUDE_SKILL_DIR}/scripts/workthreads.mjs" index --projects <parent-of-repos> --db <db>
    # or a single tree:  --scan <root>     or a single history dir:  --dir <dir>
    
  2. Run threads cross-project for the last 7 days and capture the evidence:

    node "${CLAUDE_SKILL_DIR}/scripts/workthreads.mjs" threads --db <db> --days 7            # human digest
    node "${CLAUDE_SKILL_DIR}/scripts/workthreads.mjs" threads --db <db> --days 7 --json     # machine-readable
    

    The digest prints, per project, three sections in order - New, Open, Recently closed - each thread with its evidence refs (path:line), last-activity date, status, and a reverted marker. --json emits an array of threads (project, status, reverted, the files touched, last-activity date).

  3. Write the rollup from that evidence, in the lead's shape:

    • (a) a high-level result: session count and active projects in the window;
    • (b) per-project highlights of completed work (the closed threads);
    • (c) open loops - the open threads, unresolved or needing verification, with a suggested next step each;
    • (d) notable rollbacks / abandoned efforts (the reverted threads);
    • (e) cite evidence refs (path:line) so each claim is checkable. Add a caveat that the week may still be in progress, so open and new threads are snapshots, not final outcomes.
  4. Save it to a dated file so the rollup is durable and diffable week over week:

    .specstory/workthreads/<YYYY>-W<week>.md
    

    (ISO week number, e.g. .specstory/workthreads/2026-W25.md). Also offer threads --out <file> to drop the raw digest beside your written summary.

Guided start

If the user just invokes the skill with no specifics, ask three short questions (use AskUserQuestion or plain chat), then run the default flow with the answers:

  • Scope - which repos / parent directory holds the team's .specstory/history corpus?
  • Window - how many days back? (default 7 for the weekly rollup; --days N to widen.)
  • Goal - the whole rollup, just the open loops, just recently closed, or a quick status line? Tailor which sections you emphasize to the answer.

Conventions

Node ESM only, zero dependencies, Node >= 22.5. No em dashes anywhere (use " - "). The engine path never calls an LLM or the network; all judgment (the written narrative, suggested next steps, emphasis) is yours.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

lore

무료

SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user wants to turn past AI coding sessions into reusable skills, asks "what could I make into a skill", "mine my lore", "forge skills from my history", or points at a .specstory/history directory.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

specstoryai/getspecstory1.4천2026년 10월 19일 업데이트

specstoryai의 스킬 모두 보기

이 스킬의 문제 신고