finish-work

Run pre-commit checks for linting, type checking, tests, and spec synchronization.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413 --skill finish-work-sddkkk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finish-work
Source: https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413/tree/main/.agents/skills/finish-work
Command: npx skills add https://github.com/SDDKKK/Trellis_Hiskens_backup_20260413 --skill finish-work-sddkkk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often forget to run all necessary quality checks, update documentation, and synchronize specifications before committing code, leading to broken builds and undocumented changes.

Core Features & Use Cases

  • Comprehensive checklist covering linting, type checking, tests, console statements, spec updates, API changes, database migrations, and cross‑layer verification.
  • Spec validation ensures that infra or cross‑layer specifications are executable and include signatures, validation matrices, and test cases.
  • Use case: Run finish-work after completing a feature to verify everything is in order before the final git commit.

Quick Start

Invoke the finish-work skill before committing to run the full pre‑commit checklist.

Frequently Asked Questions about finish-work

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pre-commit checks for linting, type checking, and testing?

To automate pre-commit checks, you can run a comprehensive checklist that validates linting, type checking, and tests before committing. This ensures code quality by executing pnpm-based commands and verifying cross-layer specifications to prevent broken builds.

What is spec synchronization and why is it needed before a git commit?

Spec synchronization verifies that executable specifications in .trellis/spec directories include signatures, validation matrices, and test cases. It is needed before a git commit to ensure infra or cross-layer specifications remain executable and accurately reflect code changes.

Does the pre-commit checklist validation require specific package managers or directories?

Yes, pre-commit checklist validation requires a pnpm-based environment to execute lint, type-check, and test commands. It also depends on .trellis/spec directories to perform executable specification verification for cross-layer spec validation.

How do I verify API updates and database migrations before committing code?

You can verify API updates and database migrations by running a pre-commit checklist that validates code quality and cross-layer specs. This process checks that all API changes and database migrations are complete and synchronized before the final git commit.

Can I use this pre-commit validation workflow without pnpm?

No, this pre-commit validation workflow explicitly requires pnpm to run its lint, type-check, and test commands. Without a pnpm-based environment, the comprehensive checklist cannot properly execute the required quality checks.

What is the best way to ensure documentation and code quality are updated before pushing code?

The best way to ensure documentation and code quality are updated is to apply a pre-commit checklist that validates linting, testing, and spec synchronization. This verifies all console statements, documentation, and cross-layer specs are complete before committing.