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

speckit-opsmill-summary

Produce a flow-level summary of the current Claude Code session — executive summary, chronological timeline, and outcomes — written into the active feature directory next to spec.md / plan.md.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.5 KB

SKILL.md(원문)

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Supported argument: --since <commit|time> to bound the summary window. Examples:

  • --since HEAD~10 — limit the timeline to phases that began after the 10th-most-recent commit on this branch.
  • --since 14:00 — only include phases that occurred after 2 PM local time in the active session.

If no argument is given, summarize the entire live session.

Goal

Produce a single markdown document that lets a teammate (or future-you) understand the flow of the session in under 60 seconds. The unit of output is the working session, not any one artifact. Different granularity from speckit.archive (per-feature, permanent) and speckit.reconcile.run (drift-fixing).

Operating Constraints

STAY AT THE FLOW LEVEL. This summary is a narrative, not a transcript. Do NOT include any of the following:

  • Per-tool-call narration ("called Read on X.py, then called Edit on...")
  • Diffs or hunks of any size
  • Line numbers
  • Code snippets longer than a single line
  • File-by-file change logs (those belong in PR descriptions and git log)
  • Step-by-step reproductions of debugging
  • Quotes from the conversation buffer longer than one short clause

STRICTLY ADDITIVE. Do not modify spec.md, plan.md, tasks.md, or any source files. The only file this command writes is the session summary itself.

IDEMPOTENT IN SPIRIT. A second invocation in the same session must produce a comparable summary, not a summary of summaries. Ignore previously generated session files when composing the new one.

Outline

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --paths-only from repo root and parse FEATURE_DIR from the JSON output. All paths must be absolute.

    • If FEATURE_DIR is missing, empty, or the resolved directory does not exist, fail fast with a clear error such as: No feature directory resolved from current branch — /speckit.opsmill.summary requires an active feature branch. Suggest the user switch to a feature branch and re-run.
  2. Parse $ARGUMENTS for an optional --since <value>. Treat the value as opaque — pass it through to git log --since=<value> if it parses as a date/time, otherwise treat it as a git revision and use git log <value>..HEAD. Do not attempt to interpret it any further.

  3. Gather context for the summary, in this order of preference:

    a. The live conversation context (primary source — the actual session is what is being summarized). b. git log on the current branch, optionally bounded by --since, for outcomes that already landed as commits. c. FEATURE_DIR/spec.md, plan.md, tasks.md if they exist — only to anchor terminology, not to copy content.

    Do not read every changed file. Do not generate diffs. Stay at the level of "what phase of work was happening, and what did it produce".

  4. Compose the summary with exactly these three sections, in this order:

    Executive Summary

    One paragraph (2–4 sentences). What was this session about? What was the working theme? Reading just this paragraph should answer "what did they spend their time on today?".

    Timeline

    A chronological bullet list. Each entry is a single short line in the form HH:MM — <human-readable phase>, e.g.:

    • 10:42 — investigated failing E2E test in deployments_create.py
    • 11:05 — narrowed cause to driver init order
    • 11:30 — applied fix and re-ran suite

    Aim for 5–15 entries. Collapse near-duplicate phases (e.g. three consecutive "ran tests" lines into one). If exact timestamps are not recoverable, use relative ordering with no HH:MM prefix and a leading dash only.

    Outcomes

    A short bullet list of concrete results from the session. Reference paths and PRs only — no diffs. Examples:

    • Opened PR #161 (speckit-extensions cleanup).
    • Materially changed .specify/extensions/auto/, tinyspec/.
    • Decided: extensions invoke skills, not slash commands.
    • Deferred: rewriting the auto extension's hook condition DSL.
  5. Write the file.

    • Path: FEATURE_DIR/sessions/session-YYYY-MM-DD-HHMM.md, where YYYY-MM-DD-HHMM is the local time at invocation.
    • Create FEATURE_DIR/sessions/ if it does not exist.
    • If a file with the same HHMM already exists, append a numeric suffix (-2, -3, …) rather than overwriting.
  6. Print the resolved path back to the user as the final message, plus a one-line reminder that the summary is intentionally high-level and the conversation transcript / git log remain the sources of truth for detail.

Quality Bar

A reader who was not in the session should, after under 60 seconds with the document, be able to answer:

  • What was the session trying to accomplish?
  • What was the rough order of work?
  • What concretely shipped, what was decided, what was deferred?

If the draft cannot pass that bar, tighten it before writing. If it exceeds ~80 lines of markdown, you are too detailed — cut.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Analyzes recent CI failures on pull requests to identify flaky tests, using retry outcomes (failed attempt → green re-run) and cross-PR recurrence as evidence, and maintains a local longitudinal ledger so flakiness can be tracked over time. TRIGGER when: the user wants to find flaky tests, correlate recent CI failures, check which tests fail across PRs or recover on retry, or refresh the flakiness trend report. DO NOT TRIGGER when: babysitting a single PR's CI until green → monitoring-pull-requests; diagnosing or fixing one specific failing test → the bug-analysis skills.

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

opsmill/infrahub5382026년 10월 17일 업데이트

Audits internal (dev/) and external (docs/) documentation completeness for a feature, subject, or set of existing docs, maps changes indicated by the user, across Infrahub's documentation layers, reports gaps, and optionally applies the fixes. TRIGGER when: the user wants to audit or check documentation coverage, find doc gaps after a feature branch, or verify docs are still current for a subject or specific files. DO NOT TRIGGER when: authoring new documentation from scratch → use the add-docs flow; only linting/formatting Markdown → run `uv run invoke docs.lint`.

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

opsmill/infrahub5382026년 10월 17일 업데이트

commit

무료

Stages and commits the current changes onto a safe working branch, enforcing branch discipline and optionally pushing upstream. TRIGGER when: the user wants to commit, save, or check in the current changes. DO NOT TRIGGER when: opening a pull request → pr.

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

opsmill/infrahub5382026년 10월 17일 업데이트

Use when you've fixed a bug, added a feature, or made any user-facing change in a project that uses Towncrier and need to record it for the changelog — before committing or opening a PR, or whenever asked to add a changelog entry, towncrier fragment, or news fragment.

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

opsmill/infrahub5382026년 10월 17일 업데이트

Turns a single feature idea, improvement, or bug into ONE well-structured GitHub issue. TRIGGER when: the user wants to file/open/create an issue, turn a feature idea or improvement into a ticket, or capture something missing or broken as a ticket. DO NOT TRIGGER when: breaking work into multiple issues or planning a body of work → a planning skill; writing a full Product Requirements Document → creating-prd; the idea is still fuzzy and unhardened → grilling-ideas first.

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

opsmill/infrahub5382026년 10월 17일 업데이트

Synthesises the current conversation context into a Product Requirements Document and publishes it to GitHub (as a comment on a referenced issue, or a new issue). Synthesises from context; does not interview. TRIGGER when: the conversation has produced enough understanding of a feature and the user wants it captured as a PRD. DO NOT TRIGGER when: a single small issue is enough → creating-issues; the idea has not been stress-tested yet → grilling-ideas first; bug reports.

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

opsmill/infrahub5382026년 10월 17일 업데이트

opsmill의 스킬 모두 보기

이 스킬의 문제 신고