Skip to content

Make skills template-only#272

Merged
ptone merged 2 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/cleanup-skills-template-only
May 31, 2026
Merged

Make skills template-only#272
ptone merged 2 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/cleanup-skills-template-only

Conversation

@ptone
Copy link
Copy Markdown
Member

@ptone ptone commented May 31, 2026

Summary

  • Remove the harness-config skill-copy step from pkg/agent/provision.go — skills are harness-agnostic and belong exclusively in templates
  • Update docs-site/src/content/docs/advanced-local/templates.md to document skills as template-only
  • Update TestProvisionAgent_SkillsDirOverlayTestProvisionAgent_SkillsAreTemplateOnly to verify harness-config skills are no longer copied

No shipped harness-config contains a skills directory, so this is a no-op for existing users.

Closes ptone#91

Test plan

  • TestProvisionAgent_CopiesSkillsDir passes (template skills still work)
  • TestProvisionAgent_SkillsAreTemplateOnly passes (harness-config skills are ignored)
  • Full go test ./pkg/agent/ passes
  • go vet ./pkg/agent/ clean

ptone added 2 commits May 31, 2026 16:31
Skills are harness-agnostic instruction snippets that belong exclusively
in templates. Remove the provisioning code that copied skills from the
harness-config base layer — no shipped harness-config provides a skills
directory, so this drops no existing functionality.

Update the documentation and tests to reflect that skills come only from
templates.

Closes #91
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the harness-config skill-copy step from agent provisioning, making templates the sole source of skills. The provisioning logic in pkg/agent/provision.go has been updated, and the documentation and tests have been adjusted accordingly to verify that harness-config skills are no longer copied. There are no review comments, so no feedback is provided.

@ptone ptone merged commit 6da4206 into GoogleCloudPlatform:main May 31, 2026
9 of 10 checks passed
krohnjw pushed a commit to ParkWhiz/scion that referenced this pull request Jun 3, 2026
* Make skills template-only, remove harness-config skill-copy step

Skills are harness-agnostic instruction snippets that belong exclusively
in templates. Remove the provisioning code that copied skills from the
harness-config base layer — no shipped harness-config provides a skills
directory, so this drops no existing functionality.

Update the documentation and tests to reflect that skills come only from
templates.

Closes GoogleCloudPlatform#91

* Add project log for skills template-only cleanup
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.

Make skills template-only: remove harness-config skill-copy step

1 participant