lynxprompt 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,9 +5,18 @@ Generate AI IDE configuration files from your terminal.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- # Install globally
8
+ # npm (cross-platform)
9
9
  npm install -g lynxprompt
10
10
 
11
+ # Homebrew (macOS)
12
+ brew install GeiserX/lynxprompt/lynxprompt
13
+
14
+ # Chocolatey (Windows)
15
+ choco install lynxprompt
16
+
17
+ # Snap (Linux)
18
+ snap install lynxprompt
19
+
11
20
  # Or use with npx
12
21
  npx lynxprompt
13
22
  ```
@@ -17,85 +26,136 @@ The CLI is available as both `lynxprompt` and the short alias `lynxp`.
17
26
  ## Quick Start
18
27
 
19
28
  ```bash
20
- # Initialize LynxPrompt in your project
21
- lynxp init
22
-
23
- # Or use the interactive wizard for a guided setup
29
+ # Generate an AI config file (recommended for most users)
24
30
  lynxp wizard
25
31
 
26
- # Login to your LynxPrompt account
27
- lynxp login
32
+ # Quick generation with defaults (creates AGENTS.md)
33
+ lynxp wizard -y
28
34
 
29
- # List your blueprints
30
- lynxp list
35
+ # Generate for Cursor specifically
36
+ lynxp wizard -f cursor
37
+
38
+ # Login to sync with LynxPrompt cloud
39
+ lynxp login
31
40
 
32
- # Download a blueprint
41
+ # Download a blueprint from marketplace
33
42
  lynxp pull bp_abc123
43
+
44
+ # Check config status
45
+ lynxp status
34
46
  ```
35
47
 
36
48
  ## Commands
37
49
 
38
- ### Initialize (`lynxp init`)
50
+ ### Wizard (`lynxp wizard`) ⭐ Recommended
51
+
52
+ Interactive wizard for generating AI IDE configurations:
53
+
54
+ ```bash
55
+ # Interactive mode
56
+ lynxp wizard
57
+
58
+ # Quick mode with defaults (generates AGENTS.md)
59
+ lynxp wizard -y
60
+
61
+ # Generate for specific format
62
+ lynxp wizard -f cursor # .cursor/rules/
63
+ lynxp wizard -f agents # AGENTS.md (universal)
64
+ lynxp wizard -f copilot # .github/copilot-instructions.md
65
+
66
+ # Generate multiple formats
67
+ lynxp wizard -f agents,cursor,copilot
68
+
69
+ # Non-interactive with all options
70
+ lynxp wizard \
71
+ --name "my-api" \
72
+ --description "REST API for user management" \
73
+ --stack typescript,express \
74
+ --format cursor \
75
+ --persona backend \
76
+ --boundaries conservative \
77
+ --yes
78
+ ```
39
79
 
40
- Initialize LynxPrompt in your project. This command:
80
+ ### Check (`lynxp check`)
41
81
 
42
- 1. Scans for existing AI config files (AGENTS.md, .cursorrules, etc.)
43
- 2. Imports them or creates a starter template
44
- 3. Sets up the `.lynxprompt/` directory structure
82
+ Validate AI configuration files for CI/CD pipelines:
45
83
 
46
84
  ```bash
47
- # Interactive initialization
48
- lynxp init
85
+ # Interactive validation
86
+ lynxp check
87
+
88
+ # CI mode (exit code 0=pass, 1=fail)
89
+ lynxp check --ci
90
+ ```
49
91
 
50
- # Non-interactive (auto-import existing files)
51
- lynxp init --yes
92
+ ### Status (`lynxp status`)
52
93
 
53
- # Re-initialize even if already set up
54
- lynxp init --force
94
+ Show current AI configuration and tracked blueprints:
95
+
96
+ ```bash
97
+ lynxp status
55
98
  ```
56
99
 
57
- After initialization, your project will have:
100
+ ### Pull (`lynxp pull`)
101
+
102
+ Download and track a blueprint from the marketplace:
103
+
104
+ ```bash
105
+ # Download and track
106
+ lynxp pull bp_abc123
107
+
108
+ # Preview content first
109
+ lynxp pull bp_abc123 --preview
58
110
 
111
+ # Don't track for future syncs
112
+ lynxp pull bp_abc123 --no-track
59
113
  ```
60
- .lynxprompt/
61
- ├── conf.yml # Configuration (exporters, sources)
62
- ├── rules/ # Your rules (edit here!)
63
- │ └── agents.md # Starter rules file
64
- ├── README.md # Documentation
65
- └── .gitignore # Ignores local state files
114
+
115
+ ### Link / Unlink
116
+
117
+ Connect local files to cloud blueprints:
118
+
119
+ ```bash
120
+ # Link existing file to blueprint
121
+ lynxp link AGENTS.md bp_abc123
122
+
123
+ # List all tracked blueprints
124
+ lynxp link --list
125
+
126
+ # Disconnect from cloud
127
+ lynxp unlink AGENTS.md
66
128
  ```
67
129
 
68
- ### Wizard (`lynxp wizard`)
130
+ ### Diff
69
131
 
70
- Interactive wizard for generating AI IDE configurations with full customization:
132
+ Show changes between local and cloud:
71
133
 
72
134
  ```bash
73
- # Start the interactive wizard
74
- lynxp wizard
135
+ # Compare with cloud blueprint
136
+ lynxp diff bp_abc123
75
137
 
76
- # Non-interactive mode with all options
77
- lynxp wizard \
78
- --name "my-api" \
79
- --description "REST API for user management" \
80
- --stack typescript,express \
81
- --platforms cursor,claude \
82
- --persona backend \
83
- --boundaries conservative \
84
- --yes
138
+ # Compare local rules with exports
139
+ lynxp diff --local
85
140
  ```
86
141
 
87
- **Options:**
142
+ ### Search (`lynxp search`)
143
+
144
+ Search public blueprints in the marketplace:
88
145
 
89
- | Flag | Description |
90
- |------|-------------|
91
- | `-n, --name` | Project name |
92
- | `-d, --description` | Project description |
93
- | `-s, --stack` | Tech stack (comma-separated) |
94
- | `-p, --platforms` | Target platforms (comma-separated) |
95
- | `--persona` | AI persona (backend, frontend, fullstack, devops, data, security) |
96
- | `--boundaries` | Boundary preset (conservative, standard, permissive) |
97
- | `--preset` | Agent preset (test-agent, docs-agent, etc.) |
98
- | `-y, --yes` | Skip prompts, use defaults |
146
+ ```bash
147
+ lynxp search "nextjs typescript"
148
+ lynxp search react --limit 10
149
+ ```
150
+
151
+ ### List (`lynxp list`)
152
+
153
+ List your own blueprints:
154
+
155
+ ```bash
156
+ lynxp list
157
+ lynxp list --visibility PUBLIC
158
+ ```
99
159
 
100
160
  ### Authentication
101
161
 
@@ -110,64 +170,53 @@ lynxp whoami
110
170
  lynxp logout
111
171
  ```
112
172
 
113
- ### Blueprints
173
+ ### Advanced: Init and Sync
174
+
175
+ For power users who want to manage rules across multiple AI editors:
114
176
 
115
177
  ```bash
116
- # List your blueprints
117
- lynxp list
118
- lynxp list --visibility PUBLIC
119
- lynxp list --limit 50
178
+ # Initialize .lynxprompt/ folder
179
+ lynxp init
120
180
 
121
- # Download a blueprint
122
- lynxp pull bp_abc123
123
- lynxp pull bp_abc123 --output ./config
181
+ # Sync rules to all configured agents
182
+ lynxp sync
183
+ lynxp sync --dry-run # Preview changes
124
184
 
125
- # Search public blueprints
126
- lynxp search "nextjs typescript"
185
+ # Manage AI agents
186
+ lynxp agents
187
+ ```
188
+
189
+ ## Blueprint Tracking
190
+
191
+ When you pull a blueprint, LynxPrompt tracks it in `.lynxprompt/blueprints.yml`:
192
+
193
+ - **Marketplace blueprints** - Read-only, can pull updates but changes won't sync back
194
+ - **Team blueprints** - Full sync, push and pull changes with your team
195
+ - **Private blueprints** - Your own, full control
127
196
 
128
- # Check current config status
197
+ ```bash
198
+ # See all tracked blueprints
129
199
  lynxp status
200
+
201
+ # Or
202
+ lynxp link --list
130
203
  ```
131
204
 
132
205
  ## Environment Variables
133
206
 
134
207
  | Variable | Description |
135
208
  |----------|-------------|
136
- | `LYNXPROMPT_TOKEN` | API token (alternative to login) |
209
+ | `LYNXPROMPT_TOKEN` | API token for CI/CD (skips browser auth) |
137
210
  | `LYNXPROMPT_API_URL` | Custom API URL (for development) |
138
211
 
139
- ## Project Structure
140
-
141
- LynxPrompt uses a simple directory structure:
142
-
143
- - **`.lynxprompt/conf.yml`** - Configuration file with exporters and sources
144
- - **`.lynxprompt/rules/`** - Your rules in markdown format (single source of truth)
145
-
146
- **Workflow:**
147
-
148
- 1. Edit rules in `.lynxprompt/rules/`
149
- 2. Run `lynxp sync` to export to agent formats (AGENTS.md, .cursorrules, etc.)
150
- 3. Your AI assistants pick up the changes automatically
151
-
152
- ## Configuration File
153
-
154
- The `conf.yml` file controls how rules are exported:
212
+ ## CI/CD Integration
155
213
 
156
214
  ```yaml
157
- version: "1"
158
- exporters:
159
- - agents # AGENTS.md (Claude, Copilot, etc.)
160
- - cursor # .cursorrules
161
- sources:
162
- - type: local
163
- path: .lynxprompt/rules
215
+ # GitHub Actions example
216
+ - name: Validate AI config
217
+ run: npx lynxprompt check --ci
164
218
  ```
165
219
 
166
- ## API Access
167
-
168
- API access requires a Pro, Max, or Teams subscription. Generate tokens at:
169
- https://lynxprompt.com/settings?tab=api-tokens
170
-
171
220
  ## Documentation
172
221
 
173
222
  Full documentation: https://lynxprompt.com/docs/cli