Add Claude Code skills for profile and fleet generation#15
Merged
Conversation
Replace old /generate-profile slash command with proper SKILL.md skills that bundle the full schema as reference context. New fleet skill enables natural-language generation of multi-host fleet profiles with bad actors.
Both skills now run `uv sync` + `uv run pmlogsynth` to validate AND generate the actual PCP archives. Shared bootstrap reference extracted to references/running-pmlogsynth.md for both skills.
42805f0 to
5b0b091
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/generate-profileslash command with a proper SKILL.md skill that bundles the full profile schema as reference contextgenerate-fleet-profileskill for natural-language generation of multi-host fleet profiles with bad actors, jitter, and workload referencesWhat changed
.claude/commands/generate-profile.md(old slash-command format).claude/skills/generate-profile/— single-host workload profile generation with bundled schema reference.claude/skills/generate-fleet-profile/— fleet profile generation with fleet schema + workload schema referencesREADME.mdsection 6 — documents both skills with example natural-language promptsEval results
Both skills were tested against 3 scenarios each (with-skill vs without-skill baseline):
The fleet skill shows the biggest advantage on complex scenarios (2.2x faster for a 50-host cluster) because it saves agents from reverse-engineering the fleet format from source code.
Test plan
./pre-commit.shpasses (503 unit/integration + 7 E2E tests)pmlogsynth --validatepmlogsynth fleet --validategenerate-profileskill with a natural-language promptgenerate-fleet-profileskill with a fleet description🤖 Generated with Claude Code