github-pulumi

Manage GitHub repositories and org resources via Pulumi CLI workflows.

3|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-pulumi
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: github-pulumi
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/github-pulumi
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-pulumi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of safely provisioning, importing, previewing, and repairing GitHub resources without manual drift-prone edits by using the Pulumi Infrastructure as Code workflow.

Core Features & Use Cases

  • Non-interactive GitHub resource management: Import existing repositories and apply intended changes using Pulumi preview and up flows suitable for automation.
  • State integrity and drift control: Use stack/URN visibility, refresh, and preview to detect drift while reducing the risk of accidental destructive operations.
  • Secure token and plugin handling: Configure GitHub provider authentication securely and ensure the required Pulumi GitHub provider plugin is installed.

Use case: Import an existing GitHub repository into a Pulumi stack, preview the planned changes, and then update the stack in an automated pipeline while keeping secrets out of version control.

Quick Start

Activate github-pulumi to import an existing GitHub repository into a Pulumi stack and run a non-interactive preview before applying updates.

Frequently Asked Questions about github-pulumi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import existing GitHub repositories into Pulumi infrastructure as code?ā–¼

To import existing GitHub repositories into Pulumi, you use the Pulumi CLI import workflow to bring existing infrastructure into a stack state, then run a preview to verify the intended changes before applying updates.

How does Pulumi handle drift detection for GitHub resources?ā–¼

Pulumi handles drift detection for GitHub resources by using stack and URN visibility to run a safe state refresh and preview, identifying any configuration drift without risking accidental destructive operations during the workflow.

Can I manage GitHub branches and org resources non-interactively with Pulumi?ā–¼

Yes, you can manage GitHub branches and org resources non-interactively with Pulumi by utilizing the preview and up CLI flows, which are designed specifically for safe, automated provisioning in CI/CD pipeline environments.

How do I configure GitHub authentication for Pulumi automation securely?ā–¼

You configure GitHub authentication for Pulumi automation securely by providing tokens through Pulumi secure configuration or environment variables, ensuring that your secrets are kept entirely out of version control during automated runs.

Do I need a specific provider plugin to manage GitHub resources with Pulumi?ā–¼

Yes, you need the required Pulumi GitHub provider plugin installed and properly validated in your environment to successfully provision, import, and manage GitHub repositories and organization resources.

What is the best way to preview GitHub infrastructure changes before applying them in automation?ā–¼

The best way to preview GitHub infrastructure changes in automation is using the Pulumi non-interactive preview flow, which validates planned updates against the current stack state to ensure state integrity before execution.