Skip to content

Commit 044958d

Browse files
authored
Merge pull request #106 from WecoAI/dev
Add cursor skill setup and bump version (0.3.10)
2 parents 748ba78 + 8a8d853 commit 044958d

File tree

4 files changed

+241
-62
lines changed

4 files changed

+241
-62
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,17 @@ For more advanced examples, including [Triton](/examples/triton/README.md), [CUD
118118
| Command | Description |
119119
|---------|-------------|
120120
| `weco setup claude-code` | Set up Weco skill for Claude Code |
121+
| `weco setup cursor` | Set up Weco rules for Cursor |
121122

122-
The `setup` command installs Weco skills for AI coding assistants. Currently supports Claude Code:
123+
The `setup` command installs Weco skills for AI coding assistants:
123124

124125
```bash
125-
weco setup claude-code
126+
weco setup claude-code # For Claude Code
127+
weco setup cursor # For Cursor
126128
```
127129

128-
This clones the Weco skill to `~/.claude/skills/weco/` and optionally updates your `~/.claude/CLAUDE.md` to enable automatic skill discovery.
130+
- **Claude Code**: Clones the Weco skill to `~/.claude/skills/weco/` and updates `~/.claude/CLAUDE.md`
131+
- **Cursor**: Clones the Weco skill to `~/.cursor/skills/weco/` and creates `~/.cursor/rules/weco.mdc`
129132

130133
### Model Selection
131134

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "weco"
88
authors = [{ name = "Weco AI Team", email = "contact@weco.ai" }]
99
description = "Documentation for `weco`, a CLI for using Weco AI's code optimizer."
1010
readme = "README.md"
11-
version = "0.3.9"
11+
version = "0.3.10"
1212
license = { file = "LICENSE" }
1313
requires-python = ">=3.8"
1414
dependencies = [

weco/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def configure_setup_parser(setup_parser: argparse.ArgumentParser) -> None:
189189
"""Configure the setup command parser and its subcommands."""
190190
setup_subparsers = setup_parser.add_subparsers(dest="tool", help="AI tool to set up")
191191
setup_subparsers.add_parser("claude-code", help="Set up Weco skill for Claude Code")
192+
setup_subparsers.add_parser("cursor", help="Set up Weco rules for Cursor")
192193

193194

194195
def configure_resume_parser(resume_parser: argparse.ArgumentParser) -> None:

0 commit comments

Comments
 (0)