Agent skill
plugin-navigator
Navigate between Jekyll plugins and their tests. Use when working on _plugins/ or _tests/, finding untested code, or reviewing test coverage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/plugin-navigator
SKILL.md
Plugin Navigator
Tools for navigating between plugins (_plugins/src/) and tests (_tests/src/).
Scripts
Run from project root:
# Find test(s) for a plugin
.claude/skills/plugin-navigator/scripts/test-for-plugin _plugins/src/infrastructure/url_utils.rb
# Find plugin for a test
.claude/skills/plugin-navigator/scripts/plugin-for-test _tests/src/infrastructure/test_url_utils.rb
# Coverage summary
.claude/skills/plugin-navigator/scripts/coverage-stats
# List untested plugins
.claude/skills/plugin-navigator/scripts/coverage-stats --list-missing
.claude/skills/plugin-navigator/scripts/coverage-stats --list-missing --by-domain
# List orphan tests (no matching plugin)
.claude/skills/plugin-navigator/scripts/orphan-tests
Naming Convention
- Plugin:
_plugins/src/{path}/{name}.rb - Test:
_tests/src/{path}/test_{name}.rbor_tests/src/{path}/test_{name}_*.rb
Matching is precise: test_user.rb and test_user_integration.rb match user.rb, but test_user_profile.rb does NOT match user.rb (it matches user_profile.rb).
Architecture
Four domains under _plugins/src/:
| Domain | Purpose |
|---|---|
infrastructure/ |
Low-level utilities (logging, URL, text processing, link cache) |
content/ |
Domain logic (books, posts, authors, series, short stories) |
seo/ |
JSON-LD generators, front matter validation |
ui/ |
Generic components (cards, ratings, citations) |
Test Review Checklist
When reviewing test comprehensiveness:
- Public API coverage - Are all public methods tested?
- Edge cases - nil inputs, empty collections, missing data
- Error paths - Invalid input, missing dependencies
- Boundary conditions - First/last items, single vs multiple
- Integration - Does it work with real Jekyll site data?
Known Quirks
- Some tests in
lists/test renderers inlists/renderers/(shows as "orphan" but isn't) test_helper.rbis excluded from orphan detection
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?