Make template setup steps harder to skip
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with the setup instructions in README.md, the issue templates in .github/ISSUE_TEMPLATE/, and the ruleset guidance in docs/development.md. First decide which setup approach to implement, since the issue lists several options without choosing one; then check which steps it can automate and which still need a person. Done means the label setup avoids duplicate defaults and the chosen approach makes skipped setup steps visible or easier to complete.
Written by the indexing model from the issue text.
Description
Problem to solve
Use the template in README.md lists manual setup steps for a repository made from this template. No check tells a maintainer which steps they skipped. This repository skipped the type/ label setup:
- PR #1 opened with only the default GitHub labels. The
pull-requestskill could not apply the requiredtype/label. - The issue templates in
.github/ISSUE_TEMPLATE/namedtype/labels that did not exist.
A maintainer can also skip branch protection, leave placeholders unchanged, or leave TEMPLATE: sections incomplete.
Proposal
Make setup steps harder to skip. Report incomplete steps or do the steps that can be automated. Identify steps that still need a person, such as filling the TEMPLATE: sections. The approach is not decided:
| Option | Can do | Cannot do, or cost |
|---|---|---|
A setup script in tools/ that a person runs once |
Sets up labels, the ruleset, merge settings and placeholders. It can run again safely | A person must still remember to run it |
A CLI package, for example npx create-commit-decision-record |
Creates the repository and does the setup in one command | An npm package to publish and maintain. It is a second way to start next to Use this template |
| A workflow that runs once on the first push in a new repository and commits the result | Sets up labels and placeholders without a person | GITHUB_TOKEN does not have the administration permission needed to apply the ruleset |
| A CI job that fails while setup is incomplete | Makes a skipped step visible on each PR, for example when placeholders or type/ labels are missing |
It does not do the setup. It must not run in this template repository |
More information
#33 covers reusing GitHub's default labels in the manual setup instructions. This issue covers how to keep maintainers from skipping setup, regardless of how the manual instructions create or rename labels.
- Dominant language
- Shell
- Stars
- 1
- Forks
- 0
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 26
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from c-w-z/commit-decision-record
-
type/documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
c-w-z/commit-decision-record#90 · 1 comment ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
c-w-z/commit-decision-record#85 ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
c-w-z/commit-decision-record#84 ·
Maintainers usually reply within 1 day
-
type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
c-w-z/commit-decision-record#35 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
c-w-z/commit-decision-record#33 ·
Maintainers usually reply within 1 day
All issues in c-w-z/commit-decision-record
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
omacom/omarchy#21286 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ChurchCRM/docs.churchcrm.io#328 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
melodic-software/claude-code-plugins#20573 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
bmaltais/StartDrive#17 ·