Skip to content
Back to skills

Fleet Init

ASecurity

Scan a repos directory and generate (or update) spring-fleet.config.json for the fleet.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 29, 2026
developmentpythonbashspringgit

Works with

  • claude code

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add talayash/spring-fleet --skill fleet-init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fleet Init?

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

Security grade badge for Fleet Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/talayash-fleet-init/badge)](https://www.skillsdirectory.com/skills/talayash-fleet-init)

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-init
description: Scan a repos directory and generate (or update) spring-fleet.config.json for the fleet.
argument-hint: [reposRoot]
allowed-tools: Bash, Read, Write, Edit, Glob
---

Initialize or refresh the fleet config.

Input: `$ARGUMENTS`: optional repos root path. If omitted, ask the user (or use
an existing config's `reposRoot`).

Steps:
1. Determine the repos root. Confirm it exists.
2. Run the scanner to produce a draft:
   ```
   python "${CLAUDE_PLUGIN_ROOT}/scripts/scan_repos.py" --root <reposRoot>
   ```
   It detects build tool, services vs shared libs, ports, and context paths.
3. The draft pre-fills `traceKeys` with the modern OTel-first default
   (`trace_id`, `span_id`, `sessionId`, `requestId`) and seeds `topology`
   from any Backstage `catalog-info.yaml` files it finds at repo roots
   (each `dependsOn: component:*` becomes a `[from, to]` edge; components
   with no inbound dependency become entries). Ask the user to confirm:
   - **traceKeys**: which MDC keys actually identify a request/session in
     their fleet (drop entries that are never emitted).
   - **topology**: confirm or amend the Backstage-derived entries and edges;
     for fleets without Backstage, fill these in manually.
   Pre-fill from any existing `spring-fleet.config.json` if present.
4. Validate the result against `${CLAUDE_PLUGIN_ROOT}/spring-fleet.config.schema.json`
   (required fields, types).
5. Write `spring-fleet.config.json` to the user's project root. Remind them it is
   `.gitignore`d and must never be committed.
6. If logs are console-only or scattered, suggest the **spring-fleet-logging-setup**
   skill so `/debug` has stable per-service logs.

## Outside Claude Code

- `${CLAUDE_PLUGIN_ROOT}` is the spring-fleet plugin root. Claude Code fills it in; in Codex it is the folder two directories above this SKILL.md.
- `$ARGUMENTS` is the text the user supplied with the request.

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.

Comments

Loading comments…

Newsletter

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