Skip to content

✨ Improve Agent Skills documentation, distribution and validation - #141

Open
acabarbaye wants to merge 4 commits into
mainfrom
skills
Open

acabarbaye wants to merge 4 commits into
mainfrom
skills

Conversation

@acabarbaye

@acabarbaye acabarbaye commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Improve Agent Skills documentation, distribution and quality assurance for Go SDK Generator and downstream CLI projects, using the same generation templates and validation tooling.

  • Keep README's skills section concise, make DOCUMENTATION.md#agent-skills the main reference, and generate guides/agent-skills.md with agent-specific setup, updates, offline consumption and local validation instructions. Explicitly document go-sdk-generator agent --init as the offline installer for the three embedded skills.
  • Derive skill catalogues from metadata; fix frontmatter, portable names, descriptions and Copilot references. Include the earlier fix that removes headers before skill frontmatter.
  • Maintain actions/validate-skills, its Python script and requirements by hand in this repository. All generated workflows use ARM-software/go-sdk-generator/actions/validate-skills@latest; they receive no local implementation copies. The generator's existing handwritten workflow is preserved byte-for-byte.
  • Use agent-skills-validator v0.2.0 and Skills CLI 1.9.1, with SHA-pinned setup actions. Automatically discover skills, check resource containment and duplicate names, and test collection/individual installation in temporary homes and projects with telemetry disabled.
  • DEB/RPM package the complete .agents/skills/ collection under /etc/<package-name>/.agents/skills/. APK retains the original explicit generated skill-file entries and FIXME for the nfpm tree-packaging issue; it does not use the unverified directory-expansion change.
  • Add informational metadata.scope: tool or repo classifications and display scope in the catalogue. Handwritten manifest-authoring guidance is tool-scoped. Scope does not filter packaging or change the explicit embedded selection.
  • Extract focused skills-generation helpers and document the source/mirror/binary lifecycle, overwrite handling and rebuild requirements in guides/embedded-agent-skills.md.
  • Remove all eight audited generator-specific package-name branches from shared templates, plus the generator-only action implementation templates and generation hooks. Generator-specific agent --init, release and local-CI notes remain handwritten in this repository.
  • Use full repository URLs for guide and skill references outside their publication directories. Add the repo-scoped documentation-authoring skill to record this convention and the generic-template/handwritten-customization boundary.
  • Use the presence of a CLI definition as the generation trigger. no_actions: true omits command-action skills but retains skill validation; library-only projects receive no skills-specific outputs.
  • Require continuous-delivery-scripts>=4.8.2, refresh affected regression fixtures, and add feature and bugfix news fragments.
  • Verify TAG_LATEST = true in pyproject.toml and tag_latest: true in the generator manifest. CDS advances latest on new stable releases. The shared action becomes available at that ref after the first stable release containing it.

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

Local verification completed:

  • go generate ./... in the generator module, build the CLI, and dogfood the updated templates against generate.yml using the repository's Go version.
  • CHECK_GENERATED_SKILLS=1 go test -tags integration ./generator/... ./cli/... -count=1 -timeout=10m passed.
  • golangci-lint run --new-from-rev HEAD ./... in the generator module reported zero new issues before committing.
  • Generated workflow YAML parsing and git diff --check passed. The generator's current handwritten workflow was not changed by the template cleanup.
  • python actions/validate-skills/validate_skills.py --install passed for all 12 repository skills, including parity checks for the three embedded mirrors.
  • python actions/validate-skills/validate_skills.py generator/skills --install passed for the standalone product skill collection.
  • Generated-project checks cover CLI projects with and without command actions, the no-CLI case, additional maintainer-authored skills, nested assets, invalid resource references and duplicate names.
  • Follow-up scope and packaging-template changes were verified with focused integration/regression tests, generated-project Skills CLI checks, the CLI command tests and a fresh discovery/install check of all 12 repository skills. Affected fixtures were refreshed; lint reports zero new issues.
  • Shared-action follow-up checks passed for all TestGenerate fixtures, isolated generated-project validation/install checks, local versus remote action ownership, overwrite groups and latest-tag configuration. The actual CDS configuration was also checked to confirm stable releases produce the latest shortcut and beta releases do not.
  • Generic-template cleanup passed generation, overwrite and regression tests, plus isolated skill-installation checks. A manifest named go-sdk-generator is explicitly tested to receive generic documentation and the remote workflow, without local-action output. Repository workflow hash before and after: 964d6ae9537c2046f2b93926fec5783ffd52cdf6.

As agreed, verification focuses on deterministic validation and isolated Skills CLI installation checks; no package-build/install test suite was introduced.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Go multimodules tests

804 tests   776 ✅  14m 13s ⏱️
  9 suites   28 💤
  2 files      0 ❌

Results for commit d260022.

♻️ This comment has been updated with latest results.

♻️ Extract skill generation helpers and document embedding

✨ Classify skills and package the full collection

🐛 Use shared skill validation action in generated projects

♻️ Consolidate skill helpers and normalisation

This branch has not been deployed

No deployments
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.

1 participant