From 82c033a938f398aa6f547907445663728eac58a5 Mon Sep 17 00:00:00 2001 From: Roshan Chandna Date: Mon, 2 Feb 2026 16:51:33 -0500 Subject: [PATCH 1/3] Restructure packer into build-machine-image and publish-metadata-to-hcp use cases --- packer/README.md | 24 +++++++++---------- .../.claude-plugin/plugin.json | 4 ++-- .../skills/aws-ami-builder/SKILL.md | 0 .../skills/azure-image-builder/SKILL.md | 0 .../skills/windows-builder/SKILL.md | 0 .../.claude-plugin/plugin.json | 2 +- .../skills/push-to-registry/SKILL.md | 0 7 files changed, 15 insertions(+), 15 deletions(-) rename packer/{builders => build-machine-image}/.claude-plugin/plugin.json (71%) rename packer/{builders => build-machine-image}/skills/aws-ami-builder/SKILL.md (100%) rename packer/{builders => build-machine-image}/skills/azure-image-builder/SKILL.md (100%) rename packer/{builders => build-machine-image}/skills/windows-builder/SKILL.md (100%) rename packer/{hcp => publish-metadata-to-hcp}/.claude-plugin/plugin.json (90%) rename packer/{hcp => publish-metadata-to-hcp}/skills/push-to-registry/SKILL.md (100%) diff --git a/packer/README.md b/packer/README.md index 4b27d41..8ccda7f 100644 --- a/packer/README.md +++ b/packer/README.md @@ -4,7 +4,7 @@ Agent skills for building machine images with Packer and HCP Packer. ## Plugins -### packer-builders +### build-machine-image Skills for building images on AWS, Azure, and Windows. @@ -14,7 +14,7 @@ Skills for building images on AWS, Azure, and Windows. | azure-image-builder | Build Azure managed images and Azure Compute Gallery images | | windows-builder | Platform-agnostic Windows image patterns with WinRM and PowerShell | -### packer-hcp +### publish-metadata-to-hcp Skills for HCP Packer registry integration. @@ -29,33 +29,33 @@ Skills for HCP Packer registry integration. ```bash claude plugin marketplace add hashicorp/agent-skills -claude plugin install packer-builders@hashicorp -claude plugin install packer-hcp@hashicorp +claude plugin install packer-build-machine-image@hashicorp +claude plugin install packer-publish-metadata-to-hcp@hashicorp ``` ### Individual Skills ```bash -# Builders -npx skills add hashicorp/agent-skills/packer/builders/skills/aws-ami-builder -npx skills add hashicorp/agent-skills/packer/builders/skills/azure-image-builder -npx skills add hashicorp/agent-skills/packer/builders/skills/windows-builder +# Build machine image +npx skills add hashicorp/agent-skills/packer/build-machine-image/skills/aws-ami-builder +npx skills add hashicorp/agent-skills/packer/build-machine-image/skills/azure-image-builder +npx skills add hashicorp/agent-skills/packer/build-machine-image/skills/windows-builder -# HCP Packer -npx skills add hashicorp/agent-skills/packer/hcp/skills/push-to-registry +# Publish metadata to HCP +npx skills add hashicorp/agent-skills/packer/publish-metadata-to-hcp/skills/push-to-registry ``` ## Structure ``` packer/ -├── builders/ +├── build-machine-image/ │ ├── .claude-plugin/plugin.json │ └── skills/ │ ├── aws-ami-builder/ │ ├── azure-image-builder/ │ └── windows-builder/ -└── hcp/ +└── publish-metadata-to-hcp/ ├── .claude-plugin/plugin.json └── skills/ └── push-to-registry/ diff --git a/packer/builders/.claude-plugin/plugin.json b/packer/build-machine-image/.claude-plugin/plugin.json similarity index 71% rename from packer/builders/.claude-plugin/plugin.json rename to packer/build-machine-image/.claude-plugin/plugin.json index 219f314..4c77022 100644 --- a/packer/builders/.claude-plugin/plugin.json +++ b/packer/build-machine-image/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { - "name": "packer-builders", + "name": "packer-build-machine-image", "version": "1.0.0", - "description": "Packer builder skills for AWS, Azure, and Windows image creation.", + "description": "Packer skills for building machine images on AWS, Azure, and Windows.", "author": { "name": "HashiCorp", "url": "https://github.com/hashicorp" diff --git a/packer/builders/skills/aws-ami-builder/SKILL.md b/packer/build-machine-image/skills/aws-ami-builder/SKILL.md similarity index 100% rename from packer/builders/skills/aws-ami-builder/SKILL.md rename to packer/build-machine-image/skills/aws-ami-builder/SKILL.md diff --git a/packer/builders/skills/azure-image-builder/SKILL.md b/packer/build-machine-image/skills/azure-image-builder/SKILL.md similarity index 100% rename from packer/builders/skills/azure-image-builder/SKILL.md rename to packer/build-machine-image/skills/azure-image-builder/SKILL.md diff --git a/packer/builders/skills/windows-builder/SKILL.md b/packer/build-machine-image/skills/windows-builder/SKILL.md similarity index 100% rename from packer/builders/skills/windows-builder/SKILL.md rename to packer/build-machine-image/skills/windows-builder/SKILL.md diff --git a/packer/hcp/.claude-plugin/plugin.json b/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json similarity index 90% rename from packer/hcp/.claude-plugin/plugin.json rename to packer/publish-metadata-to-hcp/.claude-plugin/plugin.json index 9c83495..57ad573 100644 --- a/packer/hcp/.claude-plugin/plugin.json +++ b/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json @@ -1,5 +1,5 @@ { - "name": "packer-hcp", + "name": "packer-publish-metadata-to-hcp", "version": "1.0.0", "description": "HCP Packer registry integration for tracking and managing image metadata.", "author": { diff --git a/packer/hcp/skills/push-to-registry/SKILL.md b/packer/publish-metadata-to-hcp/skills/push-to-registry/SKILL.md similarity index 100% rename from packer/hcp/skills/push-to-registry/SKILL.md rename to packer/publish-metadata-to-hcp/skills/push-to-registry/SKILL.md From 5ee6045eee523e2134c37c405a61ddbd82c31faf Mon Sep 17 00:00:00 2001 From: Roshan <45045902+rchandnaWUSTL@users.noreply.github.com> Date: Tue, 10 Feb 2026 10:37:59 -0500 Subject: [PATCH 2/3] Update homepage URL in plugin.json --- packer/publish-metadata-to-hcp/.claude-plugin/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json b/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json index 57ad573..96f4a0a 100644 --- a/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json +++ b/packer/publish-metadata-to-hcp/.claude-plugin/plugin.json @@ -6,7 +6,7 @@ "name": "HashiCorp", "url": "https://github.com/hashicorp" }, - "homepage": "https://developer.hashicorp.com/hcp/docs/packer", + "homepage": "https://developer.hashicorp.com/packer/tutorials/hcp-get-started/hcp-push-artifact-metadata", "repository": "https://github.com/hashicorp/agent-skills", "license": "MPL-2.0", "keywords": ["packer", "hcp-packer", "registry", "metadata", "image-tracking"] From a3107c82d451079ca7d20d9a277045b463c09c9a Mon Sep 17 00:00:00 2001 From: Roshan <45045902+rchandnaWUSTL@users.noreply.github.com> Date: Tue, 10 Feb 2026 10:39:24 -0500 Subject: [PATCH 3/3] Update homepage URL in plugin.json --- packer/build-machine-image/.claude-plugin/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/build-machine-image/.claude-plugin/plugin.json b/packer/build-machine-image/.claude-plugin/plugin.json index 4c77022..1f7ed94 100644 --- a/packer/build-machine-image/.claude-plugin/plugin.json +++ b/packer/build-machine-image/.claude-plugin/plugin.json @@ -6,7 +6,7 @@ "name": "HashiCorp", "url": "https://github.com/hashicorp" }, - "homepage": "https://developer.hashicorp.com/packer", + "homepage": "https://developer.hashicorp.com/packer/tutorials", "repository": "https://github.com/hashicorp/agent-skills", "license": "MPL-2.0", "keywords": ["packer", "aws", "azure", "windows", "ami", "image", "builder"]