Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRC Claude Code Config

Shared Claude Code configuration for FRC Team 1868 Space Cookies. Includes rules, agents, commands, contexts, and skills tailored for FRC robot development with WPILib, CTRE Phoenix 6, and command-based architecture.

What's Included

rules/          # Global rules (coding style, git workflow, security, FRC safety, etc.)
agents/         # Custom agent definitions (FRC reviewers, architects, safety auditors, etc.)
commands/       # Slash commands (/frc-review, /frc-premerge, /frc-safety-audit, etc.)
contexts/       # Reusable context files (2026 robot schematic, vision coprocessor, Foxglove)
skills/         # Learned skills (CTRE Phoenix 6, command-based patterns, vision)
settings.json   # Plugin config (everything-claude-code, clangd-lsp)
install.sh      # macOS/Linux install script
install.ps1     # Windows install script

Setup on a New Machine

Prerequisites

  • Claude Code installed
  • Git installed and authenticated with GitHub

macOS / Linux

# 1. Clone the repo
git clone https://github.com/Feramirr/frc-claude-config.git ~/.claude/dotfiles-repo

# 2. Run the install script
cd ~/.claude/dotfiles-repo
chmod +x install.sh
./install.sh

# 3. Install plugins (open Claude Code and run these commands inside the session)
/plugin marketplace add affaan-m/everything-claude-code
/plugin install everything-claude-code@everything-claude-code
/plugin install clangd-lsp

Windows

# 1. Clone the repo
git clone https://github.com/Feramirr/frc-claude-config.git "$env:USERPROFILE\.claude\dotfiles-repo"

# 2. Run the install script
cd "$env:USERPROFILE\.claude\dotfiles-repo"
.\install.ps1

# 3. Install plugins (open Claude Code and run these commands inside the session)
/plugin marketplace add affaan-m/everything-claude-code
/plugin install everything-claude-code@everything-claude-code
/plugin install clangd-lsp

Updating After Changes

If rules, agents, or skills are updated in the repo, pull and re-install:

macOS / Linux

cd ~/.claude/dotfiles-repo
git pull
./install.sh

Windows

cd "$env:USERPROFILE\.claude\dotfiles-repo"
git pull
.\install.ps1

Key Features

FRC-Specific Agents

  • frc-code-reviewer — Reviews robot code for WPILib best practices, command-based patterns
  • frc-safety-reviewer — Audits motor protection, mechanism limits, CAN bus health, brownout handling
  • frc-subsystem-architect — Designs subsystem architecture following AdvantageKit IO patterns
  • frc-vision-reviewer — Reviews PhotonVision, AprilTag, and coprocessor integration code
  • frc-build-resolver — Resolves GradleRIO, vendor dependency, and WPILib build errors

FRC Slash Commands

  • /frc-review — Full code review of current changes
  • /frc-premerge <branch> — Pre-merge analysis before merging a feature branch
  • /frc-safety-audit — Safety audit of the entire robot codebase
  • /frc-subsystem-review — Focused subsystem architecture review

FRC Skills

  • CTRE Phoenix 6 — TalonFX configuration, status signals, motion magic patterns
  • Command-Based Architecture — Subsystem design, command factories, triggers
  • Vision Processing — PhotonVision, AprilTag pose estimation, Orin/Pi coprocessor patterns

General Development Tools

  • Code reviewer, security reviewer, architect, TDD guide, build error resolver
  • Coding style, testing, security, and git workflow rules
  • Everything Claude Code plugin integration

About

Shared Claude Code config for FRC Team 1868 — rules, agents, commands, and skills for robot development

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages