Skip to content

[Fix] Preserve multiline Skill examples#38

Merged
samzong merged 1 commit into
mainfrom
fix/multiline-skill-examples
May 25, 2026
Merged

[Fix] Preserve multiline Skill examples#38
samzong merged 1 commit into
mainfrom
fix/multiline-skill-examples

Conversation

@samzong

@samzong samzong commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Preserves multiline overlay examples when rendering generated Skill module references. Single-line examples still render inline, while multiline examples now render as fenced markdown blocks with line breaks and indentation intact.

Fixes #33.

Verification

  • go test ./internal/codegen/render
  • make check

Compatibility

Generated Skill reference markdown changes for commands with multiline examples. Catalog schema, generated command shape, auth behavior, body handling, and runtime behavior are unchanged.

Checklist

  • Tests or focused verification cover the changed surface.
  • User-facing behavior changes are documented.
  • Generated output under internal/generated/, .cache/, and ad-hoc skills/<cli-name> directories is not committed.
  • Commits are signed off when this is ready to merge.

Signed-off-by: samzong <samzong.lu@gmail.com>
@samzong samzong merged commit b9f6996 into main May 25, 2026
3 checks passed
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.

Preserve multiline overlay examples in generated Skill references

1 participant