needware-cli 1.6.9 → 1.6.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "needware-cli",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "description": "一个功能强大的 Node.js 命令行工具",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: add-skill-integration
3
+ description: Create new skills to integrate third-party services or features into user projects. Use this skill when adding new service integrations.
4
+ ---
5
+
6
+ # Add Skill Integration
7
+
8
+ ## Overview
9
+
10
+ This skill guides you on how to install skills into user projects. Skills are modular integration guides that help integrate third-party services and features.
11
+
12
+ ## When to Use This Skill
13
+
14
+ Use this skill when users:
15
+ - Need to add new service integrations (databases, APIs, etc.)
16
+ - Want to create custom skill documentation
17
+
18
+ ## Quick Start
19
+
20
+ ### Install Skills
21
+
22
+ Use `add-skill` to install skills from a Git repository to your agent:
23
+
24
+ ```bash
25
+
26
+ # Install to Claude Code
27
+ npx add-skill https://github.com/your-org/your-skills -a claude-code -y
28
+
29
+ # GitHub shorthand
30
+ npx add-skill vercel-labs/agent-skills -a claude-code -y
31
+
32
+ # Full GitHub URL
33
+ npx add-skill https://github.com/vercel-labs/agent-skills -a claude-code -y
34
+
35
+ # Direct path to a skill in a repo
36
+ npx add-skill https://github.com/vercel-labs/agent-skills/tree/main/skills/ frontend-design -a claude-code -y
37
+
38
+ # GitLab URL
39
+ npx add-skill https://gitlab.com/org/repo -a claude-code -y
40
+
41
+ # Any git URL
42
+ npx add-skill git@github.com:vercel-labs/agent-skills.git -a claude-code -y
43
+ ### Supported Agents
44
+
45
+ - More agents see [add-skill documentation](https://github.com/vercel-labs/add-skill)
46
+
47
+ ```
48
+
49
+ ## Example References
50
+
51
+ Reference existing skill implementations:
52
+
53
+ - [Vercel Agent Skills](https://github.com/vercel-labs/agent-skills)
54
+ - [Remotion Skills](https://github.com/remotion-dev/skills)
55
+
56
+
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: supabase-integration
3
- description: Complete Supabase integration for React applications including database setup, authentication, storage, and Edge Functions. Use this skill when users mention Supabase, databases, user authentication, file storage, "Enable Cloud", or backend functionality. 使用此技能处理 Supabase 数据库、用户认证、文件存储、Edge Functions 等后端功能。
3
+ description: Complete Supabase integration for React applications including database setup, authentication, storage, and Edge Functions. Use this skill when users mention Supabase, databases, user authentication, file storage, "Enable Cloud", or backend functionality.
4
4
  ---
5
5
 
6
6
  # Supabase Integration
@@ -37,8 +37,6 @@ Check if Supabase is already integrated:
37
37
 
38
38
  Complete guide for integrating Supabase into React applications with database, authentication, storage, and serverless functions.
39
39
 
40
- Supabase 集成指南,包括数据库、认证、存储和 Edge Functions。
41
-
42
40
  ## Quick Start
43
41
 
44
42
  ### When to Use This Skill
@@ -51,7 +49,9 @@ Use this skill when working with:
51
49
  - Real-time data subscriptions
52
50
  - Row Level Security (RLS) policies
53
51
 
54
- **关键原则**: 默认使用 Supabase 作为数据库和后端服务,除非用户明确指定其他方案。
52
+ **Key Principles**:
53
+ 1. Use Supabase as the default database and backend service unless explicitly specified otherwise by the user.
54
+ 2. **Do not add user authentication unless explicitly requested by the user.** Only implement authentication features when the user specifically asks for login, signup, or user management functionality.
55
55
 
56
56
  ## Initial Setup
57
57
 
@@ -192,19 +192,19 @@ export const supabase = createClient(supabaseUrl, supabaseKey);
192
192
  ### Authentication Examples
193
193
 
194
194
  ```typescript
195
- // 注册
195
+ // Sign up
196
196
  const { data, error } = await supabase.auth.signUp({
197
197
  email: 'user@example.com',
198
198
  password: 'securepassword'
199
199
  });
200
200
 
201
- // 登录
201
+ // Sign in
202
202
  const { data, error } = await supabase.auth.signInWithPassword({
203
203
  email: 'user@example.com',
204
204
  password: 'securepassword'
205
205
  });
206
206
 
207
- // 登出
207
+ // Sign out
208
208
  const { error } = await supabase.auth.signOut();
209
209
  ```
210
210
 
@@ -226,7 +226,7 @@ CREATE TABLE IF NOT EXISTS profiles (
226
226
 
227
227
  ALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
228
228
 
229
- -- 添加策略
229
+ -- Add policies
230
230
  CREATE POLICY "Users can view all profiles"
231
231
  ON profiles
232
232
  FOR SELECT