gh-project-shared

Centralize GitHub project utilities for gh CLI validation and config management.

4|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/danmestas/wardrobe --skill gh-project-shared
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-project-shared
Source: https://github.com/danmestas/wardrobe/tree/main/skills/gh-project-shared
Command: npx skills add https://github.com/danmestas/wardrobe --skill gh-project-shared

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This collection of utilities centralizes GitHub project workflows, reducing setup time and boilerplate for multiple project-management skills.

Core Features & Use Cases

  • gh-check.sh provides gh CLI installation verification.
  • gh-auth.sh performs authentication status checks and scope validation.
  • config-manager.sh enables reading, updating, and validating the .github/project-config.json configuration.
  • context-detector.sh analyzes a repository to suggest appropriate project templates.
  • error-handler.sh offers standardized error logging and structured messages for agents.

Quick Start

Source the shared scripts and call the helper functions to validate gh, manage configs, detect repository context, and handle errors.

Frequently Asked Questions about gh-project-shared

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

FAQPage Schema
How do I automate GitHub project setup and reduce boilerplate configuration?

Automate GitHub project setup by sourcing shared Bash scripts that verify the gh CLI, validate authentication scopes, and manage centralized project-config.json files to reduce boilerplate across multiple project-management workflows.

What utilities are available for managing GitHub project configs in Bash?

GitHub project config management utilities expose helper functions like get_project_id and save_project_config to read, update, and validate the .github/project-config.json file using Bash and jq.

Do I need jq and gh CLI installed to use these GitHub project automation scripts?

Yes, you need both jq and gh CLI installed in a Bash 4.0+ environment to run these GitHub project automation scripts, which verify gh CLI installation and validate authentication scopes before executing workflows.

How does repository context detection work for suggesting GitHub project templates?

Repository context detection works by analyzing the repository structure using the context-detector.sh script, which evaluates the repository environment to suggest appropriate GitHub project templates for automation workflows.

What's the best way to handle errors in GitHub project automation scripts?

Handle errors in GitHub project automation scripts using the standardized error-handler.sh utility, which provides structured error logging and standardized messages for agents to centralize workflow error management.

Can I validate gh CLI authentication scopes before running GitHub project operations?

Yes, you can validate gh CLI authentication scopes using the gh-auth.sh script, which performs authentication status checks and scope validation before executing GitHub project operations or configuration management tasks.