refactor(skills): share rule format document

This commit is contained in:
2026-09-17 01:32:26 -04:00
parent 6a148a256e
commit d6cbd4e319
4 changed files with 2 additions and 19 deletions

View File

@@ -30,5 +30,5 @@ If the command fails, report the failure.
## Maintain rules
When adding or changing files under [`rules/`](rules/), read [`RULE-FORMAT.md`](RULE-FORMAT.md) first.
When adding or changing files under [`rules/`](rules/), read the shared rule format at `src/skills/RULE-FORMAT.md` first.
Finish when the changed rule files follow that format.

View File

@@ -1,17 +0,0 @@
# Rule format
Use this structure for each rule:
```md
## Rule title
### Rule
State enforceable instructions.
### Rationale
Explain why the rule exists.
```
Add `### Examples` only when examples clarify the rule.

View File

@@ -30,5 +30,5 @@ If the command fails, report the failure.
## Maintain rules
When adding or changing files under [`rules/`](rules/), read [`RULE-FORMAT.md`](RULE-FORMAT.md) first.
When adding or changing files under [`rules/`](rules/), read the shared rule format at `src/skills/RULE-FORMAT.md` first.
Finish when the changed rule files follow that format.