skills/fleet-learning/SKILL.md
# Skill: fleet-learning **Purpose:** Log fleet generation failures and fixes to `fleet_learnings.jsonl` using `prompt_builder.log_learning()` instead of silently patching and moving on. --- ## Rules ### 1. WHEN After running a fleet generation script (via `llm_router.ask`) **and** then manually fixing the output. ### 2. DO Call `prompt_builder.log_learning(task, provider, failure, fix)` **before** moving on to the next step. ### 3. WHERE Log file location: ``` C:/Users/Sea
npx skillsauth add rudi193-cmd/aionic-claude-skills skills/fleet-learningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Purpose: Log fleet generation failures and fixes to fleet_learnings.jsonl using prompt_builder.log_learning() instead of silently patching and moving on.
After running a fleet generation script (via llm_router.ask) and then manually fixing the output.
Call prompt_builder.log_learning(task, provider, failure, fix) before moving on to the next step.
Log file location:
C:/Users/Sean/Documents/GitHub/aios-minimal/prompts/fleet_learnings.jsonl
Import prompt_builder by adding aios-minimal to sys.path first:
import sys
sys.path.insert(0, "C:/Users/Sean/Documents/GitHub/aios-minimal")
from prompts import prompt_builder
If the fix reveals a new constraint, update the prompt template in prompts/python_module.txt.
import sys
sys.path.insert(0, "C:/Users/Sean/Documents/GitHub/aios-minimal")
from prompts import prompt_builder
task = "Generate fleet for async HTTP client"
provider = "openai/gpt-4"
failure = "Output missing timeout handling"
fix = "Added timeout parameter to request wrapper"
prompt_builder.log_learning(task, provider, failure, fix)
Each unlogged fix is lost knowledge. When failures go unrecorded, the same workarounds are reinvented repeatedly, wasting tokens on repetitive troubleshooting. The fleet_learnings.jsonl log feeds future prompts with hard-earned lessons, enabling Claude to avoid known pitfalls and generate more robust fleet code from the start. Logging transforms one-off patches into reusable intelligence.
development
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
tools
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
tools
System status — atoms, edges, ratio, boot health, unpushed work, open threads
tools
Manual session startup — when boot hooks are degraded, run the bridge-open sequence manually