Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .claude/skills/controller-cli-development/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: controller-cli-development
description: Contributor workflow for cartridge-gg/controller-cli. Use when implementing or reviewing CLI command behavior, output contracts, install/release scripts, and Rust quality checks in this repository.
---

# Controller CLI Development

Use this skill to build and validate changes in `cartridge-gg/controller-cli`.

## Core Workflow

1. Build and run locally:
- `cargo build`
- `cargo run -- <command>`
2. Run standard validation gates:
- `cargo fmt`
- `cargo clippy -- -D warnings`
- `cargo test`
3. Use consolidated Make targets when preferred:
- `make build`
- `make test`
- `make lint`
- `make check`

## Behavioral Validation

- Verify JSON output compatibility when changing CLI responses (`--json`).
- Re-test register/execute/status flows when session/auth code is touched.
- Keep `LLM_USAGE.md` and command examples aligned with behavior changes.

## PR Checklist

- Document command-level behavior changes and migration notes.
- Include command outputs or structured examples for modified flags.
- Report the exact validation commands that passed.
4 changes: 4 additions & 0 deletions .claude/skills/controller-cli-development/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
interface:
display_name: "Controller CLI Development"
short_description: "Contributor workflow for cartridge-gg/controller-cli"
default_prompt: "Use $controller-cli-development to implement and validate changes in controller-cli."