@extension.dev/skill 0.5.1 → 1.0.0

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.
@@ -14,8 +14,8 @@ reference for the pattern.
14
14
 
15
15
  ## Discovering templates
16
16
 
17
- Use the MCP tools: `extension_list_templates` filters the catalog by surface,
18
- framework, tags, or free text, and `extension_get_template_source` reads a
17
+ Use the MCP tool `extension_templates`: `action: "list"` filters the catalog by
18
+ surface, framework, tags, or free text, and `action: "source"` reads a
19
19
  template's files without cloning. These cover discovery end to end.
20
20
 
21
21
  The underlying registry is `templates-meta.json`, a static JSON asset
@@ -39,9 +39,12 @@ the SPA HTML. Use the GitHub release asset or raw.githubusercontent.com.
39
39
  | Content script | `content` | `content-react` | `content-vue` | `content-svelte` | |
40
40
  | Sidebar | `sidebar` | `sidebar-shadcn` | | | `ai-claude` |
41
41
  | Action popup | `action` | | | | `ai-chatgpt` |
42
- | New tab | `new` | `new-react` | `new-vue` | `new-svelte` | |
42
+ | New tab | `newtab` | `newtab-react` | `newtab-vue` | `newtab-svelte` | |
43
43
  | Full framework | `javascript` | `react` | `vue` | `svelte` | |
44
44
 
45
+ `newtab-preact` and `newtab-typescript` cover Preact and plain TypeScript
46
+ for the new tab surface.
47
+
45
48
  For complex content script patterns (multi-level imports, main-world
46
49
  isolation), read `content-multi-one-entry`, `content-multi-three-entries`,
47
50
  and `content-main-world`.
@@ -67,8 +70,8 @@ and zip URLs also work as `--template` values.
67
70
 
68
71
  When building an unfamiliar feature, read the actual source of the closest
69
72
  template instead of recalling API shapes from memory. The MCP tool
70
- `extension_get_template_source` returns a template's files directly. For
71
- browsing by hand, each template lives at:
73
+ `extension_templates` with `action: "source"` returns a template's files
74
+ directly. For browsing by hand, each template lives at:
72
75
 
73
76
  ```
74
77
  https://github.com/extension-js/examples/tree/main/examples/<slug>/src