sds-mode/code-to-docs-skill/code-to-docs-hooks

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install or remove project-level automation hooks for the code-to-docs lifecycle. Setup adds SessionStart (digest on session start) and PostToolUse (update hint after git commits) hooks. Teardown removes only code-to-docs hooks. Use when someone wants to automate doc updates, set up hooks, or remove hooks.

Install

npx vskill@latest install sds-mode/code-to-docs-skill/code-to-docs-hooks

SKILL.md

Hooks

Install or remove project-level hooks that automate the code-to-docs lifecycle. Hooks are written to .claude/settings.json. Project-local, read-only, non-destructive.

Related Skills

SkillPurpose
code-to-docs:code-to-docsFull documentation generation
code-to-docs:code-to-docs-digestWhat the SessionStart hook triggers
code-to-docs:code-to-docs-updateWhat the PostToolUse hook reminds about

Invocation

Skill(skill: "code-to-docs:code-to-docs-hooks", args: "setup [vault-path]")
Skill(skill: "code-to-docs:code-to-docs-hooks", args: "teardown")

Setup

Run the setup script to install both hooks:

bash
bash skills/code-to-docs-hooks/hooks/setup.sh [vault-path]

This installs two hooks into .claude/settings.json:

HookTypeScriptPurpose
digest-on-startSessionStartdigest-on-start.shRun digest at the start of each session
update-hint-on-commitPostToolUseupdate-hint-on-commit.shRemind to update docs after git commits

Teardown

Run the teardown script to remove code-to-docs hooks:

bash
bash skills/code-to-docs-hooks/hooks/teardown.sh

Removes hooks by matching the source field. Other hooks in settings.json are left untouched.

Environment

Set CODE_TO_DOCS_VAULT to override the default vault path. This is picked up by both setup and the hook scripts themselves.

Hook Scripts

ScriptPurpose
setup.shInstall SessionStart and PostToolUse hooks into .claude/settings.json
teardown.shRemove code-to-docs hooks from .claude/settings.json by source field
digest-on-start.shSessionStart hook — triggers digest skill on session open
update-hint-on-commit.shPostToolUse hook — prints update reminder after git commit operations

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sds-mode/code-to-docs-skill/code-to-docs-hooks/badge)](https://verified-skill.com/skills/sds-mode/code-to-docs-skill/code-to-docs-hooks)

Something wrong with this skill or its page? Tell us.