Skip to content
Skills Library
Programming · Automation

setup-skill-hook

/setup-skill-hook

Use this skill once to automatically install the ZIO skill attribution hook. After installation, all commits will automatically track which skills were used and include their versions.

Author
zio ↗
Repository
zio-skills ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

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

What it does and when to use it

Use this skill once to automatically install the ZIO skill attribution hook. After installation, all commits will automatically track which skills were used and include their versions.

Original author description

Use this skill once to automatically install the ZIO skill attribution hook. After installation, all commits will automatically track which skills were used and include their versions.

How it works

  1. What This Does
  2. One-Time Setup
  3. After Installation
  4. Manual Alternative
  5. Uninstall
  6. Notes
Original SKILL.md headings · 66 lines, 239 words
SKILL.md preview
---
name: setup-skill-hook
description: Use this skill once to automatically install the ZIO skill attribution hook. After installation, all commits will automatically track which skills were used and include their versions.
tags: [zio, setup, git, hook, skills, installation]
---

# Install Skill Attribution Hook

Use this skill once to set up automatic skill attribution tracking in your commits.

## What This Does

Installs a git post-commit hook that:
- ✅ Auto-discovers all installed ZIO plugins
- ✅ Updates plugin versions with commit hashes
- ✅ Appends a `Skills-Used` trailer to every commit message
- ✅ Tracks which skills contributed to each change

## One-Time Setup

Simply invoke this skill:

```
/setup-skill-hook
```

The skill will:
1. Locate the hook template in the installed plugin
2. Copy it to your `.git/hooks/post-commit`
3. Make it executable
4. Verify installation with a test commit

## After Installation

Every commit will automatically include:

```
feat: add OpenAPI validation

Skills-Used: zio-http-scaffold@0.1.0-abc1234,docs-data-type-ref@0.1.0-abc1234
```

This makes it easy to:
- 📊 Track which skills were used in each change
- 🔍 Reference exact skill versions by commit hash
- 📝 Document skill usage in your project history
- 🔗 Link commits to specific skill capabilities

## Manual Alternative

If you prefer, you can also run from the repository root:

```bash
bash setup-skill-hook.sh
```

## Uninstall

To remove the hook anytime:

```bash
rm .git/hooks/post-commit
```

## Notes

- The hook runs automatically on every commit
- Use `git commit --no-verify` to skip the hook for a single commit
- The hook requires `jq` to be installed (for JSON parsing)
- If `jq` is missing, install it: `brew install jq` (macOS) or `sudo apt-get install jq` (Linux)

Versions

The database has no other skills named setup-skill-hook.

Database snapshot: 13.11.2026 · package version 6f5e7acb5786 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90plugin-cross-port-install-hook
    Install the plugin-cross-port pre-commit hook into any git repository. Use when the user invokes /install-hook.
  • 100repo-stats-autoupdate
    Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory. Runs automatically on every commit via a git pre-commit hook. Use when the README drifts from reality or before publishing a release.
  • 100react-hook-creator
    Create react hook creator operations. Auto-activating skill for Frontend Development. Triggers on: react hook creator, react hook creator Part of the Frontend Development skill category. Use when working with react hook creator functionality. Trigger with phrases like "react…
  • 100full-zio-stack
    This skill should be used when the user asks to "build a full stack app with this stack", "create a new full-zio-stack project", "scaffold a ZIO app", "start a new Scala 3 / ZIO / Scala.js project", "new app with my stack", or any request to create a new application on the Scala…
  • 100setup-linter
    USE WHEN setup automatic linting, add linter hook, configure code formatting on completion, enable lint on save. Auto-detects project type (JS/Python/Rust/Go/Deno/Biome), installs linter if missing, creates config with sensible defaults, wires a Stop hook in .claude/settings.json.
  • 100zio-knowledge
    Stop and consult this skill whenever your response would involve any fact or code related to ZIO core or the ZIO ecosystem. Covers: ZIO effects and type aliases (ZIO, Task, UIO, UEffect), fibers and fiber management, concurrency primitives (Hub, Queue, Ref, Semaphore), Software…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.