homericintelligence/scylla/fix-broken-doc-references

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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

Install

npx vskill@latest install homericintelligence/scylla/fix-broken-doc-references

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Skill: Fix Broken Documentation References

Overview

FieldValue
Date2026-02-19
Issue#752
PR#811
Categorydocumentation
ObjectiveRemove broken agents/ directory references from CLAUDE.md after directory was deleted in commit 72ab40d
OutcomeSuccess - all broken references removed, PR created and auto-merge enabled

When to Use

Trigger this skill when:

  • A directory or file is removed from the repo but still referenced in CLAUDE.md or other docs
  • grep finds dead links to paths that no longer exist
  • CI or contributors report confusion from broken documentation links
  • A refactor moves files and the architecture tree in CLAUDE.md becomes stale

Verified Workflow

1. Identify all broken references
bash
# Find all references to the removed path
grep -rn "agents/hierarchy.md\|agents/delegation-rules.md\|agents/templates\|agents/README" CLAUDE.md
# Also check broadly for the removed directory
grep -n "/agents/" CLAUDE.md
2. Verify current actual structure
bash
# Confirm the directory is truly gone
ls /path/to/removed-dir 2>/dev/null || echo "Confirmed removed"
# Find where the content now lives
ls .claude/agents/ # or wherever it moved
3. Make targeted edits

Four categories of fixes for the agents/ removal case:

  1. Quick Links section - Remove bullet list items that link to removed files
  2. Narrative references - Replace See [file](path) with plain text describing current location
  3. Documentation Rules - Update path from removed dir to current dir
  4. Architecture tree - Remove the entire removed-directory block from the text code block
4. Verify success criteria
bash
# Confirm no broken refs remain
grep -n "agents/hierarchy.md\|agents/delegation-rules.md" CLAUDE.md
# Should return nothing
# Confirm new location is mentioned
grep -n "\.claude/agents" CLAUDE.md
5. Commit, push, and PR
bash
git add CLAUDE.md
git commit -m "fix(docs): Remove broken <dir>/ references from CLAUDE.md
- Remove broken links to <dir>/file1 and <dir>/file2
- Update narrative to reference current location
- Remove <dir>/ from Repository Architecture tree
Closes #<issue>"
git push -u origin <branch>
gh pr create --title "fix(docs): Remove broken <dir>/ references" \
--body "Closes #<issue>"
gh pr merge --auto --squash <pr-number>

Failed Attempts

Skill tool was denied: Attempted to use commit-commands:commit-push-pr skill but it was denied by the permission mode (don't ask mode). Fell back to direct Bash git commands — this works fine and is the correct fallback.

No other failures: The task was straightforward. Pre-commit hooks passed on first attempt because only Markdown was modified (skipped Python linters).

Results & Parameters

Actual changes made to CLAUDE.md
LocationBeforeAfter
Quick Links > Agent System3 bullets (including broken links)1 bullet (Agent Configurations only)
Agent Hierarchy sectionSee [agents/hierarchy.md](agents/hierarchy.md)...Agent hierarchy is defined in .claude/agents/ and tests/claude-code/shared/agents/:
Documentation Rules**Team guides**: /agents/ (quick start, hierarchy, templates)**Agent guides**: /.claude/agents/ (configurations, roles, capabilities)
Architecture tree5 lines for agents/ directoryRemoved entirely
Key insight: architecture tree already had scylla/discovery/

The issue mentioned adding scylla/discovery/ to the architecture tree, but it was already present (line 401 before edits). Always verify deliverables against actual file state before acting.

Pre-commit hook behavior

For Markdown-only changes, these hooks are skipped (no-files-to-check):

  • Ruff Format Python
  • Ruff Check Python
  • Mypy Type Check Python
  • Check Type Alias Shadowing
  • YAML Lint
  • ShellCheck

These hooks pass:

  • Markdown Lint
  • Trim Trailing Whitespace
  • Fix End of Files
  • Check for Large Files
  • Fix Mixed Line Endings

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.

Extension points

  • hookPre/post lifecycle hooks

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/homericintelligence/scylla/fix-broken-doc-references/badge)](https://verified-skill.com/skills/homericintelligence/scylla/fix-broken-doc-references)

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