CONTRIBUTING: give each commit type a meaning, so that the type tells a fix of a doc or a skill
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- git, github, markdown, shell
- Domain
- developer-experience, documentation
Research direction
Read the “Message format” section in CONTRIBUTING.md and step 1 in .agents/skills/review-design/SKILL.md; compare the proposed commit type meanings against the examples and options in the issue. Decide how commit types should identify fixes to rules in docs and skills, then update the guidance so a contributor can tell which type to use. Done when the guidance explains each type and makes those fixes discoverable from commit subjects.
Written by the indexing model from the issue text.
Description
Kind
Unclear
Location
CONTRIBUTING.md, Message format: "Types:feat,fix,docs,refactor,test,ci,chore." The list gives no meaning for each type..agents/skills/review-design/SKILL.md, step 1, Collect the symptoms: "Fix commits that add many lines mark a place where the design was wrong."
Version
7c2e454
Problem
In this repo, a fix of a wrong rule in a skill or a doc usually has the type docs, not fix. The usual meaning of docs is "documentation only changes", from the Angular commit convention. That meaning assumes that docs do not change how the product works. Here, AI assistants follow the skills and the docs as instructions, so a wrong rule in them is a bug of the product.
Step 1 of review-design looks for fixes in the history of a path. The type in the subject does not show which commits are fixes, so an AI assistant must read each commit to find them. A complete list of commits does not solve this.
Evidence
On origin/main at 7c2e454:
git log --no-merges --format=%s origin/main: 65 subjects start withdocs, 18 withfix.git log --first-parent --format=%s origin/main: of 27 landing commits, 16 start withdocs, 4 withfix.- caf4dd6 "docs: compare a landing commit with a PR body only for the same PR" adds one rule to
.agents/skills/trace-decision/SKILL.md. It corrects a wrong behavior of the skill, but its type isdocs.
Proposal
Give each type a meaning in Message format, so that the type tells a fix. Options:
| Option | Effect | Cost |
|---|---|---|
Choose the type by the intent: fix corrects a wrong rule or behavior, also in a doc or a skill. docs changes only the wording |
git log --grep='^fix' finds the fixes |
The line between a rule and its wording needs a judgment |
Add a scope: fix(docs): for a fix in a doc or a skill |
The type tells a fix, and the scope tells the area | The repo uses no scopes yet. A scope usually names a module |
Add a trailer Fixes: <hash> that names the commit with the error |
A script can follow each fix to its cause | The author must find that commit for each fix |
Keep the types, and find fixes from the labels of the issues that a pull request closes, for example type/bug and type/documentation |
No new rule for commits | It needs GitHub. Git alone does not have the labels |
Each option applies only to new commits. The existing history keeps its types.
- 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 ·