Skip to content

chore: add govy skill#234

Draft
nieomylnieja wants to merge 8 commits into
mainfrom
add-govy-skill
Draft

chore: add govy skill#234
nieomylnieja wants to merge 8 commits into
mainfrom
add-govy-skill

Conversation

@nieomylnieja

Copy link
Copy Markdown
Collaborator

Motivation

Describe what is the motivation behind the proposed changes.
If possible reference the current solution/state of affairs.

Summary

Recap of changed code.

Related Changes

List related changes from other PRs (if any).

Testing

Each code change must be covered by unit tests.

Release Notes

If this change should be part of the Release Notes,
replace this entire paragraph with 1-3 sentences about the changes.
Otherwise, you MUST remove this section entirely.

Does this PR contain any breaking changes?
If so, add ## Breaking Changes header and list the introduced changes there.

@n9-machine-user n9-machine-user added chore Routine or minor duty task go Pull requests that update Go code patch Bug fixes and security updates labels Jun 2, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

Test coverage changes:

Package Before After Diff
github.com/nobl9/govy/cmd/govy 0% 0% ✔️
github.com/nobl9/govy/internal 73% 73% ✔️
github.com/nobl9/govy/internal/collections 100% 100% ✔️
github.com/nobl9/govy/internal/inferpath 76% 76% ✔️
github.com/nobl9/govy/internal/messagetemplates 89% 89% ✔️
github.com/nobl9/govy/internal/stringconvert 86% 86% ✔️
github.com/nobl9/govy/internal/typeinfo 94% 94% ✔️
github.com/nobl9/govy/pkg/govy 93% 93% ✔️
github.com/nobl9/govy/pkg/govytest 100% 100% ✔️
github.com/nobl9/govy/pkg/jsonpath 85% 86% ✔️
github.com/nobl9/govy/pkg/rules 98% 98% ✔️

Allow doc extraction to resolve embedded examples by function name so skill references no longer need source file links.
This makes the govy skill docs self-contained and easier to maintain.
Replace generated example names in skill reference indexes with
descriptive link labels so examples are easier to scan and navigate.
Rename example sections to readable, anchor-friendly titles across govy skill docs.
Move explanatory prose into code comments so embedded examples stay self-contained.
Restructure the reference markdown files around topic-based sections with clearer intros, anchors, and nested navigation.
This makes examples easier to scan and cross-reference across validation, rules, errors, and testing docs.
Add docextractor support for docs directives that render exported function docs from Go sources.
Update the govy skill references to split the predefined rules catalog from usage examples.
Switch the extracted rule reference output to sorted one-line summaries and update the govy skill docs to match current metadata APIs and property path examples.
Expand the skill overview with clearer guidance and a full usage example.
Update markdown embedding to process the skill root and handle fenced code blocks reliably.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Routine or minor duty task go Pull requests that update Go code patch Bug fixes and security updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants