π Sync Rules & Skills
Run /sync to sync custom rules and skills with your codebase. Run it once initially, then anytime again:
```bash
pilot
> /sync
```
π Spec-Driven Mode
Best for complex features, refactoring, or when you want to review a plan before implementation:
```bash
pilot
> /spec "Add user authentication with OAuth and JWT tokens"
```
How it works:
```
π Plan β β
Approve β π¨ Implement β π Verify
β β
βββ π Loop ββββ
```
- π Plan β Explores codebase, asks clarifying questions, writes spec to
docs/plans/ - β
Approve β You review and edit the plan, then approve
- π¨ Implement β Executes each task with TDD and quality hooks
- π Verify β Runs tests and checks; loops back if issues found
π¬ Quick Mode
Just chat. No plan file, no approval gate. All quality hooks and TDD enforcement still apply.
Best for bug fixes, small improvements, and exploratory work:
```bash
pilot
> Fix the null pointer bug in user.py
```
π§ Online Learning
Capture non-obvious discoveries as reusable skills. Automatically prompted by the context monitor or manually:
```bash
pilot
> /learn "Extract the debugging workflow we used for the race condition"
```
π Rules, Commands & Skills
Create your own rules, commands or skills in your project's .claude/ folder:
| Type | Loaded | Best for |
| ------------ | --------------------------------- | --------------------------------------- |
| Rules | Every session (always in context) | Guidelines Claude should always follow |
| Commands | On demand via /command | Specific workflows or multi-step tasks |
| Skills | Dynamically when relevant | Specialized knowledge for specific tasks |
Claude Pilot automatically installs best-practice rules, commands, and coding standard skills.
π₯ Team Vault
Share rules, commands, and skills across your team via a private Git repository:
```bash
pilot
> /sync # Configure team vault and sync assets
```
- Private - Use any Git repo (GitHub, GitLab, Bitbucket - public or private)
- Pull - Install shared assets from your team's vault
- Push - Share your custom rules and skills with teammates
- Version - Assets are versioned automatically (v1, v2, v3...)
π Custom MCP Servers
Add your own MCP servers in two locations:
| Config File | How It Works | Best For |
|-------------|--------------|----------|
| .mcp.json | Instructions load into context when triggered | Lightweight servers (few tools) |
| mcp_servers.json | Called via mcp-cli; instructions never enter context | Heavy servers (many tools) |
Run /sync after adding servers to generate documentation.
---