Commit 32db9c4
committed
ai(rules[AGENTS]): allow optional blank line above 'what:' in commit body
why: the commit-message format documented as
"why: ...
what: ..." reads tightly when the why-block is one line, but visually
collapses when why runs to multiple paragraphs and the eye loses the
boundary between explanation and change-list. A blank line between
the two sections fixes that without changing the structure or any
tooling that parses the keys.
what:
- AGENTS.md: insert a blank line in the format template between the
why: and what: sections, and add a one-paragraph note that the
blank line is optional and useful for multi-line why-blocks
- Update the two worked examples (config[merge] and the heredoc
Component[method] template) to show the blank line for consistency1 parent 1ddb204 commit 32db9c4
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| 606 | + | |
606 | 607 | | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
611 | 616 | | |
612 | 617 | | |
613 | 618 | | |
| |||
627 | 632 | | |
628 | 633 | | |
629 | 634 | | |
| 635 | + | |
630 | 636 | | |
631 | 637 | | |
632 | 638 | | |
| |||
638 | 644 | | |
639 | 645 | | |
640 | 646 | | |
| 647 | + | |
641 | 648 | | |
642 | 649 | | |
643 | 650 | | |
| |||
0 commit comments