Skip to content

refactor(skills): adopt infra-copilot plugin, drop in-repo infra-setup - #14

Merged
hasansezertasan merged 3 commits into
mainfrom
extract-skills-to-infra
Aug 6, 2026
Merged

hasansezertasan merged 3 commits into
mainfrom
extract-skills-to-infra

Conversation

@hasansezertasan

Copy link
Copy Markdown
Member

What

Extracts the infra-setup skill + /infra-setup command out of this repo into a standalone, org-agnostic Claude Code plugin — hasansezertasan/infra-copilot (v0.1.0) — and switches this repo to consume it. This repo now carries config, not logic.

Why

The bootstrap skill was written concretely for perishdev/perish.dev but is useful groundwork for any Terraform + HCP + Cloudflare + GitHub SaaS infra repo. As a plugin it is reusable by other orgs and can grow a family of infra skills without living in this repo.

Changes

  • Enable the plugin via .claude/settings.json (extraKnownMarketplaces + enabledPlugins, autoUpdate on).
  • Add .claude/infra-copilot.local.md — this repo's non-secret identifiers (org, apex domain, Cloudflare account/zone IDs, managed repos, HCP status-check id). The plugin reads it at startup (Step 0). No secrets — those stay in HCP workspace variables.
  • Remove .claude/skills/infra-setup/ and .claude/commands/infra-setup.md. /infra-setup now resolves from the plugin, unchanged in behaviour.

Notes

  • The plugin is generic; all org-specific values live in the committed, non-secret config file above.
  • Verified: plugin structure validates, config→shell-var wiring produces correct commands, no perish.dev literals in the plugin, no secrets anywhere.

The infra-setup skill and /infra-setup command were extracted into a
standalone, org-agnostic Claude Code plugin published at
hasansezertasan/infra-copilot (v0.1.0). This repo now consumes the plugin
instead of carrying the skill itself — config, not logic.

- Enable the plugin via .claude/settings.json (extraKnownMarketplaces +
  enabledPlugins). autoUpdate is OFF — plugin updates are pulled only when
  someone explicitly updates, pinning this infra repo to reviewed plugin
  versions (the plugin lives under a personal account, so we don't auto-run
  unreviewed changes here).
- Add .claude/infra-copilot.local.md with perish.dev's non-secret
  identifiers (org, apex domain, Cloudflare account/zone IDs, managed repos,
  HCP status-check id). No secrets — those remain in HCP workspace variables.
- Remove .claude/skills/infra-setup/ and .claude/commands/infra-setup.md;
  /infra-setup now resolves from the plugin.
@hasansezertasan
hasansezertasan force-pushed the extract-skills-to-infra branch from 76cea27 to 7d6cef1 Compare August 5, 2026 13:49
Follow-up to the cutover: README/AGENTS/CONTRIBUTING still linked the
in-repo .claude/skills/infra-setup/SKILL.md and command that were removed.
Repoint those to the infra-copilot plugin, and update README's directory
tree to show .claude/ now holding settings.json + infra-copilot.local.md.
@hasansezertasan
hasansezertasan merged commit 0ec9808 into main Aug 6, 2026
4 checks passed
@hasansezertasan
hasansezertasan deleted the extract-skills-to-infra branch August 6, 2026 15:12
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