Skip to content
Back to skills

Fleet Feature

BSecurity

Builds one feature of the fleet TUI/CLI in this repo end to end - spec, brief, builder subagent, review, checks, docs, local commit, live rollout. Use when asked to "implement <X>", "build <X>", "add <X> to fleet", or to do any item from the DESIGN.md roadmap (§18), e.g. "implement fleet adopt".

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsrustgogitapi

Works with

  • cli
  • api
  • mcp

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add sturlabragason/fleet --skill fleet-feature --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fleet Feature?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fleet Feature
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sturlabragason-fleet-feature/badge)](https://www.skillsdirectory.com/skills/sturlabragason-fleet-feature)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fleet-feature
description: Builds one feature of the fleet TUI/CLI in this repo end to end - spec, brief, builder subagent, review, checks, docs, local commit, live rollout. Use when asked to "implement <X>", "build <X>", "add <X> to fleet", or to do any item from the DESIGN.md roadmap (§18), e.g. "implement fleet adopt".
---

# fleet-feature

You are the api-service. Subagents write the code; you keep the brief, the checks and the user in the loop. Keep chat replies short.

## 1. Find the spec (no code yet)
- Look the feature up in `DESIGN.md` (roadmap §18, requirements §0, CLI §4, keys §5, ADRs §14; §15 Extensions when it calls another tool or adds an optional feature). Find ADRs in `docs/adr-index.md`, read one with `fleet design ADR-N`; use `grep -n`; do not read the whole file.
- If it is missing or vague, write the spec into DESIGN.md first (a short subsection: behaviour, CLI/keys/MCP surface, out of scope). Ask the user only if two readings lead to different work; otherwise state your reading in one line and go.

## 2. Write the brief
Copy `brief-template.md` (next to this file) to `.work/briefs/<slug>.md` and fill it in. The done-check is mandatory and machine-checkable:
`make build && go vet ./<changed pkgs>/...` (exit 0) plus any feature-specific command; the tests and `-race` of the packages the change reaches run in CI on the pushed `fleet/<name>` branch (ADR-69, ADR-149), the full suite on main.
`make test` always exits 0 by design, so never use it as the gate.
For a feature that adds an ADR or touches more than one package, run the `review-firewall` skill on the brief (its "Plans" section) before the builder, write the result to `.work/briefs/<slug>.review.md` and fold the answers into the brief. Small features skip it.

## 3. Build
- Dispatch the **fleet-builder** agent with the brief path and full context (it starts fresh). Background mode if you have other work; otherwise sync.
- TUI, keys, layout or anything the user looks at: also dispatch **fleet-designer** on the brief *before* the builder, and fold its answer into the brief.
- Independent slices may run in parallel only in separate worktrees (`git worktree add ../fleet.wt/<slug> -b slice/<slug>`); the builder merges nothing.

## 4. Review and verify
- Dispatch **fleet-reviewer** on the uncommitted diff with the brief path. HOLD findings go back to the same builder (write_agent), at most 2 rounds; then stop and report the root cause.
- Run the done-check yourself. Do not trust a "tests pass" claim you didn't see.

## 5. Docs and commit
- DESIGN.md: mark the item built (§18 table or §9), record any new decision as an ADR in §14 and run `make adr-index`.
- `CHANGELOG.md`: one line for the user-facing change under today's date, newest first (what the user can do now, ADR in brackets). It is embedded; `Alt-g` shows it.
- `AGENTS.md`: only if a command or rule changed. Keep it short.
- `fleet --help` usage text and `internal/mcp/instructions.md` (admiral rules) if the CLI or MCP surface changed.
- Commit locally with a clear message and an `Assisted-by:` trailer (see AGENTS.md; never an AI `Co-authored-by:`). Push only the `fleet/<name>` branch, for CI; never main.

## 6. Roll out to the live fleet
The user runs real agents on tmux socket `fleet`. Never kill that server.
- `make install` keeps `~/.local/bin/fleet` pointing at `bin/fleet`, so new CLI commands are live after `make build`.
- Overview TUI changed: `tmux -L fleet respawn-pane -k -t <ov pane> fleet ui` (find it with `tmux -L fleet list-panes -a -F '#{pane_id} #{@role}'`). Safe; it holds no state.
- MCP server or admiral flags changed: the admiral must restart, which loses its chat. **Ask first.**
- tmux key bindings changed: `fleet up` re-applies them, or run the bind commands against `-L fleet`.

## 7. Report
Three to six lines: what works now, how to try it (one command), commit hash, anything the user must do (e.g. restart the admiral). No process narration.

## Rules
- Real claude/copilot/agy/vibe agents are never spawned by tests or by you while checking. Use `fleet spawn --fake` and `fleet-test-*` sockets.
- No pkill/killall. No `rm -rf $VAR`.
- One feature per run. If the request bundles several, do them in order and commit each.

Files in this skill

  • SKILL.md3.7 KB
  • brief-template.md738 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.