Skip to content

chore: fix skill discovery warnings + document skills.sh install - #37

Merged
facundofarias merged 2 commits into
mainfrom
chore/skill-discovery-warnings
Jul 24, 2026
Merged

chore: fix skill discovery warnings + document skills.sh install#37
facundofarias merged 2 commits into
mainfrom
chore/skill-discovery-warnings

Conversation

@facundofarias

@facundofarias facundofarias commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What & why

Running npx skills add deployhq/deployhq-cli (vercel-labs skills.sh) installs the canonical skill correctly, but the walker discovers any file named SKILL.md in the repo and rejects three of them for missing YAML frontmatter, printing this on every install:

⚠ Skipped .claude/SKILL.md — missing required frontmatter field(s): name, description
⚠ Skipped .codex/SKILL.md — missing required frontmatter field(s): name, description
⚠ Skipped docs/SKILL.md   — missing required frontmatter field(s): name, description

Those three files were stale, unmaintained duplicates of the canonical skills/deployhq/SKILL.md (already drifted from 8100 bytes down to 3302/4898). No Go code reads them — the installer embeds skills/deployhq via //go:embed — and only one README line referenced them (a line that also listed .cursor/SKILL.md and .windsurf/SKILL.md, neither of which exists).

Changes

  • Delete .claude/SKILL.md, .codex/SKILL.md, docs/SKILL.md.
  • Preserve the two agent-facing examples that were unique to docs/SKILL.mddhq api GET /account/capabilities and dhq api POST /beta/enrollments — into skills/deployhq/references/launch.md, so the deletion loses no content. (The managed_hosting regions/sizes examples were already covered there.)
  • README: replace the stale "Standalone skill guides are also available at…" paragraph with a pointer to the canonical skills/deployhq/SKILL.md.
  • README: add a skills.sh badge under the tagline and an "Install as an agent skill (skills.sh)" subsection documenting npx skills add deployhq/deployhq-cli (the cross-agent equivalent of dhq skills install).

skills/deployhq/SKILL.md is untouched — it remains the canonical, spec-valid skill.

Verification

  • npx skills add deployhq/deployhq-cli now reports exactly "Found 1 skill" with zero "Skipped … missing required frontmatter" warnings.
  • go build, go vet, golangci-lint run, and go test ./internal/skillinstaller/... ./internal/commands/... all pass.
  • Confirmed via grep that nothing else in the repo (Go, embed globs, .goreleaser.yaml, eval scripts, CI) referenced the deleted paths.

Reviewed by a multi-agent review council

Claude + Codex (GPT-5.5) reviewed the diff; both approved with one shared low-priority suggestion — preserve the lost /account/capabilities / /beta/enrollments examples — which is addressed above.

Note (external, not blocking)

The skills.sh badge renders (HTTP 200 SVG) but currently shows the label "resource not found" because deployhq/deployhq-cli isn't indexed in the skills.sh directory yet. The npx install works regardless (it resolves the GitHub repo directly). The badge label will populate automatically once the repo is listed in the skills.sh directory.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a Skills.sh badge and installation instructions to the README.
    • Added an “escape hatch” for checking managed-resource eligibility and enrolling manually via CLI API commands.
  • Documentation
    • Updated agent skill setup guidance to point to the canonical skill location (skills/deployhq/SKILL.md) and clarified installation methods.
    • Removed outdated standalone agent skill guide documents.

The skills.sh walker (npx skills add) discovers any file named SKILL.md
under .claude/, .codex/, and docs/, then rejects the three repo-root
copies because they lack YAML frontmatter — printing a "Skipped …
missing required frontmatter" warning on every install.

Those three files were stale, unmaintained duplicates of the canonical
skills/deployhq/SKILL.md (already drifted from 8100 bytes down to
3302/4898). No code reads them — the installer embeds skills/deployhq
via //go:embed — only one README line referenced them (and it also
listed .cursor/SKILL.md and .windsurf/SKILL.md, which don't exist).

- Delete .claude/SKILL.md, .codex/SKILL.md, docs/SKILL.md
- Preserve the two agent-facing examples unique to docs/SKILL.md
  (`dhq api GET /account/capabilities` and `POST /beta/enrollments`)
  into skills/deployhq/references/launch.md so no content is lost
- Point the README reference at the canonical skills/deployhq/SKILL.md
- Add a skills.sh badge under the tagline
- Add an "Install as an agent skill (skills.sh)" subsection

Verified: `npx skills add deployhq/deployhq-cli` now reports "Found 1
skill" with zero frontmatter warnings. Canonical SKILL.md untouched;
go build/vet/lint and skillinstaller+commands tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d64c1497-b08a-4fce-99fd-5086025f4978

📥 Commits

Reviewing files that changed from the base of the PR and between 45d903f and 9c8c15f.

📒 Files selected for processing (1)
  • skills/deployhq/references/launch.md

Walkthrough

Agent skill documentation is consolidated around skills/deployhq/SKILL.md, with Skills.sh installation guidance added to the README. Legacy skill guides are removed, and the launch reference documents manual managed-resources eligibility checks and beta enrollment.

Changes

Agent skill documentation

Layer / File(s) Summary
Centralize agent skill installation
README.md
Adds a Skills.sh badge and installation command, and identifies the canonical skill source used by both installation methods.
Document enrollment escape hatch
skills/deployhq/references/launch.md
Documents API commands for checking managed-resource eligibility and manually enrolling in the beta.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: thdurante, martakar

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main changes: removing skill discovery warning sources and adding skills.sh install documentation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/skill-discovery-warnings

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@skills/deployhq/references/launch.md`:
- Line 83: Specify the bash language on the fenced code block in the launch
documentation by adding the appropriate language identifier to the fence,
without changing the example content.
- Around line 84-85: Update the documented capabilities API command to use the
SDK-supported GET /profile endpoint instead of GET /account/capabilities, while
preserving the documented beta_features, static_hosting_eligible, and
managed_vps_eligible response fields.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1e24d7d4-6b7c-4cb4-9b41-b6bc161672c5

📥 Commits

Reviewing files that changed from the base of the PR and between 6ae80e2 and 45d903f.

📒 Files selected for processing (5)
  • .claude/SKILL.md
  • .codex/SKILL.md
  • README.md
  • docs/SKILL.md
  • skills/deployhq/references/launch.md
💤 Files with no reviewable changes (3)
  • docs/SKILL.md
  • .claude/SKILL.md
  • .codex/SKILL.md

Comment thread skills/deployhq/references/launch.md Outdated
Comment thread skills/deployhq/references/launch.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45d903f71f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread skills/deployhq/references/launch.md Outdated
Address CodeRabbit review on #37:
- The ported example used `dhq api GET /account/capabilities`, which is not
  a real endpoint. The SDK's GetAccountCapabilities reads the flags from the
  `account` sub-object of GET /profile (pkg/sdk/managed_hosting.go:19-24), so
  the documented escape hatch would have 404'd. Corrected to GET /profile and
  noted the flags live under `account.*`.
- Tag the fenced example `bash` (matches launch.md:14).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@thdurante thdurante left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good one!

@facundofarias
facundofarias merged commit 4907dfe into main Jul 24, 2026
13 checks passed
@facundofarias
facundofarias deleted the chore/skill-discovery-warnings branch July 24, 2026 07:35
facundofarias added a commit that referenced this pull request Jul 24, 2026
Bundles #35 (deploy/api fix) and #37 (skill discovery + skills.sh docs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants