Skip to content

Add PR003/PR004 test coverage to plugin registration validator #6

@Jamie-BitFlight

Description

@Jamie-BitFlight

Copied from Jamie-BitFlight/claude_skills#103

Story

As a developer using Claude Code skills, I want to add pr003/pr004 test coverage to plugin registration validator so that the tooling becomes more capable and complete.

Description

PluginRegistrationValidator defines PR003 (missing metadata fields: repository, homepage, author) and PR004 (repository URL mismatches git remote URL) at lines 276-277 of plugin_validator.py, and emits them at lines 2815 and 2834. Tests exist for PR001 (unregistered) and PR002 (missing file), but not PR003/PR004. Add tests to plugins/plugin-creator/tests/test_plugin_registration_validator.py covering: (1) PR003 emitted when metadata fields absent; (2) PR004 emitted when repo URL mismatches remote.


Context

  • Source: Code review session 2026-02-21
  • Priority: P2
  • Added: 2026-02-21
  • Research questions: None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions