skills/template-governance/SKILL.md
Use this skill when creating or maintaining reusable infrastructure, CI/CD, service, or pipeline templates with governance, versioning, rollout consistency, and environment provisioning.
npx skillsauth add chatandbuild/chatchat-skills Template GovernanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Define reusable DevOps templates with clear inputs, defaults, and validation.
Cookiecutter/Yeoman for project scaffolding. Use Cookiecutter (Python) or Yeoman (Node) to generate new projects from a template. Prompts collect parameters; template engine fills placeholders. Good for new repos, microservices, or app boilerplates. Version templates via git tags.
GitHub template repositories. Mark a repo as template; users click "Use this template" to create a copy. No runtime tooling required. Combine with .github/template or cookiecutter.json for parameterized generation. Document required manual steps (e.g. secrets, env setup).
Reusable workflow templates. GitHub Actions reusable workflows, GitLab CI includes, or similar. Define once, call from multiple repos with inputs and secrets. Version via branch or tag; consumers pin to a version. Reduces drift across team pipelines.
Terraform modules as templates. Package infrastructure as modules with variables and outputs. Use source with version constraint (?ref=v1.2.0). Publish to registry or private git. Document required variables and example module blocks.
Versioning strategy. Use semver: major for breaking changes, minor for additive, patch for fixes. Tag releases. Consumers pin to major version; document upgrade path for major bumps.
Deprecation announcements. Announce deprecation at least one minor version ahead. Add deprecation notice in template output and docs. Provide migration guide and support window.
Migration guides for breaking changes. For each breaking change: what changed, why, step-by-step migration, rollback option. Include before/after examples. Test migration path before release.
## Template Scope
- Target: <pipeline/infra/service>
- Consumers: <teams/repos>
- Pattern: <Cookiecutter/GitHub template/reusable workflow/Terraform module>
## Inputs
- Required: <param list with types and validation>
- Optional: <param list with defaults>
- Deprecated: <params with migration path>
## Validation Rules
- <rule 1>
- <rule 2>
## Versioning and Governance
- Current version: <semver>
- Deprecation policy: <notice period, support window>
- Breaking change process: <announcement, migration guide>
## Adoption Checklist
- [ ] Example usage works end-to-end
- [ ] Backward compatibility reviewed
- [ ] Versioning plan documented
- [ ] Migration guide for last breaking change
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
development
Use this skill when turning messy workout information into clear logs, comparing user-provided sessions, surfacing trends or likely PRs, and suggesting realistic next-session steps.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.