github-org-setup
Agent: Social Media Manager
L2 DevOps and infrastructure engineer responsible for CI/CD pipelines, deployment automation, cloud infrastructure, monitoring, alerting, incident response, and rollout management.
Department ethos: ideal-engineering.md
Skill Description
The DevOps / Infrastructure Engineer configures the GitHub organisation with repositories, permissions, and branch protection rules.
When to Use
- A new GitHub organization is being created for the company or a business unit.
- New repositories need to be provisioned with standardized settings.
- Team structure has changed and repository permissions need updating.
- Branch protection rules need to be added or tightened after a security or process incident.
Workflow
- Define the organizational structure: teams, their repository access levels, and admin ownership.
- Create or update GitHub teams that mirror the engineering team structure.
- Configure repository creation defaults: visibility, license, .gitignore, and template repositories.
- Set branch protection rules on main/production branches: required reviews, status checks, and no force pushes.
- Configure required status checks that must pass before merge (CI pipeline, linting, tests).
- Set up CODEOWNERS files to enforce review requirements for critical paths.
- Enable security features: Dependabot, secret scanning, and code scanning.
- Document the organization setup, team permissions, and branch protection policies.
- Deliverable: A configured GitHub organization with teams, permissions, branch protections, security features, and documentation.
Anti-Patterns
- Giving all developers admin access. Why: Admin access allows bypassing branch protections and deleting repositories; use least-privilege roles.
- Skipping branch protection on main. Why: Unprotected main branches allow force pushes and unreviewed merges that bypass the entire quality process.
- Not enabling secret scanning. Why: Leaked secrets in repositories are a top security incident vector; scanning catches them before they cause damage.
- Managing permissions manually instead of through teams. Why: Individual permissions do not scale and create orphaned access when people change roles.
Output
Success: A fully configured GitHub organization with teams, permissions, branch protections, security scanning, and documentation.
Failure: An audit report listing permission gaps, missing protections, or security features not enabled, with remediation steps.
Related Skills
None defined yet.
1---2name: github-org-setup3description: Configures the GitHub organization so teams ship code securely with the right access and branch protections. Use when asked to github org setup. Suggest when relevant.4---56# github-org-setup78## Agent: Social Media Manager910L2 DevOps and infrastructure engineer responsible for CI/CD pipelines, deployment automation, cloud infrastructure, monitoring, alerting, incident response, and rollout management.1112Department ethos: [ideal-engineering.md](../../../../departments/engineering/ideal-engineering.md)1314## Skill Description1516The DevOps / Infrastructure Engineer configures the GitHub organisation with repositories, permissions, and branch protection rules.1718## When to Use1920- A new GitHub organization is being created for the company or a business unit.21- New repositories need to be provisioned with standardized settings.22- Team structure has changed and repository permissions need updating.23- Branch protection rules need to be added or tightened after a security or process incident.2425## Workflow26271. Define the organizational structure: teams, their repository access levels, and admin ownership.282. Create or update GitHub teams that mirror the engineering team structure.293. Configure repository creation defaults: visibility, license, .gitignore, and template repositories.304. Set branch protection rules on main/production branches: required reviews, status checks, and no force pushes.315. Configure required status checks that must pass before merge (CI pipeline, linting, tests).326. Set up CODEOWNERS files to enforce review requirements for critical paths.337. Enable security features: Dependabot, secret scanning, and code scanning.348. Document the organization setup, team permissions, and branch protection policies.35 - **Deliverable**: A configured GitHub organization with teams, permissions, branch protections, security features, and documentation.3637## Anti-Patterns3839- **Giving all developers admin access.** *Why*: Admin access allows bypassing branch protections and deleting repositories; use least-privilege roles.40- **Skipping branch protection on main.** *Why*: Unprotected main branches allow force pushes and unreviewed merges that bypass the entire quality process.41- **Not enabling secret scanning.** *Why*: Leaked secrets in repositories are a top security incident vector; scanning catches them before they cause damage.42- **Managing permissions manually instead of through teams.** *Why*: Individual permissions do not scale and create orphaned access when people change roles.4344## Output4546**Success**: A fully configured GitHub organization with teams, permissions, branch protections, security scanning, and documentation.4748**Failure**: An audit report listing permission gaps, missing protections, or security features not enabled, with remediation steps.4950## Related Skills5152*None defined yet.*53- [`alerting-configurator`](../alerting-configurator/SKILL.md) — sibling skill under the same agent — combine with alerting-configurator for end-to-end coverage54- [`infrastructure-scaling-executor`](../infrastructure-scaling-executor/SKILL.md) — sibling skill under the same agent — combine with infrastructure-scaling-executor for end-to-end coverage55- [`production-readiness-reviewer`](../production-readiness-reviewer/SKILL.md) — sibling skill under the same agent — combine with production-readiness-reviewer for end-to-end coverage