Skip to content

test-plan-publish

Publish test plan artifacts to GitHub by creating a branch, committing all files, and opening a pull request. Validates frontmatter and artifacts before publishing. Supports updating existing PRs (pushes new commits to the same branch). Uses version-free branch names (test-plan/) for iterative updates.

Plugin: test-plan | User-invocable

Contract

Skill Contract canonical-skill-v1

Publish validated test-plan artifacts from a personal fork to a GitHub pull request in the selected test-plan repository.

Identity

Functions
execute
Success
  • Validates the artifacts, commits and pushes the publication branch, then creates or reuses its pull request.
  • Returns the pull-request URL and assigns reviewers when requested.

Optimization Targets

task_success deterministic

Invariants

Must Preserve
  • Confirm publication with the user and require a personal fork.
  • Never publish artifacts into the skill repository or overwrite an existing pull request title or body.
Fixed Context
documentsskills/test-plan-publish/SKILL.md
knowledgetask_inputtask_private

Traceability

Diagram

test-plan-publish diagram

Arguments

/test-plan-publish [FEATURE_SOURCE] [--repo owner/repo] [--reviewers user1,user2]
Argument Required Default Description
FEATURE_SOURCE auto-detected from prior /test-plan-create run Feature directory path, GitHub branch URL, or GitHub PR URL
--repo - Target GitHub repository in owner/repo format
--reviewers - Comma-separated list of GitHub usernames to assign as PR reviewers

Usage

/test-plan-publish tool_calling_metadata
/test-plan-publish tool_calling_metadata --reviewers alice,bob
/test-plan-publish tool_calling_metadata --repo org/test-plans-repo