Skip to content

fix: remove nonstandard skill type prompt#261

Merged
github-actions[bot] merged 3 commits into
mainfrom
spboyer/fix-new-skill-type-prompt
May 20, 2026
Merged

fix: remove nonstandard skill type prompt#261
github-actions[bot] merged 3 commits into
mainfrom
spboyer/fix-new-skill-type-prompt

Conversation

@spboyer

@spboyer spboyer commented May 20, 2026

Copy link
Copy Markdown
Member

Closes #243

Summary

  • Remove the nonstandard skill type question from the waza new skill interactive wizard.
  • Stop generating type: frontmatter in new skill scaffolds.
  • Update tests and docs/examples so new skills use spec-aligned metadata only.

Validation

  • go test ./internal/wizard ./cmd/waza
  • go test ./...
  • cd site && npm run build

Note: golangci-lint was not available in this environment.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 20, 2026 21:32
@github-actions github-actions Bot enabled auto-merge (squash) May 20, 2026 21:32

Copilot AI 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.

Pull request overview

Removes the non-standard “skill type” prompt/metadata from waza new skill so newly scaffolded skills align with the agent skills spec (no type: frontmatter).

Changes:

  • Removes SkillType and the “Skill type” wizard question; stops rendering type: in wizard-generated SKILL.md.
  • Removes type: from non-interactive default SKILL.md scaffolding.
  • Updates docs and tests to reflect spec-aligned skill metadata.
Show a summary per file
File Description
site/src/content/docs/reference/cli.mdx Updates CLI docs to describe spec-aligned wizard metadata collection (no skill type).
site/src/content/docs/getting-started.mdx Removes type: from the getting-started SKILL.md example.
README.md Updates waza new skill description to reflect spec-aligned wizard fields.
internal/wizard/wizard.go Removes SkillType and type: template emission; removes the wizard “Skill type” select.
internal/wizard/wizard_test.go Updates wizard/template tests to assert type: is not generated and removes type-related wizard input.
docs/GUIDE.md Updates guide copy to reflect spec-aligned wizard metadata collection.
docs/GETTING-STARTED.md Removes type: from the getting-started SKILL.md example.
cmd/waza/cmd_new.go Removes type: from non-interactive default SKILL.md scaffold content.
cmd/waza/cmd_new_test.go Updates scaffold tests to assert new SKILL.md does not contain type:.

Copilot's findings

  • Files reviewed: 9/9 changed files
  • Comments generated: 2

Comment thread internal/wizard/wizard_test.go
Comment thread internal/wizard/wizard.go Outdated
spboyer and others added 2 commits May 20, 2026 17:43
…tion

Ensure callers always receive an error instead of a zero-value SkillSpec
when the form exits early (EOF / non-TTY mode) without populating the
required name or description fields.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 20, 2026 21:45
@github-actions github-actions Bot merged commit 409d439 into main May 20, 2026
8 checks passed

Copilot AI 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.

Copilot's findings

  • Files reviewed: 9/9 changed files
  • Comments generated: 1

Comment on lines 120 to 124
func TestRunSkillWizard_InitialName(t *testing.T) {
// When initialName is provided, the name field is pre-populated.
// User submits the pre-populated name and fills in other fields.
in := pipeInput(t, "azure-deploy", "My pre-named skill", "use for testing", "", "1")
in := pipeInput(t, "azure-deploy", "My pre-named skill", "use for testing", "")
out := &bytes.Buffer{}
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.

New skill wizard asks about "type" of skill, which is a non-standard field

2 participants