refactor(skills): share rule format document
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user