sheetnext 0.2.10 → 0.2.12

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.
@@ -1,58 +1,46 @@
1
- ---
2
- name: "sheetnext-dev"
3
- description: "Use for SheetNext spreadsheet apps, templates, events, import/export, JSON workbook data, and AI relay integration."
4
- ---
5
-
6
- # SheetNext Development
7
-
8
- Generated from SheetNext API docs on 2026-04-28.
9
-
10
- This is a portable Agent Skill package. `SKILL.md` is the entry point, `references/` contains lazy-loaded API docs, and `adapters/` contains tool-specific setup notes.
11
-
12
- Use the bundled references as the source of truth. Do not invent APIs.
13
-
14
- ## Compatibility
15
-
16
- - Skill-aware agents can install or load this directory directly.
17
- - Any AI coding assistant can use this package by reading this file first, then opening the relevant files in `references/`.
18
- - Tool-specific setup notes live in `adapters/`; they are optional and do not change the source-of-truth API docs.
19
-
20
- ## When To Use
21
-
22
- - Building SheetNext workbook, sheet, row, column, cell, drawing, table, pivot, slicer, formula, event, import/export, or AI relay features.
23
- - Debugging SheetNext integrations or generated spreadsheet code.
24
- - Converting requirements into SheetNext templates, JSON workbook data, or event-driven workflows.
25
-
26
- ## Read Order
27
-
28
- 1. For normal spreadsheet development, read `references/core-api.md`.
29
- 2. For events and hooks, read `references/events.md`.
30
- 3. For constants and enum values, read `references/enums.md`.
31
- 4. For JSON import/export data shape, read `references/json-format.md`.
32
- 5. For built-in AI relay integration, read `references/ai-relay.md`.
33
- 6. For common implementation patterns, read `references/recipes.md`.
34
-
35
- ## API Rules
36
-
37
- - Public API is whatever appears in `references/core-api.md`.
38
- - Deprecated APIs are excluded from the generated references; do not use undocumented old names.
39
- - Internal SheetNext source members start with `_` or `#`; avoid them unless the user is editing SheetNext internals.
40
- - Coordinates are zero-based when using numeric objects. A1 strings such as `"A1"` are one-based Excel-style references.
41
- - Prefer existing SheetNext core APIs over direct DOM access or ad hoc state mutation.
42
- - For templates, prefer `sheet.insertTemplate(...)`.
43
- - For import/export, use `SN.IO`.
44
- - For events, use `SN.Event`.
45
-
46
- ## Workflow
47
-
48
- 1. Identify the target object: `SN`, `Sheet`, `Cell`, `IO`, `Event`, etc.
49
- 2. Search the reference docs for the exact method name and signature before coding.
50
- 3. Generate the smallest working implementation first.
51
- 4. State verification steps and any assumptions about the documented API.
52
-
53
- ## Search Tips
54
-
55
- - Method headings in `core-api.md` start with `####` followed by the signature.
56
- - Class headings use `## ClassName`.
57
- - Event names are grouped in `events.md` under `## Emitted events`.
58
- - Enum names are under `## Enum Types` in `enums.md`.
1
+ ---
2
+ name: "sheetnext-dev"
3
+ description: "Develop SheetNext spreadsheet apps and integrations. Use when building or debugging SheetNext workbook, sheet, cell, formula, event, import/export, JSON workbook data, template, AI relay, drawing, table, pivot, or slicer features."
4
+ ---
5
+
6
+ # SheetNext Development
7
+
8
+ Generated from SheetNext API docs on 2026-06-14.
9
+
10
+ Use the bundled references as the source of truth. Do not invent undocumented APIs.
11
+
12
+ Tool-specific setup notes live in `adapters/`; they are optional and do not change the API contract.
13
+
14
+ ## Read Order
15
+
16
+ 1. For normal spreadsheet development, read `references/core-api.md`.
17
+ 2. For events and hooks, read `references/events.md`.
18
+ 3. For constants and enum values, read `references/enums.md`.
19
+ 4. For JSON import/export data shape, read `references/json-format.md`.
20
+ 5. For built-in AI relay integration, read `references/ai-relay.md`.
21
+ 6. For common implementation patterns, read `references/recipes.md`.
22
+
23
+ ## API Rules
24
+
25
+ - Public API is whatever appears in `references/core-api.md`.
26
+ - Deprecated APIs are excluded from the generated references; do not use undocumented old names.
27
+ - Internal SheetNext source members start with `_` or `#`; avoid them unless the user is editing SheetNext internals.
28
+ - Coordinates are zero-based when using numeric objects. A1 strings such as `"A1"` are one-based Excel-style references.
29
+ - Prefer existing SheetNext core APIs over direct DOM access or ad hoc state mutation.
30
+ - For templates, prefer `sheet.insertTemplate(...)`.
31
+ - For import/export, use `SN.IO`.
32
+ - For events, use `SN.Event`.
33
+
34
+ ## Workflow
35
+
36
+ 1. Identify the target object: `SN`, `Sheet`, `Cell`, `IO`, `Event`, etc.
37
+ 2. Search the reference docs for the exact method name and signature before coding.
38
+ 3. Generate the smallest working implementation first.
39
+ 4. State verification steps and any assumptions about the documented API.
40
+
41
+ ## Search Tips
42
+
43
+ - Method headings in `core-api.md` start with `####` followed by the signature.
44
+ - Class headings use `## ClassName`.
45
+ - Event names are grouped in `events.md` under `## Emitted events`.
46
+ - Enum names are under `## Enum Types` in `enums.md`.
@@ -1,22 +1,22 @@
1
- # ChatGPT And Generic Assistant Adapter
2
-
3
- Use this package by uploading or pasting `SKILL.md` first, then adding the reference files needed for the task.
4
-
5
- ## Minimal Context
6
-
7
- Start with:
8
-
9
- - `SKILL.md`
10
- - `references/core-api.md`
11
-
12
- Add these only when needed:
13
-
14
- - `references/events.md` for event handling.
15
- - `references/enums.md` for constants.
16
- - `references/json-format.md` for import/export data.
17
- - `references/ai-relay.md` for AI workflow integration.
18
- - `references/recipes.md` for short examples.
19
-
20
- ## Prompt
21
-
22
- You are using the SheetNext Dev skill. Read `SKILL.md` first. Use the provided reference files as the source of truth, do not invent APIs, and state which reference files you used.
1
+ # ChatGPT And Generic Assistant Adapter
2
+
3
+ Use this package by uploading or pasting `SKILL.md` first, then adding the reference files needed for the task.
4
+
5
+ ## Minimal Context
6
+
7
+ Start with:
8
+
9
+ - `SKILL.md`
10
+ - `references/core-api.md`
11
+
12
+ Add these only when needed:
13
+
14
+ - `references/events.md` for event handling.
15
+ - `references/enums.md` for constants.
16
+ - `references/json-format.md` for import/export data.
17
+ - `references/ai-relay.md` for AI workflow integration.
18
+ - `references/recipes.md` for short examples.
19
+
20
+ ## Prompt
21
+
22
+ You are using the SheetNext Dev skill. Read `SKILL.md` first. Use the provided reference files as the source of truth, do not invent APIs, and state which reference files you used.
@@ -1,21 +1,21 @@
1
- # Claude Adapter
2
-
3
- Use this package as a Claude skill when the environment supports custom skills. Otherwise, provide the files as project knowledge or attachments.
4
-
5
- ## Skill-Aware Setup
6
-
7
- Install or copy the whole `sheetnext-dev/` directory into the tool-specific skills location, then start a new session and ask the assistant to use the SheetNext Dev skill.
8
-
9
- ## Manual Setup
10
-
11
- Provide `SKILL.md` first. Add only the reference files needed for the current task:
12
-
13
- - `references/core-api.md` for public classes and methods.
14
- - `references/events.md` for event names and payloads.
15
- - `references/enums.md` for constants and enum values.
16
- - `references/json-format.md` for workbook JSON data.
17
- - `references/ai-relay.md` for built-in AI relay integration.
18
-
19
- ## Prompt
20
-
21
- Use `SKILL.md` as the operating guide. Do not invent SheetNext APIs. Search the relevant reference file for exact method names and signatures before producing code.
1
+ # Claude Adapter
2
+
3
+ Use this package as a Claude skill when the environment supports custom skills. Otherwise, provide the files as project knowledge or attachments.
4
+
5
+ ## Skill-Aware Setup
6
+
7
+ Install or copy the whole `sheetnext-dev/` directory into the tool-specific skills location, then start a new session and ask the assistant to use the SheetNext Dev skill.
8
+
9
+ ## Manual Setup
10
+
11
+ Provide `SKILL.md` first. Add only the reference files needed for the current task:
12
+
13
+ - `references/core-api.md` for public classes and methods.
14
+ - `references/events.md` for event names and payloads.
15
+ - `references/enums.md` for constants and enum values.
16
+ - `references/json-format.md` for workbook JSON data.
17
+ - `references/ai-relay.md` for built-in AI relay integration.
18
+
19
+ ## Prompt
20
+
21
+ Use `SKILL.md` as the operating guide. Do not invent SheetNext APIs. Search the relevant reference file for exact method names and signatures before producing code.
@@ -1,21 +1,21 @@
1
- # Codex Adapter
2
-
3
- Use this package as a Codex skill by installing the whole `sheetnext-dev/` directory.
4
-
5
- ## Install From This Repository
6
-
7
- From the `SNEditor` directory:
8
-
9
- ```powershell
10
- Copy-Item -Recurse -Force .\docs\skill\sheetnext-dev "$env:USERPROFILE\.codex\skills\sheetnext-dev"
11
- ```
12
-
13
- Restart Codex after copying the directory.
14
-
15
- ## Repository-Local Use
16
-
17
- If the skill is not installed globally, ask Codex to read `docs/skill/sheetnext-dev/SKILL.md` first and then open the specific reference files required by the task.
18
-
19
- ## Prompt
20
-
21
- Use the SheetNext Dev skill. Read `SKILL.md`, verify exact APIs in `references/core-api.md`, and use `references/events.md`, `references/enums.md`, `references/json-format.md`, or `references/ai-relay.md` only when the task needs them.
1
+ # Codex Adapter
2
+
3
+ Use this package as a Codex skill by installing the whole `sheetnext-dev/` directory.
4
+
5
+ ## Install From This Repository
6
+
7
+ From the `SNEditor` directory:
8
+
9
+ ```powershell
10
+ Copy-Item -Recurse -Force .\docs\skill\sheetnext-dev "$env:USERPROFILE\.codex\skills\sheetnext-dev"
11
+ ```
12
+
13
+ Restart Codex after copying the directory.
14
+
15
+ ## Repository-Local Use
16
+
17
+ If the skill is not installed globally, ask Codex to read `docs/skill/sheetnext-dev/SKILL.md` first and then open the specific reference files required by the task.
18
+
19
+ ## Prompt
20
+
21
+ Use the SheetNext Dev skill. Read `SKILL.md`, verify exact APIs in `references/core-api.md`, and use `references/events.md`, `references/enums.md`, `references/json-format.md`, or `references/ai-relay.md` only when the task needs them.
@@ -1,15 +1,15 @@
1
- # GitHub Copilot Adapter
2
-
3
- GitHub Copilot can use this package through repository instructions and referenced Markdown files.
4
-
5
- ## Recommended Setup
6
-
7
- Add this summary to `.github/copilot-instructions.md` or your workspace instructions:
8
-
9
- ```text
10
- For SheetNext development, use docs/skill/sheetnext-dev/SKILL.md as the guide. The source-of-truth API docs are in docs/skill/sheetnext-dev/references/. Check core-api.md for exact public APIs before writing code. Use events.md, enums.md, json-format.md, and ai-relay.md only when the task needs those areas.
11
- ```
12
-
13
- ## Usage
14
-
15
- Reference specific files in prompts when possible, for example: `Use docs/skill/sheetnext-dev/references/events.md to wire the event handler`.
1
+ # GitHub Copilot Adapter
2
+
3
+ GitHub Copilot can use this package through repository instructions and referenced Markdown files.
4
+
5
+ ## Recommended Setup
6
+
7
+ Add this summary to `.github/copilot-instructions.md` or your workspace instructions:
8
+
9
+ ```text
10
+ For SheetNext development, use docs/skill/sheetnext-dev/SKILL.md as the guide. The source-of-truth API docs are in docs/skill/sheetnext-dev/references/. Check core-api.md for exact public APIs before writing code. Use events.md, enums.md, json-format.md, and ai-relay.md only when the task needs those areas.
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Reference specific files in prompts when possible, for example: `Use docs/skill/sheetnext-dev/references/events.md to wire the event handler`.
@@ -1,17 +1,17 @@
1
- # Cursor Adapter
2
-
3
- Cursor can use this package as repository knowledge even when it does not auto-load Agent Skills.
4
-
5
- ## Recommended Setup
6
-
7
- Keep `docs/skill/sheetnext-dev/` in the repository. Add a short project rule that points Cursor to the skill entry point and references.
8
-
9
- Suggested rule text:
10
-
11
- ```text
12
- For SheetNext work, read docs/skill/sheetnext-dev/SKILL.md first. Treat docs/skill/sheetnext-dev/references/ as the source of truth. Verify public APIs in references/core-api.md before generating code, and use events.md, enums.md, json-format.md, or ai-relay.md only when relevant.
13
- ```
14
-
15
- ## Usage
16
-
17
- When requesting SheetNext work, mention the relevant area, such as events, JSON import/export, templates, formulas, or AI relay. Ask Cursor to search the matching reference before editing.
1
+ # Cursor Adapter
2
+
3
+ Cursor can use this package as repository knowledge even when it does not auto-load Agent Skills.
4
+
5
+ ## Recommended Setup
6
+
7
+ Keep `docs/skill/sheetnext-dev/` in the repository. Add a short project rule that points Cursor to the skill entry point and references.
8
+
9
+ Suggested rule text:
10
+
11
+ ```text
12
+ For SheetNext work, read docs/skill/sheetnext-dev/SKILL.md first. Treat docs/skill/sheetnext-dev/references/ as the source of truth. Verify public APIs in references/core-api.md before generating code, and use events.md, enums.md, json-format.md, or ai-relay.md only when relevant.
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ When requesting SheetNext work, mention the relevant area, such as events, JSON import/export, templates, formulas, or AI relay. Ask Cursor to search the matching reference before editing.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "SheetNext Dev"
3
+ short_description: "Build SheetNext spreadsheet features with API references."
4
+ default_prompt: "Use $sheetnext-dev to build SheetNext spreadsheet features with the documented API references."
5
+
6
+ policy:
7
+ allow_implicit_invocation: true