sds-mode/code-to-docs-skill/code-to-docs-hooks
- community
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-hooksSKILL.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
| Skill | Purpose | |
|---|---|---|
code-to-docs:code-to-docs | Full documentation generation | |
code-to-docs:code-to-docs-digest | What the SessionStart hook triggers | |
code-to-docs:code-to-docs-update | What the PostToolUse hook reminds about |
Invocation
Setup
Run the setup script to install both hooks:
This installs two hooks into .claude/settings.json:
| Hook | Type | Script | Purpose | |
|---|---|---|---|---|
| digest-on-start | SessionStart | digest-on-start.sh | Run digest at the start of each session | |
| update-hint-on-commit | PostToolUse | update-hint-on-commit.sh | Remind to update docs after git commits |
Teardown
Run the teardown script to remove code-to-docs hooks:
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
| Script | Purpose | |
|---|---|---|
setup.sh | Install SessionStart and PostToolUse hooks into .claude/settings.json | |
teardown.sh | Remove code-to-docs hooks from .claude/settings.json by source field | |
digest-on-start.sh | SessionStart hook — triggers digest skill on session open | |
update-hint-on-commit.sh | PostToolUse 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
- SKILL.md in the repositoryCheckingskills/code-to-docs-hooks/SKILL.md
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
[](https://verified-skill.com/skills/sds-mode/code-to-docs-skill/code-to-docs-hooks)