.claude-plugin/skills/fix-broken-doc-references/SKILL.md
# Skill: Fix Broken Documentation References ## Overview | Field | Value | |-------|-------| | Date | 2026-02-19 | | Issue | #752 | | PR | #811 | | Category | documentation | | Objective | Remove broken `agents/` directory references from CLAUDE.md after directory was deleted in commit `72ab40d` | | Outcome | Success - 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
npx skillsauth add homericintelligence/projectscylla .claude-plugin/skills/fix-broken-doc-referencesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Field | Value |
|-------|-------|
| Date | 2026-02-19 |
| Issue | #752 |
| PR | #811 |
| Category | documentation |
| Objective | Remove broken agents/ directory references from CLAUDE.md after directory was deleted in commit 72ab40d |
| Outcome | Success - all broken references removed, PR created and auto-merge enabled |
Trigger this skill when:
grep finds dead links to paths that no longer exist# 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
# 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
Four categories of fixes for the agents/ removal case:
See [file](path) with plain text describing current locationtext code block# 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
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 --rebase <pr-number>
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).
| Location | Before | After |
|----------|--------|-------|
| Quick Links > Agent System | 3 bullets (including broken links) | 1 bullet (Agent Configurations only) |
| Agent Hierarchy section | See [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 tree | 5 lines for agents/ directory | Removed entirely |
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.
For Markdown-only changes, these hooks are skipped (no-files-to-check):
These hooks pass:
development
# Skill: docs-status-fix ## Overview | Field | Value | |------------|----------------------------------------------------| | Date | 2026-02-19 | | Category | documentation | | Objective | Fix stale "Current Status" in CLAUDE.md | | Issue | #753 | | PR | #810
tools
# Skill: preflight-closing-issues-fix ## Overview | Field | Value | |-------|-------| | Date | 2026-02-21 | | Issue | #802 | | PR | #912 | | Category | tooling | | Objective | Fix `preflight_check.sh` Check 3 false positives caused by free-text PR search matching issue numbers in unrelated PR titles/bodies | | Outcome | Success — 6 bash tests pass, all pre-commit hooks green, PR created with auto-merge | ## When to Use Trigger this skill when: - A preflight/guard script uses `gh pr list --s
tools
# Preflight Check Skill Propagation ## Overview | Field | Value | |-------|-------| | Date | 2026-02-21 | | Issue | #803 | | Objective | Add preflight check to `worktree-create` skill so developers bypassing `gh-implement-issue` still run the 6-check safety gate | | Outcome | Success — PR #917 created, auto-merge enabled | | Files Changed | `tests/claude-code/shared/skills/worktree/worktree-create/SKILL.md` | ## When to Use Use this pattern when: - A safety/quality gate exists in one entry-
tools
# Orphan Config Detection ## Overview | Field | Value | |------------|-----------------------------------------------------------------| | Date | 2026-02-20 | | Issue | #777 | | PR | #824 | | Objective | Warn when a `config/models/*.yaml` file