ani-skills 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/README.md +11 -5
  2. package/bin/install.js +92 -35
  3. package/package.json +24 -4
package/README.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  ---
6
6
 
7
+ ### Connect & Support
8
+ * 🔗 **LinkedIn**: [Zain Ali Mughal](https://www.linkedin.com/in/zainali-mughal/)
9
+ * 📢 **WhatsApp Channel** (✨ Join for more exclusive drops): 👉 [Join Here](https://whatsapp.com/channel/0029VbBUVv35fM5eAnXw3w2D)
10
+
11
+ ---
12
+
7
13
  ## Table of Contents
8
14
 
9
15
  1. [Overview & Architecture](#1-overview--architecture)
@@ -46,16 +52,16 @@ graph TD
46
52
  C -->|4| G[Local Workspace Copy]
47
53
  C -->|5| H[Rebuild Index]
48
54
 
49
- subgraph Core Library
55
+ subgraph CoreLibrary ["Core Library"]
50
56
  I[skills/ 444 Skills] --> J[SKILL.md Instructions]
51
57
  I --> K[references/ Snippets & Templates]
52
58
  L[boss-prompts/ 22 Boss Prompts] --> M[Agent Orchestration Rules]
53
59
  end
54
60
 
55
- D --> Core Library
56
- E --> Core Library
57
- F --> Core Library
58
- G --> Core Library
61
+ D --> CoreLibrary
62
+ E --> CoreLibrary
63
+ F --> CoreLibrary
64
+ G --> CoreLibrary
59
65
  ```
60
66
 
61
67
  ---
package/bin/install.js CHANGED
@@ -6,6 +6,7 @@
6
6
  const fs = require('fs');
7
7
  const path = require('path');
8
8
  const readline = require('readline');
9
+ const os = require('os');
9
10
  const { execSync } = require('child_process');
10
11
 
11
12
  const rl = readline.createInterface({
@@ -75,31 +76,22 @@ function linkOrCopy(src, dest) {
75
76
  }
76
77
  }
77
78
 
78
- function configureClaude() {
79
- console.log('\nConfiguring Claude Code targets...');
80
- const homeDir = process.env.HOME || process.env.USERPROFILE;
81
- const claudeSkillsDest = path.join(homeDir, '.claude', 'skills');
79
+ function configureEnvironment(envName, skillsDest, commandsDests) {
80
+ console.log(`\nConfiguring ${envName} targets...`);
82
81
 
83
- // Link skills folder
84
- linkOrCopy(skillsSrc, claudeSkillsDest);
85
- console.log(`Claude Code skills successfully configured.`);
86
- rl.question('\nPress Enter to return to main menu...', () => mainMenu());
87
- }
88
-
89
- function configureGemini() {
90
- console.log('\nConfiguring Gemini / Antigravity IDE targets...');
91
- const homeDir = process.env.HOME || process.env.USERPROFILE;
82
+ // Link or copy skills folder
83
+ linkOrCopy(skillsSrc, skillsDest);
92
84
 
93
- // Link skills folder
94
- const geminiSkillsDest = path.join(homeDir, '.gemini', 'skills');
95
- linkOrCopy(skillsSrc, geminiSkillsDest);
96
-
97
- // Link custom commands folder to the global ~/.gemini/commands
98
- const geminiConfSrc = path.join(projectRoot, '.gemini', 'commands');
99
- const geminiConfDest = path.join(homeDir, '.gemini', 'commands');
100
- linkOrCopy(geminiConfSrc, geminiConfDest);
85
+ // Link custom commands folder if provided
86
+ if (commandsDests) {
87
+ const geminiConfSrc = path.join(projectRoot, '.gemini', 'commands');
88
+ const dests = Array.isArray(commandsDests) ? commandsDests : [commandsDests];
89
+ dests.forEach(dest => {
90
+ linkOrCopy(geminiConfSrc, dest);
91
+ });
92
+ }
101
93
 
102
- console.log(`Gemini CLI / Antigravity IDE skills and commands configured.`);
94
+ console.log(`${envName} skills and commands configured successfully.`);
103
95
  rl.question('\nPress Enter to return to main menu...', () => mainMenu());
104
96
  }
105
97
 
@@ -172,38 +164,103 @@ function compileIndex() {
172
164
 
173
165
  function mainMenu() {
174
166
  showBanner();
167
+ const homeDir = process.env.HOME || process.env.USERPROFILE || os.homedir();
175
168
  console.log('Select your target configuration environment:');
176
- console.log('[1] Configure Claude Code CLI (symlink skills & commands)');
177
- console.log('[2] Configure Antigravity IDE / Gemini (install global skills)');
178
- console.log('[3] Generate IDE Rules files (.cursorrules / .clinerules)');
179
- console.log('[4] Copy all 444 skills and commands locally to current directory');
180
- console.log('[5] Compile / Update skills search index');
181
- console.log('[6] Exit');
169
+ console.log(`[1] Configure for Antigravity IDE ${path.join(homeDir, '.gemini', 'config')}`);
170
+ console.log(`[2] Configure for Antigravity 2.0 ${path.join(homeDir, '.gemini', 'antigravity')}`);
171
+ console.log(`[3] Configure for Claude Code CLI ${path.join(homeDir, '.claude')}`);
172
+ console.log(`[4] Configure for Trae ${path.join(homeDir, '.trae')}`);
173
+ console.log(`[5] Configure for Cursor ${path.join(homeDir, '.cursor')}`);
174
+ console.log(`[6] Configure for Kiro ${path.join(homeDir, '.kiro')}`);
175
+ console.log(`[7] Configure for Qoderworker ${path.join(homeDir, '.qoderwork')}`);
176
+ console.log(`[8] Configure for CodeBuddy ${path.join(homeDir, '.codebuddy')}`);
177
+ console.log(`[9] Configure for Cline ${path.join(homeDir, '.cline')}`);
178
+ console.log('[10] Generate IDE Rules files (.cursorrules / .clinerules / etc.)');
179
+ console.log('[11] Copy all 444 skills and commands locally to current directory');
180
+ console.log('[12] Compile / Update skills search index');
181
+ console.log('[13] Exit');
182
182
 
183
- rl.question('\nEnter option (1-6): ', (choice) => {
183
+ rl.question('\nEnter option (1-13): ', (choice) => {
184
184
  switch (choice.trim()) {
185
185
  case '1':
186
- configureClaude();
186
+ configureEnvironment(
187
+ 'Antigravity IDE',
188
+ path.join(homeDir, '.gemini', 'config', 'skills'),
189
+ [path.join(homeDir, '.gemini', 'commands'), path.join(homeDir, '.gemini', 'config', 'commands')]
190
+ );
187
191
  break;
188
192
  case '2':
189
- configureGemini();
193
+ configureEnvironment(
194
+ 'Antigravity 2.0',
195
+ path.join(homeDir, '.gemini', 'antigravity', 'skills'),
196
+ [path.join(homeDir, '.gemini', 'commands'), path.join(homeDir, '.gemini', 'antigravity', 'commands')]
197
+ );
190
198
  break;
191
199
  case '3':
192
- generateRules();
200
+ configureEnvironment(
201
+ 'Claude Code CLI',
202
+ path.join(homeDir, '.claude', 'skills'),
203
+ null
204
+ );
193
205
  break;
194
206
  case '4':
195
- localInstall();
207
+ configureEnvironment(
208
+ 'Trae',
209
+ path.join(homeDir, '.trae', 'skills'),
210
+ null
211
+ );
196
212
  break;
197
213
  case '5':
198
- compileIndex();
214
+ configureEnvironment(
215
+ 'Cursor',
216
+ path.join(homeDir, '.cursor', 'skills'),
217
+ null
218
+ );
199
219
  break;
200
220
  case '6':
221
+ configureEnvironment(
222
+ 'Kiro',
223
+ path.join(homeDir, '.kiro', 'skills'),
224
+ null
225
+ );
226
+ break;
227
+ case '7':
228
+ configureEnvironment(
229
+ 'Qoderworker',
230
+ path.join(homeDir, '.qoderwork', 'skills'),
231
+ null
232
+ );
233
+ break;
234
+ case '8':
235
+ configureEnvironment(
236
+ 'CodeBuddy',
237
+ path.join(homeDir, '.codebuddy', 'skills'),
238
+ null
239
+ );
240
+ break;
241
+ case '9':
242
+ configureEnvironment(
243
+ 'Cline',
244
+ path.join(homeDir, '.cline', 'skills'),
245
+ null
246
+ );
247
+ break;
248
+ case '10':
249
+ generateRules();
250
+ break;
251
+ case '11':
252
+ localInstall();
253
+ break;
254
+ case '12':
255
+ compileIndex();
256
+ break;
257
+ case '13':
201
258
  console.log('Setup completed. Enjoy your Antigravity Agent skills!');
202
259
  rl.close();
203
260
  process.exit(0);
204
261
  break;
205
262
  default:
206
- console.log('Invalid option. Please choose a option from 1 to 6.');
263
+ console.log('Invalid option. Please choose an option from 1 to 13.');
207
264
  rl.question('\nPress Enter to try again...', () => mainMenu());
208
265
  break;
209
266
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ani-skills",
3
- "version": "1.0.0",
4
- "description": "Professional AI Agent Skills library for creative frontend animations, ANI planning, and task automation.",
3
+ "version": "1.0.2",
4
+ "description": "ani-skills is a professional AI Agent Skills library for Cursor, Claude Code, Windsurf, Trae, Cline, and Antigravity IDE, specializing in creative frontend GSAP/ScrollTrigger/Lenis animations, system planning, browser testing, and DSA workflows.",
5
5
  "main": "skills_index.json",
6
6
  "bin": {
7
7
  "ani-skills": "./bin/install.js"
@@ -18,10 +18,30 @@
18
18
  "workflows",
19
19
  "gsap",
20
20
  "scrolltrigger",
21
- "lenis"
21
+ "lenis",
22
+ "cursor",
23
+ "cursorrules",
24
+ "clinerules",
25
+ "windsurfrules",
26
+ "traerules",
27
+ "geminirules",
28
+ "ai-agents",
29
+ "agent-skills",
30
+ "developer-prompts",
31
+ "automation",
32
+ "playwright",
33
+ "puppeteer"
22
34
  ],
23
- "author": "Antigravity Devs",
35
+ "author": "Zain Ali",
24
36
  "license": "MIT",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/usernamezain/ANI-Skills.git"
40
+ },
41
+ "bugs": {
42
+ "url": "https://github.com/usernamezain/ANI-Skills/issues"
43
+ },
44
+ "homepage": "https://github.com/usernamezain/ANI-Skills#readme",
25
45
  "files": [
26
46
  "skills",
27
47
  "commands",