GitHub Ecosystem Configuration Generator
Generates production-ready GitHub configuration for any project.
Quick Start
Run in a project directory to auto-detect language and generate configuration:
python scripts/generate_github_config.py --project-path .
Supported Languages
| Language |
Detection Files |
CI Tools |
| Python |
pyproject.toml, setup.py |
ruff, mypy, bandit, pytest |
| Go |
go.mod |
golangci-lint, go test |
| TypeScript |
package.json + tsconfig.json |
eslint, prettier, tsc, vitest/jest |
Components
GitHub Actions Workflows
ci.yml - Continuous Integration
- Multi-version test matrix
- Code quality checks (lint, format, typecheck)
- Security scanning
- Coverage reporting
- Build verification
release.yml (optional) - Release Automation
- Version bumping
- GitHub Release creation
- Package publishing
- Changelog generation
docker.yml (optional) - Container Builds
- Multi-platform builds (amd64, arm64)
- GHCR publishing
- Caching optimization
Issue Templates
- bug_report.md - Structured bug reporting
- feature_request.md - Feature proposals with API examples
- config.yml - Template chooser configuration
Other Templates
- PULL_REQUEST_TEMPLATE.md - PR checklist with change types
- CODEOWNERS - Code ownership definitions
- dependabot.yml - Automated dependency updates
- copilot-instructions.md - GitHub Copilot context
Configuration Options
| Option |
Default |
Description |
| --project-path |
. |
Project directory |
| --language |
(auto) |
Force language: python, go, typescript |
| --components |
all |
Comma-separated: workflows,templates,dependabot,codeowners,copilot |
| --include-release |
false |
Include release workflow |
| --include-docker |
false |
Include docker workflow |
| --codeowners |
(optional) |
CODEOWNERS entries (e.g., "* @team") |
| --overwrite |
false |
Overwrite existing files |
Enhancement Mode
When .github/ already exists, the skill enters enhancement mode:
- Detects existing configuration
- Shows what will be added/modified
- Merges without overwriting (unless --overwrite)
- Preserves custom modifications
Generated Structure
.github/
├── workflows/
│ ├── ci.yml # Always generated
│ ├── release.yml # With --include-release
│ └── docker.yml # With --include-docker
├── ISSUE_TEMPLATE/
│ ├── bug_report.md
│ ├── feature_request.md
│ └── config.yml
├── PULL_REQUEST_TEMPLATE.md
├── CODEOWNERS # With --codeowners
├── dependabot.yml
└── copilot-instructions.md
Language-Specific Details
See reference files for detailed workflow patterns:
references/python-workflow.md - Python CI/CD patterns
references/go-workflow.md - Go CI/CD patterns
references/typescript-workflow.md - TypeScript CI/CD patterns
Post-Generation
After generation:
- Review generated workflows for your needs
- Add any required secrets (e.g., PYPI_API_TOKEN for publishing)
- Customize version matrices if needed
- Update CODEOWNERS with actual team handles
When to Use
Generate comprehensive GitHub ecosystem configuration including CI/CD workflows, issue templates, PR templates, CODEOWNERS, dependabot, and Copilot instructions. Language-agnostic with Python, Go, and TypeScript support.
Covers: GitHub Ecosystem Configuration Generator, Supported Languages, Components, GitHub Actions Workflows, Issue Templates.
1---2name: github-ecosystem3description: Generate comprehensive GitHub ecosystem configuration including CI/CD workflows, issue templates, PR templates, CODEOWNERS, dependabot, and Copilot instructions. Language-agnostic with Python, Go, and TypeScript support. Auto-detects project language from pyproject.toml, go.mod, or package.json. ...4license: MIT5---6# GitHub Ecosystem Configuration Generator78Generates production-ready GitHub configuration for any project.910## Quick Start1112Run in a project directory to auto-detect language and generate configuration:13```bash14python scripts/generate_github_config.py --project-path .15```1617## Supported Languages1819| Language | Detection Files | CI Tools |20|------------|-------------------------------|------------------------------------|21| Python | pyproject.toml, setup.py | ruff, mypy, bandit, pytest |22| Go | go.mod | golangci-lint, go test |23| TypeScript | package.json + tsconfig.json | eslint, prettier, tsc, vitest/jest |2425## Components2627### GitHub Actions Workflows2829**ci.yml** - Continuous Integration30- Multi-version test matrix31- Code quality checks (lint, format, typecheck)32- Security scanning33- Coverage reporting34- Build verification3536**release.yml** (optional) - Release Automation37- Version bumping38- GitHub Release creation39- Package publishing40- Changelog generation4142**docker.yml** (optional) - Container Builds43- Multi-platform builds (amd64, arm64)44- GHCR publishing45- Caching optimization4647### Issue Templates4849- **bug_report.md** - Structured bug reporting50- **feature_request.md** - Feature proposals with API examples51- **config.yml** - Template chooser configuration5253### Other Templates5455- **PULL_REQUEST_TEMPLATE.md** - PR checklist with change types56- **CODEOWNERS** - Code ownership definitions57- **dependabot.yml** - Automated dependency updates58- **copilot-instructions.md** - GitHub Copilot context5960## Configuration Options6162| Option | Default | Description |63|--------|---------|-------------|64| --project-path | . | Project directory |65| --language | (auto) | Force language: python, go, typescript |66| --components | all | Comma-separated: workflows,templates,dependabot,codeowners,copilot |67| --include-release | false | Include release workflow |68| --include-docker | false | Include docker workflow |69| --codeowners | (optional) | CODEOWNERS entries (e.g., "* @team") |70| --overwrite | false | Overwrite existing files |7172## Enhancement Mode7374When `.github/` already exists, the skill enters enhancement mode:75- Detects existing configuration76- Shows what will be added/modified77- Merges without overwriting (unless --overwrite)78- Preserves custom modifications7980## Generated Structure8182```83.github/84├── workflows/85│ ├── ci.yml # Always generated86│ ├── release.yml # With --include-release87│ └── docker.yml # With --include-docker88├── ISSUE_TEMPLATE/89│ ├── bug_report.md90│ ├── feature_request.md91│ └── config.yml92├── PULL_REQUEST_TEMPLATE.md93├── CODEOWNERS # With --codeowners94├── dependabot.yml95└── copilot-instructions.md96```9798## Language-Specific Details99100See reference files for detailed workflow patterns:101- `references/python-workflow.md` - Python CI/CD patterns102- `references/go-workflow.md` - Go CI/CD patterns103- `references/typescript-workflow.md` - TypeScript CI/CD patterns104105## Post-Generation106107After generation:1081. Review generated workflows for your needs1092. Add any required secrets (e.g., PYPI_API_TOKEN for publishing)1103. Customize version matrices if needed1114. Update CODEOWNERS with actual team handles112113## When to Use114115Generate comprehensive GitHub ecosystem configuration including CI/CD workflows, issue templates, PR templates, CODEOWNERS, dependabot, and Copilot instructions. Language-agnostic with Python, Go, and TypeScript support.116117Covers: GitHub Ecosystem Configuration Generator, Supported Languages, Components, GitHub Actions Workflows, Issue Templates.