github-monolith-navigator

Locate controllers, models, tests, and routes across a Rails monolith using package.yml metadata.

Updated Aug 8, 2021
One-click install
npx skills add https://github.com/luanzeba/dotfiles --skill github-monolith-navigator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-monolith-navigator
Source: https://github.com/luanzeba/dotfiles/tree/main/skills/github-monolith-navigator
Command: npx skills add https://github.com/luanzeba/dotfiles --skill github-monolith-navigator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly locate code within a massive Ruby on Rails monolith (140+ packages under /packages), reducing the time spent exploring where functionality lives.

Core Features & Use Cases

  • Package-first navigation: browse /packages/ to identify the module responsible for a feature.
  • Code-location queries: find controllers, models, tests, or routes across the monolith using targeted searches and package.yml metadata.
  • Context-aware exploration: map dependencies between packages and locate where a symbol is implemented or tested, enabling fast code comprehension.

Quick Start

Ask the assistant to locate where a class or file is implemented, or to identify the package responsible for a feature.

Frequently Asked Questions about github-monolith-navigator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find which package handles a specific feature in a large Rails monolith?

You locate code in a Rails monolith by browsing the /packages/ directory and utilizing package.yml metadata to pinpoint the module responsible for the target feature, reducing exploration time across 140+ packages.

Can I search for specific controllers, models, or routes across a massive Ruby on Rails codebase?

Yes, you can locate controllers, models, tests, or routes across the codebase using targeted semantic searches. It applies code discovery tasks spanning /workspaces/github and the packages/ directory to identify specific file definitions.

What is the best way to map dependencies between packages in a monolithic repository?

Mapping dependencies between packages in a monolithic repository is achieved by leveraging package.yml metadata and direct file references. This context-aware exploration enables fast code comprehension by showing where a symbol is implemented or tested.

Does this code navigation approach work for identifying where a class is implemented and tested?

Yes, this code navigation approach works for identifying where a class is implemented and tested. It satisfies semantic search and developer guidance by mapping dependencies and locating symbols across the monolith using package.yml metadata.

How do I locate a specific file definition when exploring a monolith with 140+ packages?

To locate a specific file definition in a monolith with 140+ packages, ask the assistant to locate where the file is implemented. It leverages package.yml metadata and direct file references to answer where a file defines a specific element.