Skip to content

Agent plugin: validate skills, manifests and versions in CI #73

Closed

Description

@drevendev

Reader problem

Broken skill frontmatter, a referenced path that doesn't exist, or a version mismatch between manifests installs silently and fails only for users.

Design decisions

Add a stdlib test, tests/test_agent_plugin.py, to the required Ubuntu and Windows matrix. It checks that:

  • frontmatter keys are limited to the portable set (name, description, license, compatibility, metadata);
  • name matches [a-z0-9-]{1,64} and equals the directory name;
  • the description is 1–1024 characters and contains "Use when";
  • the body is under 500 lines;
  • every tools/, guides/, templates/ or checklists/ path a skill mentions exists;
  • every check command has --root, and none uses --write;
  • manifest names agree, the version is equal in both plugin manifests and absent from marketplace entries, and there is no .codex-plugin/plugin.json;
  • on a vX.Y.Z tag, the manifest version matches the tag and a dated CHANGELOG heading.

Acceptance

  • The tests pass on Ubuntu and Windows.
  • CONTRIBUTING has a release checklist covering the Action and the plugin together.

Open questions

  • Add an optional job that installs the Claude Code CLI and runs claude plugin validate --strict? It needs network access.
  • Keep a -dev version on master between releases, as HungryCrab does?

Depends on: #69

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-skillenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions