Skip to content

fix(check): make --all check agents as well as skills - #867

Merged
runkids merged 2 commits into
mainfrom
runkids/check-all-agents
Nov 11, 2026
Merged

runkids merged 2 commits into
mainfrom
runkids/check-all-agents

Conversation

@runkids

@runkids runkids commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

None. This is the first follow-up listed under "Not covered" in #865.

What and why

skillshare check --all is documented as "Check both skills and agents", but it ran the skills check only. Now that --exit-code exists, a CI job running check --all --exit-code passed while an agent had drifted.

--all now runs both checks:

  • Text output has a Skills section and an Agents section.
  • --json adds an agents array beside tracked_repos and skills. check --json and check agents --json keep their shapes.
  • --exit-code counts both, so one repository behind and one drifted agent report 2 items not up to date.
  • Project mode works the same way, including a project that has agents but no skills directory.

Behavior changes to review

  • check --all <name> and check --all --group <g> are now an error. --all used to be ignored there. Agents have no name filter, so honoring it would check one skill and every agent.
  • check agents --all now checks both kinds, and its --json output is the object, not the bare array. --all used to be ignored there too.

Also updated: check.md in English and four translations (flag row, example, the sentence that said check is skills-only without agents, and the --exit-code paragraph), the --all description in the zsh, fish and nushell completions, and the built-in skill's agents reference.

Checks

  • make check in a devcontainer-image container on the worktree: exit 0.
  • New integration tests: --all --exit-code with a drifted agent, with a repository behind plus a drifted agent, --all --json with and without agents, check --json still has no agents key, the name conflict, and project mode with and without a skills directory. Seven of the eight fail without the fix; the eighth guards the unchanged shape.
  • Ran the built binary in an isolated home to read the text and JSON output.
  • Reviewed with the skillshare-code-review skill; its confirmed findings are fixed.
  • Not run: the website build.

Not covered

  • check <unknown-name> --json prints empty results and exits 0, while text mode exits 1. It exists on main and is left for a follow-up.
  • The JSON Output section of check.md describes the agents array in prose and has no sample of it.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — for code changes
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

check --all is documented as checking both skills and agents, but it ran the skills check only. With --exit-code now available, a CI job using check --all --exit-code passed while an agent had drifted.

--all now runs both checks: the text output has a Skills and an Agents section, --json adds an agents array beside tracked_repos and skills, and --exit-code counts both. check --json and check agents --json keep their shapes.

--all is rejected together with names or --group. It used to be ignored there, and agents have no name filter, so honoring it would check one skill and every agent.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T15:40:16.778395Z cf3f7ab PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 53bac42 into main Nov 11, 2026
9 checks passed
@runkids
runkids deleted the runkids/check-all-agents branch November 11, 2026 15:50
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.

1 participant