@templmf/temp-solf-lmf 0.0.27 → 0.0.29

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 (28) hide show
  1. package/package.json +1 -1
  2. package/skills/code-reviewer/SKILL.md +482 -0
  3. package/skills/daily-qa-skill/SKILL.md +147 -0
  4. package/skills/daily-qa-skill/references/tools.md +130 -0
  5. package/skills/element-plus-vue3/LICENSE.txt +202 -0
  6. package/skills/element-plus-vue3/SKILL.md +218 -0
  7. package/skills/element-plus-vue3/api/component-api.md +94 -0
  8. package/skills/element-plus-vue3/api/global-config.md +89 -0
  9. package/skills/element-plus-vue3/api/props-and-events.md +101 -0
  10. package/skills/element-plus-vue3/examples/components/button.md +99 -0
  11. package/skills/element-plus-vue3/examples/components/date-picker.md +115 -0
  12. package/skills/element-plus-vue3/examples/components/dialog.md +106 -0
  13. package/skills/element-plus-vue3/examples/components/form.md +127 -0
  14. package/skills/element-plus-vue3/examples/components/input.md +123 -0
  15. package/skills/element-plus-vue3/examples/components/message.md +93 -0
  16. package/skills/element-plus-vue3/examples/components/overview.md +59 -0
  17. package/skills/element-plus-vue3/examples/components/select.md +133 -0
  18. package/skills/element-plus-vue3/examples/components/table.md +166 -0
  19. package/skills/element-plus-vue3/examples/guide/design.md +68 -0
  20. package/skills/element-plus-vue3/examples/guide/global-config.md +95 -0
  21. package/skills/element-plus-vue3/examples/guide/i18n.md +95 -0
  22. package/skills/element-plus-vue3/examples/guide/installation.md +110 -0
  23. package/skills/element-plus-vue3/examples/guide/quick-start.md +103 -0
  24. package/skills/element-plus-vue3/examples/guide/theme.md +78 -0
  25. package/skills/element-plus-vue3/templates/component-usage.md +92 -0
  26. package/skills/element-plus-vue3/templates/installation.md +82 -0
  27. package/skills/element-plus-vue3/templates/project-setup.md +83 -0
  28. package/test.md +7 -5
@@ -0,0 +1,83 @@
1
+ # Project Setup Templates
2
+
3
+ ## Vite Project Setup
4
+
5
+ ```bash
6
+ # Create Vite project
7
+ npm create vite@latest my-app -- --template vue
8
+
9
+ # Install dependencies
10
+ cd my-app
11
+ npm install
12
+ npm install element-plus
13
+
14
+ # Install auto-import plugins
15
+ npm install -D unplugin-vue-components unplugin-auto-import
16
+ ```
17
+
18
+ ```javascript
19
+ // vite.config.js
20
+ import { defineConfig } from 'vite'
21
+ import vue from '@vitejs/plugin-vue'
22
+ import AutoImport from 'unplugin-auto-import/vite'
23
+ import Components from 'unplugin-vue-components/vite'
24
+ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
25
+
26
+ export default defineConfig({
27
+ plugins: [
28
+ vue(),
29
+ AutoImport({
30
+ resolvers: [ElementPlusResolver()],
31
+ }),
32
+ Components({
33
+ resolvers: [ElementPlusResolver()],
34
+ }),
35
+ ],
36
+ })
37
+ ```
38
+
39
+ ## Vue CLI Project Setup
40
+
41
+ ```bash
42
+ # Create Vue CLI project
43
+ vue create my-app
44
+
45
+ # Install Element Plus
46
+ cd my-app
47
+ npm install element-plus
48
+ ```
49
+
50
+ ```javascript
51
+ // main.js
52
+ import { createApp } from 'vue'
53
+ import ElementPlus from 'element-plus'
54
+ import 'element-plus/dist/index.css'
55
+ import App from './App.vue'
56
+
57
+ const app = createApp(App)
58
+ app.use(ElementPlus)
59
+ app.mount('#app')
60
+ ```
61
+
62
+ ## Nuxt 3 Project Setup
63
+
64
+ ```bash
65
+ # Create Nuxt 3 project
66
+ npx nuxi@latest init my-app
67
+
68
+ # Install Element Plus
69
+ cd my-app
70
+ npm install element-plus
71
+ ```
72
+
73
+ ```javascript
74
+ // nuxt.config.ts
75
+ import { defineNuxtConfig } from 'nuxt/config'
76
+
77
+ export default defineNuxtConfig({
78
+ css: ['element-plus/dist/index.css'],
79
+ build: {
80
+ transpile: ['element-plus']
81
+ }
82
+ })
83
+ ```
package/test.md CHANGED
@@ -10,7 +10,7 @@ Use this skill when the user mentions any of the following:
10
10
 
11
11
  ## Tool
12
12
 
13
- Internal frontend scaffold CLI: `citic-cli`
13
+ Internal frontend scaffold CLI: `cit-cli`
14
14
 
15
15
  ## Steps
16
16
 
@@ -18,11 +18,13 @@ Internal frontend scaffold CLI: `citic-cli`
18
18
  2. Run the following command to initialize the project:
19
19
 
20
20
  ```bash
21
- citic-cli create <project-name>
21
+ cit-cli create <project-name>
22
22
  ```
23
23
 
24
- 3. Wait for the command to complete
25
- 4. Inform the user that the project has been created and suggest next steps
24
+ 3. After running the command, if the CLI shows an interactive prompt (e.g. template selection, package manager choice), notify the user:
25
+ > "The CLI is waiting for your input. Please switch to the terminal and complete the selections manually."
26
+ 4. Wait for the user to confirm they have finished the interactive steps
27
+ 5. Inform the user that the project has been created and suggest next steps
26
28
 
27
29
  ## Example
28
30
 
@@ -30,7 +32,7 @@ User says: "Help me initialize a project called my-app"
30
32
 
31
33
  Run:
32
34
  ```bash
33
- citic-cli create my-app
35
+ cit-cli create my-app
34
36
  ```
35
37
 
36
38
  ## Notes