wpilib-best-practices

WPILib and FRC robot programming best practices, design patterns, and code guidance for Java. Use when writing, reviewing, or explaining WPILib robot code—command-based project structure, subsystems, autonomous routines, RobotContainer layout, command definition patterns (inline, factory, subclass), or Constants organization.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wpilib-best-practices" with this command: npx skills add yeti-robotics/robot-skills/yeti-robotics-robot-skills-wpilib-best-practices

WPILib Best Practices

WPILib best practices span multiple domains. Load only the reference(s) relevant to the current task.

References

DomainReferenceWhen to load
Command-based architecturereferences/command-based.mdProject structure, Robot/RobotContainer layout, command definition patterns (inline vs factory vs subclass), autonomous routines, subsystem organization, Constants class
Command Schedulerreferences/command-scheduler.mdHow the scheduler runs, per-iteration execution order, default commands, scheduling conflicts, event callbacks, disable()/cancel()
Command Compositionsreferences/command-compositions.mdCombining commands with sequence, parallel, race, deadline, repeatedly; end condition and end behavior decorators; ConditionalCommand; ProxyCommand

Quick Navigation

  • "How do I structure my command-based project?"command-based.md (Project Structure)
  • "Should I use a factory method or a Command subclass?"command-based.md (Pattern Selection)
  • "Where do subsystems and button bindings go?"command-based.md (RobotContainer)
  • "How do I handle multi-subsystem commands without circular deps?"command-based.md (Static Command Factories)
  • "How does the scheduler decide what runs and when?"command-scheduler.md (Per-Iteration Run Sequence)
  • "What happens when two commands need the same subsystem?"command-scheduler.md (Scheduling a Command)
  • "How do I run commands in sequence or parallel?"command-compositions.md (Composition Types)
  • "How do I add a timeout or stop-when condition to a command?"command-compositions.md (End Condition Decorators)
  • "How do I run different commands based on a condition?"command-compositions.md (Conditional Commands)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

advantagekit

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

frc-vision

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

Onchain Analyzer

Analyze wallet addresses and on-chain activity — transaction history, token holdings, DeFi positions, and trading patterns across EVM chains and Solana. Use...

Registry SourceRecently Updated
Web3

Idiom Dictionary

成语词典。成语查询、典故故事、成语接龙、成语猜谜、造句示例、分类浏览。Chinese idiom dictionary with stories, chain game, quiz. 成语、典故、国学。

Registry SourceRecently Updated
1521Profile unavailable