Przejdź do treści
Biblioteka skilli
Produktywność osobista · Planowanie

session-close

/session-close

Zamyka sesję pracy i zapisuje stan w pliku przekazania w .gemba/sessions, z wersją, sprawą i następnym krokiem.

Repozytorium
gemba ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/ensure_ignored.py

Co robi i kiedy

Zamyka sesję pracy i zapisuje stan w pliku przekazania w .gemba/sessions, z wersją, sprawą i następnym krokiem.

Wyzwalacze z opisu

cierra la sesióntermino por hoyguarda el estado de la sesiónsession close
Oryginalny opis (EN)

Close a work session by saving its state to a handoff in `.gemba/sessions`, so another session can continue where this one stopped: the version, the issue in progress, what was done, what is pending, what was decided and the next step. The handoffs stay out of git. Use when someone says "cierra la sesión", "termino por hoy", "guarda el estado de la sesión" or "session close".

Jak działa

  1. 1. Find the project
  2. 2. Keep the handoffs out of git
  3. 3. Gather the state
  4. 4. Write the handoff
  5. 5. Offer to back up the branch
  6. 6. Report
  7. Style
Sekcje z nagłówków SKILL.md, w oryginale · 68 linii, 739 słów
Podgląd SKILL.md
---
name: session-close
description: Close a work session by saving its state to a handoff in `.gemba/sessions`, so another session can continue where this one stopped: the version, the issue in progress, what was done, what is pending, what was decided and the next step. The handoffs stay out of git. Use when someone says "cierra la sesión", "termino por hoy", "guarda el estado de la sesión" or "session close".
---

# Close the session

You save where the session stands, so the next one continues without the conversation. Jira and the code stay the source of the facts: the handoff only holds the picture of this session. It is a local file and never enters the repository.

## 1. Find the project

Read the `## Gemba` section of the project's `CLAUDE.md`: `Jira Project`, `Integration` and `Language`. If it is missing, propose running `setup` first and stop. Use its `Jira Site` as the `cloudId` of every call; only when the block has none, get it once with `getAccessibleAtlassianResources` and propose running `setup` to add it. Every call to Jira is the one written in `../../references/jira-calls.md`, with its `fields` and `responseFields`. Talk with the person in `Language`, and write the content of the handoff in it; its headings stay in English.

## 2. Keep the handoffs out of git

The handoffs live in `.gemba/sessions/` of the main working tree: the directory that holds the one `git rev-parse --git-common-dir` returns, never the worktree of a Spike, which is removed when the Spike closes.

Before writing a handoff, run `python3 scripts/ensure_ignored.py <main working tree>/.gitignore ".gemba/sessions/" "Session handoffs written by session-close, one per session"`. It adds the section only when the pattern is not there, shaped like the others of the file: a blank line after the last section, a comment that says what is ignored and the pattern. Never edit the `.gitignore` by hand. Run it every time: when the pattern is already there it changes nothing.

## 3. Gather the state

Read the facts now, never from memory:

- the current branch and, when its name carries an issue key, the issue with Read the state of an issue (`getJiraIssue`): key, summary and state;
- the commits of the branch that are not in `develop` (`git log develop..HEAD`) and what the working tree has uncommitted (`git status --short`);
- the fix version of the issue with List the versions (`getJiraProjectVersions`): name, start date and release date.

What only the conversation knows is yours to summarize: what was decided and why, what was left half done, what is still open and what comes next. Write only what happened in this session; never invent. Without a connection to Jira, say so in the Version section and write the rest from git.

## 4. Write the handoff

Write it to `.gemba/sessions/<YYYY-MM-DDTHH-MM-SS>.md`, with the local time (`date +%Y-%m-%dT%H-%M-%S`) and without `:`, so every session has its own file. Create the folder if it does not exist and never overwrite another handoff.

```
# Session <date and time>

## Version
The fix version with its start and release dates.

## Work in progress
The issue with its key, summary and state, and its branch. `none` when no issue is in progress.

## Done this session
The commits of the branch, one per line.

## Pending
What was left half done, and the changes not committed.

## Decisions
What was decided in the conversation and is not in Jira or the code, with its reason.

## Next step
One option: the one you would take first, with the reason. Never a list.
```

Fill every section; write `none` where there is nothing. If you cannot write files, put the whole handoff in the reply and say that nothing was written.

## 5. Offer to back up the branch

Only when `Integration` is `pull request` and the current branch is not a Spike's. In `merge` mode work branches are never pushed, so offer nothing.

Check whether the branch has commits that `origin` does not have: `git rev-list --count @{u}..HEAD`, or, when the branch has no upstream yet, that `git ls-remote --exit-code --heads origin <branch>` finds nothing. If it has any, offer to push the branch as a backup, so the work does not depend on this machine. Push it with `git push -u origin <branch>` only if the person says yes, and open no pull request: that is `review`'s job, once the review comes out clean. Once pushed, a correction to a pushed commit is a new commit, not a fixup. Say that when you offer.

## 6. Report

Report the path of the handoff and, in one line per section, what it says. Say that `.gemba/sessions` is ignored by git, checking that `git status` does not list it. Commit nothing.

## Style

- Conversation in the project's `Language`; headings and labels in English.
- No emojis or filler.
Pliki w paczce (2)
  • SKILL.md 5 KB
  • scripts/ensure_ignored.py 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · dedujeong/gemba100Apache-2.0
RemGrace/rem-sdlc100MIT
hgbeigi/claude-tools100MIT
AMDResearch/omniprobe90MIT

Migawka bazy z 13.11.2026 · wersja paczki 981df80f74bf (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90session-start
    Rozpoczyna sesję od przekazania zostawionego w .gemba/sessions, sprawdza je z Jira i kodem oraz proponuje jeden następny krok.
  • 100handoff
    Zapisuje szczegółowy stan sesji do pliku .quality/handoff.md i do pamięci Engram jako ustrukturyzowaną obserwację, zwłaszcza przed kompaktowaniem kontekstu lub komendą /clear.
  • 90close-off
    Zamyka sesję na wyraźne żądanie: potwierdza ukończenie, zapisuje wnioski i sprząta to, co sesja zaczęła.
  • 90close
    Zamyka sesję pracy w Foxrun: sprząta wskazany folder, uzupełnia brakujące paragony, zapisuje wyniki zadań i przygotowuje następną sesję.
  • 100handoff
    Zamyka sesję pracy: zapisuje pamięć, archiwizuje sesję, commituje i wypycha repozytoria, a gałęzie porządkuje po zgodzie.
  • 95Qcompact
    Zapisuje stan pracy i przekazuje sesję do dalszej pracy, zachowując kontekst przed zakończeniem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.