Skip to content

Commit 3dbac0a

Browse files
committed
update docs
1 parent f294d11 commit 3dbac0a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs-main/index.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,22 @@ will copy all of the `.rules/` into a `.cursor/rules/` folder. `rules` currently
6060
To make your rules available to others, you can publish using `rules publish`:
6161

6262
```bash
63+
# Login
6364
rules login
65+
66+
# Create a rules.json
67+
rules init
68+
69+
# Create a rule
70+
rules create
71+
72+
# Publish
6473
rules publish
6574
```
6675

67-
This would make your rule available to download with `rules add <name-of-rules>`.
76+
This would make your rules available to download with `rules add <name-of-rules>`.
6877

69-
The command automatically determines the slug from your `rules.json` file. To make sure you have a `rules.json` file in your current directory, use `rules init` or our [template repository](https://github.com/continuedev/rules-template), which includes a GitHub Action for publishing.
78+
You can use our [template repository](https://github.com/continuedev/rules-template) to automate publishing with GitHub Actions.
7079

7180
## Helping users use your rules
7281

0 commit comments

Comments
 (0)