Agent skill

Trellis Finish Work

by ROYIANS in ROYIANS/foliq-print-template-designer

Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal.

MITAuto-check passedTesting & QA

Install Trellis Finish Work

skills CLI
$ npx skills add ROYIANS/foliq-print-template-designer --skill trellis-finish-work -a claude-code

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

GitHub CLI
$ gh skill install ROYIANS/foliq-print-template-designer 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/ROYIANS/foliq-print-template-designer.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
136
Used in
5 other repos
Token cost
~917 tokens
SKILL.md length
475 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal.

  • Works in 4 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
  • Calls python3 and git

What it does

Trellis Finish Work is an agent skill from ROYIANS/foliq-print-template-designer. 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.

Its SKILL.md is about 920 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 Quality gates. It works with Vue.js. The repository describes itself as: Foliq — a deterministic print template designer for editable document templates and print-safe PDF export. 一个面向可编辑文档模板与确定性 PDF 输出的可视化打印页面设计器。[ 可视化 拖拽 设计器 打印…. The licence is MIT.

When your agent uses it

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

Example prompts

  • “/trellis-finish-work”

Requirements

  • Python 3

Workflow steps

4 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

What it can do on your machine

Read from SKILL.md and the folder at commit 3d563b2. 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:

    • python3
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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 917 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 475 words of instructions outside code blocks.

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

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 ROYIANS/foliq-print-template-designer at commit 3d563b2, republished under its MIT licence (© ROYIANS). 475 words, ~917 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, 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.

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

bash
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:

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 (Trellis command)."

    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.

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

Step 3: Archive task(s)

bash
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

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

© ROYIANS, MIT. 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 ROYIANS/foliq-print-template-designer.

Open the folder on GitHubat commit 3d563b2

Used in 5 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in ROYIANS/foliq-print-template-designer, which our catalogue first saw on October 7, 2026.

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 skillROYIANS/foliq-print-template-designer1365 repos~917Automated safety check: PassMIT
Compoundm-xlsea/ruoyi-plus-soybean329—~280Automated safety check: PassMIT
Test Writing WorkflowiOfficeAI/AionUi33k1 repos~1.2kAutomated safety check: PassApache-2.0
SoloPi AI Controlalipay/SoloPi6.3k—~3.6kAutomated safety check: PassApache-2.0
Quality Scandiegosouzapw/OmniRoute75k—~748Automated safety check: PassMIT
Test GuardamElnagdy/guard-skills1.3k2 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Compound

    m-xlsea/ruoyi-plus-soybean

    Sprint Quality Gate 通过后触发。提炼本 Sprint 学到的为结构化条目追加 lessons.md。

    329 GitHub stars~280 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Test Writing Workflow

    iOfficeAI/AionUi

    Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target.

    33k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • SoloPi AI Control

    alipay/SoloPi

    Drives Android devices through SoloPi's typed command line to record, replay and verify app behavior, with device pools and signed on-device decision models.

    6.3k GitHub stars~3.6k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Quality Scan

    diegosouzapw/OmniRoute

    Runs a scoped, read-only quality scan on a repository candidate and reports exact evidence, failures and frozen debt, without treating a static scan as release acceptance.

    75k GitHub stars~748 tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guard

    amElnagdy/guard-skills

    Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed.

    1.3k GitHub starsUsed in 2 repos~2.1k tokens
    Testing & QAAuto-check passed
  • Triage Sonarqube

    netdata/netdata

    Inspect, review, or apply authorized triage decisions to SonarCloud issues and security hotspots; also review the Sonar helpers.

    81k GitHub stars~2.8k tokensUpdated today
    Testing & QAAuto-check: notes

More from ROYIANS/foliq-print-template-designer

  • Trellis Continue

    ROYIANS/foliq-print-template-designer

    Resume work on the current task. An agent skill from ROYIANS/foliq-print-template-designer.

    136 GitHub starsUsed in 6 repos~554 tokens
    Auto-check passed
  • Trellis Start

    ROYIANS/foliq-print-template-designer

    Initializes an AI development session by reading workflow guides, developer identity, git status, active tasks, and project guidelines from .trellis/.

    136 GitHub starsUsed in 6 repos~646 tokens
    Auto-check passed

Works with

Questions about Trellis Finish Work

What does Trellis Finish Work do?

Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal. Trellis Finish Work is an agent skill from ROYIANS/foliq-print-template-designer. Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal.

When should I use Trellis Finish Work?

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

How do I install Trellis Finish Work in Claude Code?

Run `npx skills add ROYIANS/foliq-print-template-designer --skill trellis-finish-work -a claude-code`. Or copy the skill folder (.agents/skills/trellis-finish-work in ROYIANS/foliq-print-template-designer) 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 ROYIANS/foliq-print-template-designer --skill trellis-finish-work -a codex`. Or copy the skill folder (.agents/skills/trellis-finish-work in ROYIANS/foliq-print-template-designer) 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 ROYIANS/foliq-print-template-designer --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 (python3 and git). Our summary lists: Python 3.

Does Trellis Finish Work access the network?

SKILL.md contains no URLs. Its commands use git, 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 MIT 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 917 tokens (SKILL.md is roughly 3.7k 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: Compound (m-xlsea/ruoyi-plus-soybean, 329 stars), Test Writing Workflow (iOfficeAI/AionUi, 33k stars), SoloPi AI Control (alipay/SoloPi, 6.3k stars) and Quality Scan (diegosouzapw/OmniRoute, 75k 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?

ROYIANS (a GitHub user) maintains it in ROYIANS/foliq-print-template-designer, which has 136 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 10, 2026.

Source: ROYIANS/foliq-print-template-designer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.