Agent skill

Trellis Finish Work

by OrtonY in OrtonY/smart-resume

Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR.

Apache-2.0Auto-check passedTesting & QA

Install Trellis Finish Work

skills CLI
$ npx skills add OrtonY/smart-resume --skill trellis-finish-work -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OrtonY/smart-resume trellis-finish-work --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OrtonY/smart-resume.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/trellis-finish-work .claude/skills/trellis-finish-work && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
trellis-finish-work
GitHub stars
122
Token cost
~1.3k tokens
SKILL.md length
733 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR.

  • Works in 5 steps: Survey current state → Sanity check — classify dirty paths → Archive task(s) → …
  • Done coding and ready to end the session
  • SKILL.md covers Step 1: Survey current state, Step 2: Sanity check —…, Step 3: Archive task(s) and Step 4: Record session journal, plus 2 more sections
  • Calls git, python and gh

What it does

Trellis Finish Work is an agent skill from OrtonY/smart-resume. Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR. Use when done coding and ready to end the session.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Pull requests and Quality gates. The licence is Apache-2.0.

When your agent uses it

  • Done coding and ready to end the session
  • Tasks that involve Pull requests
  • Tasks that involve Quality gates

Example prompts

  • “/trellis-finish-work”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Survey current state
  2. Sanity check — classify dirty paths
  3. Archive task(s)
  4. Record session journal
  5. Push branch and create PR

What it can do on your machine

Read from SKILL.md and the folder at commit f0429b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Trellis Finish Work loads about 1.3k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 733 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OrtonY/smart-resume at commit f0429b0, republished under its Apache-2.0 licence (© OrtonY). 733 words, ~1,345 tokens.

Download SKILL.mdSave it as .claude/skills/trellis-finish-work/SKILL.md (or your agent's skills folder).
name
trellis-finish-work
description
Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR. Use when done coding and ready to end the session.

Finish Work

Wrap up the current session: archive the active task, record the session journal, push the task branch to remote, and create a PR targeting develop. Code commits are NOT done here — those happen in workflow Phase 3.4 before you invoke this command.

Step 1: Survey current state

bash
python ./.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:

bash
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."

    Do NOT run git commit here. 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)

bash
python ./.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

bash
python ./.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 on the task branch: <work commits from 3.4> → chore(task): archive ... (one or more) → chore: record journal.

Show full SKILL.md (273 more words)Show less

Step 5: Push branch and create PR

After all commits are in place on the task branch:

  1. Push the task branch to origin:

    bash
    git push -u origin <current-branch>
  2. Create a PR targeting develop:

    bash
    gh pr create --base develop --title "<PR title>" --body "<summary>"
    • PR title: use the task title or a concise summary of the work (under 70 chars).
    • PR body: brief summary of what changed + link to the task if relevant.
  3. Report to user:

    "PR created: <URL>. After it merges (rebase merge), sync local develop with:

    git checkout develop && git pull --rebase && git branch -d <branch>
    ```"

Rules:

  • Always push to a new branch, never directly to develop or master.
  • The PR merge strategy is rebase merge (configured on the remote to enforce linear history).
  • Do NOT auto-merge or wait for merge — just create the PR and report the URL.
  • If git push fails (e.g., branch already exists on remote), report the error and let the user decide.

Release merge (develop → master)

When merging develop into master for a release, use Create a merge commit (not squash or rebase). This ensures:

  • Git correctly recognizes that master contains all of develop's commits.
  • GitHub does not show "N commits behind develop" on the master branch.
  • The merge commit itself serves as a clear release marker in the history.

Steps:

  1. Create a release/vX.Y.Z branch from develop, commit version bump, PR into develop (rebase merge).
  2. After merge, create a PR from develop → master, merge with Create a merge commit.
  3. Create tag vX.Y.Z from the merge commit on master.
  4. Create a GitHub Release from the tag with release notes.

© OrtonY, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/trellis-finish-work of OrtonY/smart-resume.

Open the folder on GitHubat commit f0429b0

Compare with similar skills

Trellis Finish Work next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Trellis Finish Work compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Trellis Finish Work this skillOrtonY/smart-resume122—~1.3kAutomated safety check: PassApache-2.0
PlotJuggler Ship CheckPlotJuggler/PlotJuggler6.2k—~1.3kAutomated safety check: PassMPL-2.0
Pull Requestnoh-rs/nohrs156—~4.1kAutomated safety check: PassMIT
Compound Engineering Code ReviewEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT
Sonarcloud Reviewlucasvieirasilva/nx-plugins153—~2.7kAutomated safety check: NotesMIT
PR Preflight Checkliaohch3/claude-tap3.3k—~615Automated safety check: PassMIT

Similar skills

  • PlotJuggler Ship Check

    PlotJuggler/PlotJuggler

    Runs a gated finish-line checklist before committing a PlotJuggler PJ4 change: build proof, red-test triage, hooks, docs freshness and a diff self-review.

    6.2k GitHub stars~1.3k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Pull Request

    noh-rs/nohrs

    Take a change from working tree to a merge-ready pull request, then keep iterating until the CI checks and AI reviewers (CodeRabbit, cubic) all pass.

    156 GitHub stars~4.1k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Compound Engineering Code Review

    EveryInc/compound-engineering-plugin

    Runs a staged pull request or diff review using selected reviewer personas, checking the change against its stated intent and project standards before producing findings.

    25k GitHub stars~2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Sonarcloud Review

    lucasvieirasilva/nx-plugins

    Fetches and triages SonarCloud findings (issues, security hotspots, quality gate) for the current pull request or branch of this repository via the SonarCloud Web API, summarizes them in a markdown…

    153 GitHub stars~2.7k tokensUpdated 12 days ago
    DevelopmentAuto-check: notes
  • PR Preflight Check

    liaohch3/claude-tap

    Runs a single merge-readiness check on a pull request: metadata, GitHub Actions status, local lint, format and test gates, and PR body rules, ending in READY or NOT_READY.

    3.3k GitHub stars~615 tokensUpdated today
    DevelopmentAuto-check passed
  • Submit PR

    FutureTense/keymaster

    Procedure for preparing and submitting pull requests in keymaster, enforcing the required PR template (.github/PULLREQUESTTEMPLATE.md), checklist validation, and quality gates.

    349 GitHub stars~830 tokensUpdated yesterday
    DevelopmentAuto-check passed

Questions about Trellis Finish Work

What does Trellis Finish Work do?

Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR. Trellis Finish Work is an agent skill from OrtonY/smart-resume. Wrap up the current session: verify quality gate passed, archive completed tasks, record session progress, push branch, and create PR.

When should I use Trellis Finish Work?

Trellis Finish Work fits situations like: done coding and ready to end the session; tasks that involve Pull requests; tasks that involve Quality gates.

How do I install Trellis Finish Work in Claude Code?

Run `npx skills add OrtonY/smart-resume --skill trellis-finish-work -a claude-code`. Or copy the skill folder (.agents/skills/trellis-finish-work in OrtonY/smart-resume) into .claude/skills/trellis-finish-work in your project. Claude Code loads it when a task matches its description.

How do I install Trellis Finish Work in Codex?

Run `npx skills add OrtonY/smart-resume --skill trellis-finish-work -a codex`. Or copy the skill folder (.agents/skills/trellis-finish-work in OrtonY/smart-resume) into .agents/skills/trellis-finish-work in your project. Codex loads it when a task matches its description.

Can I use Trellis Finish Work in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OrtonY/smart-resume --skill trellis-finish-work -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trellis-finish-work, .gemini/skills/trellis-finish-work, .github/skills/trellis-finish-work and .opencode/skills/trellis-finish-work in your project.

What does Trellis Finish Work need to run?

Going by SKILL.md and its folder, Trellis Finish Work needs the command-line tools its instructions call (git, python and gh). Our summary lists: Python 3.

Does Trellis Finish Work access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Trellis Finish Work safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Trellis Finish Work use?

Trellis Finish Work is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Trellis Finish Work use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Trellis Finish Work?

Skills that share tags, products or a category with Trellis Finish Work: PlotJuggler Ship Check (PlotJuggler/PlotJuggler, 6.2k stars), Pull Request (noh-rs/nohrs, 156 stars), Compound Engineering Code Review (EveryInc/compound-engineering-plugin, 25k stars) and Sonarcloud Review (lucasvieirasilva/nx-plugins, 153 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trellis Finish Work?

OrtonY (a GitHub user) maintains it in OrtonY/smart-resume, which has 122 GitHub stars. The repository was last updated on June 27, 2026.

Source: OrtonY/smart-resume on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.