trellis-finish-work
Fungsinya
Skill ini menutup sesi coding dengan pekerjaan rapi. Untuk developer yang ingin tugas yang selesai diarsipkan dan kemajuannya dicatat.
Kapan dipakai
- โSaat Anda selesai coding dan siap mengakhiri sesi.
- โSaat tugas Anda saat ini sudah selesai dan perlu diarsipkan.
- โSaat Anda ingin kemajuan sesi dicatat di jurnal developer.
Link skill
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-finish-work/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya sudah selesai untuk hari ini. Arsipkan tugas yang sudah selesai dan tuliskan apa yang kita kerjakan di jurnal saya.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa tugas saat ini dan status git, memisahkan pekerjaan Anda dari perubahan yang tidak terkait, mengarsipkan tugas yang selesai setelah Anda konfirmasi, lalu mencatat sesi di jurnal. Commit dilakukan lebih awal dalam alur kerja, bukan di sini.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Finish Work
Wrap up the current session: archive the active task (and any other completed-but-unarchived tasks the user wants to clean up) and record the session journal. Code commits are NOT done here โ those happen in workflow Phase 3.4 before you invoke this command.
Step 1: Survey current state
python3 ./.trellis/scripts/get_context.py --mode record
This prints:
- My active tasks โ review whether any besides the current one are actually done (code merged, AC met) and should be archived this round.
- Git status โ quick visual on what's dirty.
- Recent commits โ you'll need their hashes in Step 4 for
--commit.
If --mode record surfaces other completed tasks not tied to the current session, surface them to the user with a one-shot confirmation: "These N tasks look done โ archive them too in this round? [y/N]". Default is no; the current active task is always archived in Step 3 regardless.
Step 2: Sanity check โ classify dirty paths
Run:
git status --porcelain
Filter out paths under .trellis/workspace/ and .trellis/tasks/ โ those are managed by add_session.py and task.py archive auto-commits and will appear dirty as part of this skill's own work.
For each remaining dirty path, decide whether it belongs to the current task or to other parallel work (e.g., another terminal window editing the same repo). Heuristics:
- Paths referenced in the current task's
prd.md/implement.jsonl/check.jsonlโ current task - Paths in code areas matching the task's stated scope, or that you remember editing this session โ current task
- Paths in unrelated areas you have no recollection of touching this session โ other parallel work
Then route:
Any remaining path looks like current-task work โ bail out with:
"Working tree has uncommitted code changes from this task:
<list>. Return to workflow Phase 3.4 to commit them before running ``finish-work(Trellis command)."Do NOT run
git commithere. Do NOT prompt the user to commit. The user goes back to Phase 3.4 and the AI drives the batched commit there.All remaining paths look unrelated (other parallel-window work) โ report them once and continue to Step 3:
"FYI, dirty files outside this task's scope โ leaving them for the other window:
<list>."Genuinely unsure โ ask the user once: "Are
<list>this task's work I forgot to commit, or another window's? (commit / ignore)" โ then route per their answer.
Step 3: Archive task(s)
python3 ./.trellis/scripts/task.py archive <task-name>
At minimum: the current active task (if any). Plus any extra tasks the user confirmed in Step 1. Each archive produces a chore(task): archive ... commit via the script's auto-commit.
If there is no active task and the user did not confirm any cleanup archives, skip this step.
Step 4: Record session journal
python3 ./.trellis/scripts/add_session.py \
--title "Session Title" \
--commit "hash1,hash2" \
--summary "Brief summary"
Use the work-commit hashes produced in Phase 3.4 (visible in Step 1's Recent commits list, or via git log --oneline) for --commit. Do not include the archive commit hashes from Step 3. This produces a chore: record journal commit.
Final git log order: <work commits from 3.4> โ chore(task): archive ... (one or more) โ chore: record journal.
Pertanyaan umum
Apakah ini melakukan commit kode saya?
Tidak. Commit dilakukan lebih awal dalam alur kerja, dan langkah ini hanya menutup sesi.
Apakah tugas yang belum selesai akan diarsipkan?
Tidak. Tugas lain yang sudah selesai hanya diarsipkan jika Anda konfirmasi, dan jawaban defaultnya adalah tidak.
Di mana sesi dicatat?
Di jurnal developer yang disimpan di folder workspace Trellis.
Detail
Deskripsi asli dari pembuat
Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal. Use when done coding and ready to end the session.
repo: mindfold-ai/Trellis
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #11030
- Lisensi
- AGPL-3.0
- Diperbarui
- 29/9/2026
Komentar
- โฆ
Skill lain dari repositori ini
first-principles-thinking
15kMembantu agent Anda menguji rencana atau desain dengan memecahnya menjadi kebenaran dasar dan bernalar dari situ, bukan mengandalkan kebiasaan atau konvensi.
python-design
15kMembantu agent Anda menulis dan meninjau skrip baris perintah Python dengan modul yang jelas, antarmuka sederhana, dan komplikasi tersembunyi yang lebih sedikit.
trellis-before-dev
15kMembantu agent Anda membaca panduan coding proyek dan catatan tugas sebelum mulai menulis kode, sehingga mengikuti konvensi tim.
trellis-brainstorm
15kMembantu agent Anda memperjelas fitur baru atau tugas yang belum jelas dengan mengajukan satu pertanyaan bermanfaat setiap kali, memeriksa kode, dan menyepakati ruang lingkup yang sempit.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.