From principled-github
Scaffold GitHub-specific configuration files aligned with the principled workflow. Creates issue templates, PR templates, actions workflows, and config files in the .github/ directory. Use when setting up a new repo or adding principled GitHub integration to an existing one.
How this skill is triggered — by the user, by Claude, or both
Slash command
/principled-github:gh-scaffoldThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate the `.github/` directory structure with issue templates, PR templates, actions workflows, and configuration files aligned with the principled workflow.
Generate the .github/ directory structure with issue templates, PR templates, actions workflows, and configuration files aligned with the principled workflow.
/gh-scaffold [--templates] [--workflows] [--codeowners] [--all]
| Argument | Required | Description |
|---|---|---|
--templates | No | Scaffold issue templates and PR template only |
--workflows | No | Scaffold GitHub Actions workflows only |
--codeowners | No | Scaffold CODEOWNERS file only |
--all | No | Scaffold everything (default if no flags specified) |
--templates or --all)Create directories:
.github/ISSUE_TEMPLATE/
Write issue templates:
templates/proposal-issue-template.yml and write to .github/ISSUE_TEMPLATE/proposal.ymltemplates/plan-issue-template.yml and write to .github/ISSUE_TEMPLATE/plan.ymltemplates/bug-report-template.yml and write to .github/ISSUE_TEMPLATE/bug-report.ymltemplates/config.yml and write to .github/ISSUE_TEMPLATE/config.ymlWrite PR template:
templates/pull-request-template.md and write to .github/pull_request_template.md--workflows or --all)Create directory:
.github/workflows/
Write workflow files:
templates/pr-check-workflow.yml and write to .github/workflows/principled-pr-check.ymltemplates/label-sync-workflow.yml and write to .github/workflows/principled-labels.yml--codeowners or --all)Generate CODEOWNERS. If no CODEOWNERS file exists:
CLAUDE.md or docs/).github/CODEOWNERSReport results. List all created files and directories.
templates/proposal-issue-template.yml --- GitHub issue template for proposalstemplates/plan-issue-template.yml --- GitHub issue template for planstemplates/bug-report-template.yml --- GitHub issue template for bug reportstemplates/config.yml --- Issue template chooser configurationtemplates/pull-request-template.md --- PR description templatetemplates/pr-check-workflow.yml --- GitHub Actions workflow for PR validationtemplates/label-sync-workflow.yml --- GitHub Actions workflow for label syncnpx claudepluginhub alexnodeland/principled --plugin principled-githubConfigures GitHub repository via gh CLI with main branch protection rules, issue/PR templates, standard labels, .gitignore, and metadata. For new or existing professional projects.
Guides setup of GitHub community health files (LICENSE, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, issue/PR templates) via gh CLI and APIs for open source repos.
Provides GitHub workflow guidance for issues, PRs, milestones, templates, automation with GitHub Actions, and webhook security for solo developers.