find-code

Locate ArduPilot code implementations using Grep and Glob tools.

17|6|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/fossuav/aap --skill find-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-code
Source: https://github.com/fossuav/aap/tree/main/claude/skills/find-code
Command: npx skills add https://github.com/fossuav/aap --skill find-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly find the exact location of code implementations within the ArduPilot codebase, saving time on navigation and code comprehension.

Core Features & Use Cases

  • Feature Location: Pinpoint where specific features, subsystems, or classes are defined.
  • Message Handler Identification: Find the code responsible for handling particular MAVLink messages.
  • Parameter Definition Search: Quickly locate parameter definitions and their associated code.
  • Use Case: A developer needs to understand how the RTL flight mode is implemented. They can use this skill to find the relevant C++ files and class definitions.

Quick Start

Use the find-code skill to locate the implementation of the 'RTL' flight mode.

Frequently Asked Questions about find-code

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

FAQPage Schema
How do I find the implementation of a specific flight mode in the ArduPilot codebase?

To find a flight mode implementation in the ArduPilot codebase, utilize code navigation tools that apply Grep and Glob to search C++ files based on naming conventions and class inheritance. This locates the exact files and class definitions for features like RTL efficiently.

What is the best way to locate MAVLink message handlers in ArduPilot source code?

Locating MAVLink message handlers in ArduPilot source code is done by searching for specific naming conventions using Grep. This identifies the exact C++ files and functions responsible for processing particular MAVLink messages within the system architecture.

How do I search for parameter definitions in the ArduPilot codebase?

Searching for parameter definitions in the ArduPilot codebase involves using Glob and Grep tools to pinpoint where specific parameters are declared. This quickly reveals the associated code and underlying implementation logic for configuration variables.

Can I use Grep and Glob to navigate ArduPilot scheduler tasks?

Yes, you can use Grep and Glob to navigate ArduPilot scheduler tasks by searching for specific class inheritance patterns and naming conventions. This approach precisely locates the task scheduling logic within the C++ source files.

Does this code search approach work for finding subsystem features across ArduPilot categories?

Yes, this code search approach works effectively for finding subsystem features across ArduPilot categories. It leverages Grep and Glob to pinpoint exact code implementations for features, parameters, and flight modes by matching specific naming conventions.

Why use naming conventions and class inheritance for ArduPilot code navigation?

Using naming conventions and class inheritance for ArduPilot code navigation ensures precise matches when running Grep and Glob searches. This method accurately locates specific code implementations across categories like flight modes and MAVLink handlers without manual file browsing.