feat(skills): bundle four agent skills + install tooling (0.6.1)#23
Merged
Conversation
Add Agent Skills (Anthropic SKILL.md spec) for DevHelm, bundled in
this CLI and installable into Cursor / Claude Code / Codex / Windsurf
/ Gemini / Claude Desktop via `devhelm skills install`.
Four intent-split skills:
- devhelm-configure — create/manage monitors, alert channels,
notification policies, resource groups,
dependencies, secrets, tags, webhooks,
environments. Auto-detects MaC mode
(devhelm.yml / *.tf) and routes accordingly.
- devhelm-investigate — read-only triage: why is X failing, active
incidents, recent check results, forensic
traces, audit log, uptime queries. Prefers
MCP where available; CLI fallback.
- devhelm-communicate — status pages: first-page onboarding flow,
components + groups, public incident updates,
subscribers, custom domains.
- devhelm-manage — workspace admin: API keys (incl. permanent
default), environments, workspaces,
entitlements. Safety-rail heavy.
Each skill ships hand-written references (opinionated prose per
resource) plus auto-generated field tables produced from the vendored
OpenAPI spec by scripts/generate-skill-references.mjs. The generator
wires into `npm run build` alongside zodgen/descgen; an openapi-drift
test in test/skills/ keeps generated files in lockstep with the spec.
New subcommands (src/commands/skills/):
- `devhelm skills install` — copies skills into per-host dirs,
idempotent, auto-detects installed
agents if --target is omitted.
- `devhelm skills bundle` — zips skills for Claude Desktop's
Settings → Skills → Import flow.
- `devhelm skills schema` — prints generated or hand-written
reference for a resource; useful for
agents on older CLI who want fresh spec.
- `devhelm skills doctor` — verifies bundle presence, auth, and
host install state.
Also ships `skills/` in the npm tarball via the files field. Version
bumped to 0.6.1 (additive, no breaking changes).
Tests: 23 new tests across frontmatter validation, reference
integrity (every @references cite resolves), OpenAPI drift, and
install smoke-tests. Full suite still 893/893 green.
Design: cowork/design/045-ai-skills-onboarding.md (in mono).
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
Implements the CLI side of cowork/design/045-ai-skills-onboarding.md — Anthropic-spec Agent Skills bundled inside the DevHelm CLI, installable into any supported AI host (Cursor, Claude Code, Codex, Windsurf, Gemini, Claude Desktop) via `devhelm skills install`.
What lands in this PR
Tests
User journey this unlocks
Post-signup in mono, the dashboard's `SetupCompleteScreen` will shortly gain an AI-setup panel that runs:
```bash
npm install -g devhelm
devhelm auth login --token=
devhelm skills install # auto-detects installed hosts
```
…after which the user can paste into Cursor:
and the `devhelm-configure` skill drives the rest. Targets the design doc's <60s signup → first green monitor.
Design decisions worth flagging for review
Test plan
Made with Cursor