Automated summary
This skill helps locate implementations of features, modes, commands, and messages in the ArduPilot codebase.
Strengths
- Structured search strategies by target type (flight modes, MAVLink messages, parameters, etc.)
- Leverages built-in Grep and Glob tools for efficient searching
- Covers a wide range of code aspects: modes, messages, subsystems, parameters, scheduled tasks
Limitations
- Specific to the ArduPilot codebase, not applicable to other projects
- Requires some familiarity with ArduPilot's code organization
- May miss very new or non-conventional features
Use when you need to find where a specific feature is implemented in ArduPilot.
Avoid for general code search in other projects.
Security analysis
SafeThe skill only suggests using built-in Read, Grep, and Glob tools to locate code patterns. It does not execute any code, modify files, or access external resources, and it explicitly warns against using shell commands. No destructive or exfiltrating actions are possible.
No concerns found
How this analysis is madeExamples
Find where the 'Guided' mode is implemented in ArduCopter.Where is the MAVLink message LED_CONTROL handled?Find the implementation of the 'RTL' mode in ArduPlane.name: find-code description: Find where features, modes, commands, or messages are implemented in the ArduPilot codebase. Use when the user asks where something is defined, implemented, or handled. argument-hint: "<feature, mode, command, or message>" allowed-tools: Read, Grep, Glob
Find ArduPilot Code
Find the implementation of $ARGUMENTS in the ArduPilot codebase.
IMPORTANT: Use the built-in Grep and Glob tools, NOT shell grep or find commands.
Search strategies by type
Flight modes
Flight modes are classes in vehicle directories:
Glob: ArduCopter/mode_*.cpp
Glob: ArduPlane/mode_*.cpp
Glob: Rover/mode_*.cpp
Mode classes inherit from Mode and are defined in mode.h:
Grep for: class Mode.*$ARGUMENTS
Mode enum values:
Grep for: $ARGUMENTS in ArduCopter/mode.h or ArduPlane/mode.h
MAVLink message handlers
Incoming messages dispatched in GCS_MAVLINK:
Grep for: case MAVLINK_MSG_ID_$ARGUMENTS
Grep for: handle_message_$ARGUMENTS
Features / subsystems
Library implementations in libraries/:
Grep for: class.*$ARGUMENTS in libraries/**/*.h
Singleton access:
Grep for: AP::$ARGUMENTS
Grep for: $ARGUMENTS::get_singleton
Vehicle-specific features
Check the vehicle's main header and cpp files:
Grep for: $ARGUMENTS in ArduCopter/Copter.h
Grep for: $ARGUMENTS in ArduCopter/*.cpp
Parameters
Parameter definitions (use /find-param for detailed search):
Grep for: @Param:.*$ARGUMENTS
Grep for: AP_GROUPINFO.*"$ARGUMENTS"
Scheduler tasks
Tasks registered in vehicle scheduler:
Grep for: SCHED_TASK.*$ARGUMENTS
Grep for: $ARGUMENTS in ArduCopter/Copter.cpp (scheduler_tasks array)
RC auxiliary functions
Auxiliary switch functions:
Grep for: $ARGUMENTS in libraries/RC_Channel/RC_Channel.h
Grep for: case.*$ARGUMENTS in libraries/RC_Channel/RC_Channel.cpp
Log messages
Log message definitions:
Grep for: $ARGUMENTS in libraries/AP_Logger/LogStructure.h
Grep for: Write_$ARGUMENTS in libraries/**/*.cpp
Build options / feature flags
Compile-time enables:
Grep for: $ARGUMENTS in Tools/scripts/build_options.py
Grep for: #if.*$ARGUMENTS in libraries/**/*.h
Search tips
- Start broad with Grep across the whole repo, then narrow down
- Use Glob to find files by naming convention first, then Read specific files
- Check
.hfiles for declarations,.cppfor implementations - ArduPilot uses
_enabledsuffix for feature guards:AP_FEATURE_ENABLED - Singleton classes: look for
_singletonmember andget_singleton()method - Frontend/backend split: frontend in
AP_Foo.h, backends inAP_Foo_Backend*.h
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/find-ardupilot-code-mmlj2oev' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/find-ardupilot-code-mmlj2oev/download' --output '.skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md.part' && mv '.skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md.part' '.skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Grep, Glob
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md' && test -s '.skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/find-code' && cp -R '.skill-downloads/find-ardupilot-code-mmlj2oev' '.claude/skills/find-code'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/find-ardupilot-code-mmlj2oev'openskills read 'find-ardupilot-code-mmlj2oev'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/find-ardupilot-code-mmlj2oev/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.