Skip to content
Open
Show file tree
Hide file tree
Changes from 93 commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
23ab1a4
Merge branch 'release/3.5.0' into develop
sequba Oct 9, 2026
05c1a29
Fix EDATE returning 28 February instead of 29 February in leap years …
GreenFlux Oct 13, 2026
f2c266c
Hotfix/move docs to handsontable com (merge to develop) (#1822)
sequba Oct 15, 2026
17dde02
Stop publishing the docs to GitHub Pages (#1824)
sequba Oct 15, 2026
e7e4aae
Wait up to 10 minutes for the published package to appear on npm in t…
sequba Oct 15, 2026
a196cee
Add a postinstall message that points to the SKILLS file (#1829)
AMBudnik Oct 20, 2026
b79ec66
HF-359: Turn the repository into a monorepo, and rebuild the develope…
sequba Oct 20, 2026
dd3e92b
HF-359: Write down the code review rules in dev-docs (#1831)
sequba Oct 20, 2026
5378551
HF-359: Import the formula builder core as hyperformula-ui (#1832)
sequba Oct 21, 2026
b0c1b5e
HF-359: Split the hyperformula-ui release guide into first and later …
sequba Oct 21, 2026
79899ee
Release hyperformula-ui 0.3.5
sequba Oct 21, 2026
cb5ecc3
Change the hyperformula-ui licence to MIT (#1840)
sequba Oct 22, 2026
d143456
Exclude the hyperformula-ui demo and e2e workspaces from FOSSA (#1841)
sequba Oct 22, 2026
5fa08cb
DEV-3554: Fix the hyperformula-ui issues found in the Handsontable fo…
adrianspdev Oct 26, 2026
dec3b0e
Release hyperformula-ui 0.3.6
sequba Oct 26, 2026
c6f0237
Revert the postinstall message that points to the SKILLS file (#1829)…
marcin-kordas-hoc Oct 27, 2026
87e2fe0
Migrate the documentation portal from VuePress to Astro Starlight (#1…
GreenFlux Oct 29, 2026
a650605
HF-270: Exporter honours evaluateNullToZero for bare empty cells (#1738)
marcin-kordas-hoc Nov 3, 2026
54565bd
feat(HF-221): add LINEST regression function (#1769)
Tobiadefami Nov 3, 2026
a49cddd
Code review: measure the expected values a review proposes (#1869)
Tobiadefami Nov 3, 2026
16c1caf
Fix approximate lookup type compatibility (#1755)
Tobiadefami Nov 3, 2026
e6150c3
Add CONCAT and VALUETOTEXT functions (HF-464, HF-462) (#1816)
marcin-kordas-hoc Nov 4, 2026
354e075
Add a security policy with a private reporting channel (#1871)
sequba Nov 4, 2026
98e374c
List CodeQL static analysis on the Quality & Security page (#1872)
sequba Nov 4, 2026
0f902d9
Add an AI assistance section to the PR template and the dev-docs (#1875)
sequba Nov 4, 2026
e01b549
Update GitHub Actions, pin them by SHA, and add Dependabot (#1874)
sequba Nov 4, 2026
ec7512d
fix(HF-268): support consecutive percent operators (#1773)
Tobiadefami Nov 5, 2026
3aa0854
Return #SPILL! for unbounded arrays entered with setCellContents (#1797)
Tobiadefami Nov 5, 2026
a43aa9f
Accept number literals with an uppercase exponent (HF-553) (#1835)
marcin-kordas-hoc Nov 6, 2026
5a6eb09
Add JSDoc to AbsoluteCellRange.ts (#1680)
marcin-kordas-hoc Nov 6, 2026
fe3a591
Change the HyperFormula license from GPLv3 to proprietary (#1885)
sequba Nov 9, 2026
3681fc9
Return #SPILL! when an array result outgrows its reserved area (HF-56…
Tobiadefami Nov 11, 2026
ffa0adc
fix: bound ParserWithCaching cache growth (HF-105) (#1760)
Tobiadefami Nov 11, 2026
ec10dbf
fix(HF-135): return #SPILL! for spills past the sheet limits (#1774)
Tobiadefami Nov 11, 2026
6c5fe0f
Feature/averageifs function (#1732)
Tobiadefami Nov 12, 2026
9ea0720
Add TYPE and ERROR.TYPE functions (HF-488, HF-489) (#1813)
marcin-kordas-hoc Nov 15, 2026
d000e9c
HF-160: ADDRESS drops the sheet separator when sheetName is empty (#1…
marcin-kordas-hoc Nov 16, 2026
b989abc
Add GESTEP function (HF-481) (#1788)
marcin-kordas-hoc Nov 16, 2026
d31ed15
Feature/choosecols function (#1734)
Tobiadefami Nov 16, 2026
2e7921c
Add CHOOSEROWS function (HF-385) (#1827)
Tobiadefami Nov 16, 2026
399c25c
Add ACCRINTM, DISC, INTRATE, PRICEDISC, RECEIVED and YIELDDISC functi…
Tobiadefami Nov 16, 2026
dc13e72
Feature/take function (#1722)
Tobiadefami Nov 16, 2026
82961ea
docs(guide): explain why date functions return #VALUE! for ISO date s…
AMBudnik Nov 16, 2026
2b0830e
Add the docs assistant (Ask AI) and the page actions to the documenta…
GreenFlux Nov 17, 2026
8885704
Replace LICENSE.txt with the approved proprietary license text (#1902)
sequba Nov 17, 2026
62e8539
docs: Show Support replies in the Ask AI widget (SU-1130) (#1903)
AMBudnik Nov 18, 2026
792a094
Add the #CALC! error type (HF-134) (#1889)
Tobiadefami Nov 19, 2026
293c595
Make the INDEX function Excel-compatible (HF-224) (#1890)
Tobiadefami Nov 19, 2026
f63be1a
Return #VALUE! for text and the error itself for an error in FILTER's…
Tobiadefami Nov 19, 2026
91f4681
Add FORECAST.LINEAR, INTERCEPT, TREND, GROWTH and LOGEST functions (#…
Tobiadefami Nov 19, 2026
1c7093a
Fix IMSUM, IMPRODUCT and TEXTJOIN throwing RangeError for large range…
marcin-kordas-hoc Nov 19, 2026
b0eba44
Add RANK.EQ function and RANK alias (HF-419) (#1786)
marcin-kordas-hoc Nov 19, 2026
8680793
Add COUPDAYBS, COUPDAYS, COUPDAYSNC, COUPNCD, COUPNUM and COUPPCD fun…
Tobiadefami Nov 19, 2026
0a3a0ed
Add PRICE and DURATION functions (#1848)
Tobiadefami Nov 19, 2026
8225c50
Add ACCRINT function (#1812)
Tobiadefami Nov 19, 2026
584e0ac
Add ODDFPRICE and ODDLPRICE functions (#1850)
Tobiadefami Nov 19, 2026
1ee3cf8
Remove the gpl-v3 license key from the engine, tests and docs (#1905)
sequba Nov 19, 2026
9ea6b41
Use the light/dark HyperFormula logo in the READMEs (#1900)
demtario Nov 19, 2026
b29982e
fix: an empty string is no longer coerced to 0 in numeric contexts (H…
marcin-kordas-hoc Nov 19, 2026
47a6572
Add YIELD, ODDFYIELD and ODDLYIELD functions (#1851)
Tobiadefami Nov 20, 2026
930e3fa
Add MDURATION function (#1849)
Tobiadefami Nov 20, 2026
c99b1dd
Add DROP function (HF-384) (#1796)
Tobiadefami Nov 20, 2026
c494544
Add TRIMRANGE function (HF-391) (#1842)
Tobiadefami Nov 20, 2026
16a7649
Add WRAPROWS, WRAPCOLS and EXPAND functions (HF-390, HF-389, HF-386) …
Tobiadefami Nov 20, 2026
576d838
Return #CALC! when TAKE takes nothing and DROP drops everything (HF-1…
Tobiadefami Nov 20, 2026
5691c8a
DEV-4055: Sync the error popup when markCell changes or clears a cell…
Haxikowy Nov 23, 2026
a29ae31
HF-599: error cell's aria-errormessage fails axe (#1897)
Haxikowy Nov 23, 2026
462cf9b
Release hyperformula-ui 0.3.7
sequba Nov 23, 2026
92e7cba
Add PERCENTRANK.INC, MODE.MULT, FREQUENCY and PROB functions (HF-421,…
marcin-kordas-hoc Nov 23, 2026
9dcd615
Keep the if_not_found reference of XLOOKUP over an array of missing k…
marcin-kordas-hoc Nov 23, 2026
4db39f1
Link the list of differences from the built-in functions page (IT-474…
sequba Nov 23, 2026
dc39c98
Add a rules-file block and a setup check to the coding-agent guide (I…
sequba Nov 23, 2026
f649959
Make two docs sections understandable on their own (IT-474) (#1910)
sequba Nov 23, 2026
80c53b5
Generate llms.txt for the HyperFormula docs (IT-474) (#1909)
sequba Nov 23, 2026
bd3687b
Add KURT, MODE.SNGL, PERCENTRANK.EXC and TRIMMEAN functions (HF-427, …
marcin-kordas-hoc Nov 23, 2026
d56fd5d
Re-take the entitlement-key reader from upstream 7.0.0 (HF-307) (#1844)
marcin-kordas-hoc Nov 23, 2026
7d3048f
fix(format): support thousands grouping and format sections in number…
marcin-kordas-hoc Nov 24, 2026
bf4cde1
Add PRICEMAT and YIELDMAT functions (#1811)
Tobiadefami Nov 24, 2026
2aaab7d
docs(guide): how to load many sheets without paying for it (HF-360) (…
marcin-kordas-hoc Nov 25, 2026
8e8b8ae
Docs: add an og:image social preview tag (#1915)
GreenFlux Nov 25, 2026
85b5ec0
Docs: add a description to every guide page (#1916)
GreenFlux Nov 25, 2026
c214afe
Docs: make the LICENSE.txt link in the changelog absolute (#1917)
sequba Nov 25, 2026
bac106e
Docs: link the migration guide on handsontable.com in the changelog (…
sequba Nov 25, 2026
26ac96d
Allow HyperFormula 4 as the hyperformula-ui peer dependency (#1919)
sequba Nov 25, 2026
e03a995
Docs: mark the evaluateNullToZero export change as breaking (#1920)
sequba Nov 25, 2026
4669b57
Docs: replace StackBlitz with a "Source code" toggle (HF-628) (#1921)
sequba Nov 25, 2026
20eb0ea
Docs: CONCAT is new in 4.0, so it did not return #VALUE! in 3.x (#1922)
sequba Nov 25, 2026
b8cf514
Docs: link the migration guide from the license change entry (#1923)
sequba Nov 25, 2026
82290e1
4.0.0
sequba Nov 26, 2026
cb32952
Build tests and lint with the engine's TypeScript
sequba Nov 26, 2026
2dad1d1
Docs build: resolve the typedoc theme's plugin from the engine's dire…
sequba Nov 26, 2026
baa6557
Docs: drop the TypeScript tab from the examples' source code (#1927)
sequba Nov 26, 2026
0840cf4
Include third-party license notices in the dist bundles (#1928)
sequba Nov 26, 2026
9f4d31b
Docs: trim the 4.0.0 changelog (#1929)
sequba Nov 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .ai/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `.ai/`

Everything an AI agent needs is in [`dev-docs/`](../dev-docs/README.md). This directory holds nothing else.
23 changes: 23 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"enabledPlugins": {
"typescript-lsp@claude-plugins-official": true
},
"permissions": {
"deny": [
"Read(/hyperformula/lib/**)",
"Read(/hyperformula/es/**)",
"Read(/hyperformula/commonjs/**)",
"Read(/hyperformula/dist/**)",
"Read(/hyperformula/languages/**)",
"Read(/hyperformula/typings/**)",
"Read(/hyperformula/coverage/**)",
"Read(/hyperformula/test-jest/**)",
"Read(/hyperformula/test-jasmine/**)",
"Read(/hyperformula/typedoc/**)",
"Read(/hyperformula/storage/**)",
"Read(/hyperformula-ui/packages/core/dist/**)",
"Read(/docs/functions/**)",
"Read(/docs/dist/**)"
]
}
}
19 changes: 19 additions & 0 deletions .claude/skills/changelog-creation/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: changelog-creation
description: Use when a change to source code needs a changelog entry, and before pushing any bug fix, feature, or behaviour change. Covers when an entry is required, which section it belongs in, how to write the title, and the link format.
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`DOC-STANDARDS.md`](../../../dev-docs/DOC-STANDARDS.md#the-changelog) | Whether an entry is needed, which changelog and section, the bullet format, and how to write the text |
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md#order-of-operations) | Why the entry comes after the pull request, and where its number comes from |
| [`SENSITIVE-INFORMATION.md`](../../../dev-docs/SENSITIVE-INFORMATION.md) | What must never appear in the entry |

## 2. Work through them in order

1. Decide whether an entry is needed at all — the "No entry is needed" paragraph of [The changelog](../../../dev-docs/DOC-STANDARDS.md#the-changelog).
2. Open the pull request first, if it is not open yet — skill `pr-creation`, and steps 3–5 of the [order of operations](../../../dev-docs/DEFINITION-OF-DONE.md#order-of-operations).
3. Write the bullet as [The changelog](../../../dev-docs/DOC-STANDARDS.md#the-changelog) describes, and check it against [`SENSITIVE-INFORMATION.md`](../../../dev-docs/SENSITIVE-INFORMATION.md).
4. Push it to the same branch.
32 changes: 32 additions & 0 deletions .claude/skills/hyperformula-code-review/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: hyperformula-code-review
description: Use when reviewing a diff, a branch, or a pull request in the HyperFormula repository, in the engine or in the hyperformula-ui formula editor. Covers the review order, correctness and Excel compatibility for a calculation engine, performance on the hot paths, the six places a function change must touch, the formula editor's invariants, the public API, what the definition of done requires, and how to report findings.
---

## 1. Read the relevant files from `dev-docs/`

Always:

| File | Why |
|---|---|
| [`CODE-REVIEW.md`](../../../dev-docs/CODE-REVIEW.md) | How to review: principles, review order, review-specific checks, reporting |
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change was required to contain |
| [`TESTING.md`](../../../dev-docs/TESTING.md#a-test-must-prove-behaviour) | Whether the tests prove anything, or only execute code |

Then, for each part of the repository the diff touches:

| Diff touches | Read |
|---|---|
| `hyperformula/` | [`REVIEWING.md`](../../../hyperformula/dev-docs/REVIEWING.md) for what to look for in each category, and [`CODE-STYLE.md`](../../../dev-docs/CODE-STYLE.md) for style and the hot paths |
| `hyperformula-ui/` | [`REVIEWING.md`](../../../hyperformula-ui/dev-docs/REVIEWING.md) for what to look for in each category, the editor's invariants among them, and [`CODE-STYLE.md`](../../../hyperformula-ui/dev-docs/CODE-STYLE.md) for its own conventions |

For an engine change, also the page covering what the diff touches: [`ARCHITECTURE.md`](../../../hyperformula/dev-docs/ARCHITECTURE.md), [`PARSER.md`](../../../hyperformula/dev-docs/PARSER.md), [`INTERPRETER.md`](../../../hyperformula/dev-docs/INTERPRETER.md), [`DEPENDENCY-GRAPH.md`](../../../hyperformula/dev-docs/DEPENDENCY-GRAPH.md), [`FUNCTION-CATALOGUE.md`](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md), [`I18N.md`](../../../hyperformula/dev-docs/I18N.md), [`LICENSING.md`](../../../hyperformula/dev-docs/LICENSING.md), [`EXCEL-COMPATIBILITY.md`](../../../hyperformula/dev-docs/EXCEL-COMPATIBILITY.md), [`PUBLIC-API.md`](../../../hyperformula/dev-docs/PUBLIC-API.md).

## 2. Work through them in order

1. Review each category in the [review order](../../../dev-docs/CODE-REVIEW.md#review-order), using the checks for it in the `REVIEWING.md` of the part the diff touches. Stop to report the first serious finding.
2. Go through [The change follows our guidelines](../../../dev-docs/CODE-REVIEW.md#the-change-follows-our-guidelines) and the [review-specific checks](../../../dev-docs/CODE-REVIEW.md#review-specific-checks).

## 3. You report; the developer decides

Report each finding with its label, as [Reporting findings](../../../dev-docs/CODE-REVIEW.md#reporting-findings) describes. Apply a fix only when asked.
40 changes: 40 additions & 0 deletions .claude/skills/hyperformula-dev/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: hyperformula-dev
description: >
Use for ANY work touching the HyperFormula engine in `hyperformula/src/`: fixing bugs, adding features,
changing the public API, working on the parser, the interpreter, the dependency graph,
CRUD operations, configuration options, named expressions, or number and date formats.
Also use for how-to questions about engine internals (how recalculation works, why a formula
returns an error, where a value is coerced). Triggers on file paths under `hyperformula/src/`, or when the
user describes a symptom in a calculation without naming a file. This is the primary entry
point for engine development — when in doubt, load it.
---

## 1. Read the relevant files from `dev-docs/`

Always:

| File | Why |
|---|---|
| [`ARCHITECTURE.md`](../../../hyperformula/dev-docs/ARCHITECTURE.md) | The pipeline, where a symptom lives, the core modules, and the invariants that hold everywhere in `hyperformula/src/` |
| [`CODE-STYLE.md`](../../../dev-docs/CODE-STYLE.md) | Style, and which paths are hot enough that complexity matters |
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change must contain before review |

Then the page for the stage you are changing:

| File | For |
|---|---|
| [`PARSER.md`](../../../hyperformula/dev-docs/PARSER.md) | `hyperformula/src/parser/` — formula text to AST, and back |
| [`INTERPRETER.md`](../../../hyperformula/dev-docs/INTERPRETER.md) | `hyperformula/src/interpreter/` — AST to value, and built-in functions |
| [`DEPENDENCY-GRAPH.md`](../../../hyperformula/dev-docs/DEPENDENCY-GRAPH.md) | `hyperformula/src/DependencyGraph/` — dependency tracking and recalculation order |
| [`FUNCTION-CATALOGUE.md`](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md) | `hyperformula/src/interpreter/functionMetadata/` — function descriptions |
| [`I18N.md`](../../../hyperformula/dev-docs/I18N.md) | `hyperformula/src/i18n/` — function-name translations |
| [`LICENSING.md`](../../../hyperformula/dev-docs/LICENSING.md) | `hyperformula/src/license/` — license keys and gating |
| [`TESTING.md`](../../../hyperformula/dev-docs/TESTING.md) | Writing the test the change needs |

## 2. Work through them in order

1. Find the stage before changing anything — [Where a symptom lives](../../../hyperformula/dev-docs/ARCHITECTURE.md#where-a-symptom-lives). A wrong function result: skill `hyperformula-function-dev`. Wrong in one language: skill `i18n-translations`. Find definitions and callers with the language server — [`AGENT-TOOLING.md`](../../../dev-docs/AGENT-TOOLING.md#claudesettingsjson).
2. Attach the private suite — [Fetching the private suite](../../../hyperformula/dev-docs/TESTING.md#fetching-the-private-suite) — then reproduce with a failing test first, with skill `test-writing-discipline`.
3. Change the code, then run the fast loop — [Running tests](../../../hyperformula/dev-docs/TESTING.md#running-tests) and `npm run lint`; on a hot path, also [Performance](../../../hyperformula/dev-docs/TESTING.md#performance).
4. Finish everything in [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md).
22 changes: 22 additions & 0 deletions .claude/skills/hyperformula-function-dev/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: hyperformula-function-dev
description: Use when adding a new built-in spreadsheet function to HyperFormula, changing an existing one's signature, arguments, return type, or error behaviour, or when a function returns the wrong value or the wrong error. Covers the FunctionPlugin contract, runFunction and argument metadata, the function metadata catalogue, translations, and the full end-to-end checklist.
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`INTERPRETER.md`](../../../hyperformula/dev-docs/INTERPRETER.md#built-in-functions) | The plugin contract, `runFunction`, every argument and function metadata field, and the six places a function change must touch. Read this before writing any code. |
| [`FUNCTION-CATALOGUE.md`](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md) | What the catalogue entry must contain, and the two ways to get it wrong |
| [`I18N.md`](../../../hyperformula/dev-docs/I18N.md) | Where to source a translation, and why an invented one cannot be taken back |
| [`LICENSING.md`](../../../hyperformula/dev-docs/LICENSING.md#the-license-capability-table) | Which license keys may call the function |
| [`TESTING.md`](../../../hyperformula/dev-docs/TESTING.md#what-each-kind-of-change-needs) | The list of cases a function change must cover |
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change must contain before review |

## 2. Work through them in order

1. Touch every one of [the six places a function change must touch](../../../hyperformula/dev-docs/INTERPRETER.md#the-six-places-a-function-change-must-touch), working through the list there rather than from memory. Translations: skill `i18n-translations`. Tests: skill `hyperformula-unit-testing`.
2. Declare what nothing cross-checks: `sizeOfResultArrayMethod` ([function metadata](../../../hyperformula/dev-docs/INTERPRETER.md#built-in-functions)) and `optionalArg` ([Optionality is not cross-checked](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md#optionality-is-not-cross-checked)).
3. Run [Verifying a function change](../../../hyperformula/dev-docs/INTERPRETER.md#verifying-a-function-change).
4. Record any deviation from Excel — [Behaviour, not Excel](../../../hyperformula/dev-docs/FUNCTION-CATALOGUE.md#behaviour-not-excel).
39 changes: 39 additions & 0 deletions .claude/skills/hyperformula-ui-dev/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: hyperformula-ui-dev
description: >
Use for ANY work in `hyperformula-ui/`: the formula editor package (`hyperformula-ui`,
in `hyperformula-ui/packages/core/`), its demo, its end-to-end suite, its build scripts
and its shared configuration. Covers the editor, the formula bar, the lexer, the kernel,
reference highlighting, autocomplete and function help popups, keyboard shortcuts,
`IGridAdapter`, the generated stylesheet and API docs, and releasing the package. Triggers
on file paths under `hyperformula-ui/`, or when the user describes a symptom in the formula
editor without naming a file. Its code style is not the engine's: load this skill instead
of `hyperformula-dev` for anything in this folder.
---

## 1. Read the relevant files from `dev-docs/`

Always:

| File | Why |
|---|---|
| [`ARCHITECTURE.md`](../../../hyperformula-ui/dev-docs/ARCHITECTURE.md) | The components, the data flow, and the invariants every change keeps |
| [`CODE-STYLE.md`](../../../hyperformula-ui/dev-docs/CODE-STYLE.md) | The conventions inside `hyperformula-ui/`, which differ from the engine's |
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | What the change must contain before review |

Then the page for what you are changing:

| File | For |
|---|---|
| [`EDITOR-TASKS.md`](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md) | Which files implement tokenization, shortcuts, highlights, popups and the overlay |
| [`KEYBOARD-SHORTCUTS.md`](../../../hyperformula-ui/dev-docs/KEYBOARD-SHORTCUTS.md) | Any change to what a key does |
| [`SPEC.md`](../../../hyperformula-ui/dev-docs/SPEC.md) | The public API, the adapter contract, CSS, and the commands |
| [`TESTING.md`](../../../hyperformula-ui/dev-docs/TESTING.md) | Writing the test the change needs |
| [`RELEASE.md`](../../../hyperformula-ui/dev-docs/RELEASE.md) | Publishing the package — only when asked to release |

## 2. Work through them in order

1. Find the files with [`EDITOR-TASKS.md`](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md), and the invariants they must keep with [Key invariants](../../../hyperformula-ui/dev-docs/ARCHITECTURE.md#key-invariants).
2. Write the failing test first — [New behaviour](../../../hyperformula-ui/dev-docs/TESTING.md#new-behaviour) — with skill `test-writing-discipline`.
3. Change the code, then run the checks in [Checks while you work](../../../hyperformula-ui/dev-docs/EDITOR-TASKS.md#checks-while-you-work). Name the workspace by path, as [`SPEC.md`](../../../hyperformula-ui/dev-docs/SPEC.md#12-build--commands) says. Regenerate the stylesheet or the API docs when the change affects them.
4. Add the entry to [`hyperformula-ui/CHANGELOG.md`](../../../hyperformula-ui/CHANGELOG.md) when the change is user-facing, and finish everything in [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md).
21 changes: 21 additions & 0 deletions .claude/skills/hyperformula-unit-testing/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: hyperformula-unit-testing
description: Use when writing or modifying tests for HyperFormula, or when a change to `hyperformula/src/` needs test coverage. Covers the two suites, fetching the private suite, how to build an engine in a test, and what a function or CRUD change must cover.
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`TESTING.md`](../../../hyperformula/dev-docs/TESTING.md) | The two suites, attaching the private one, the commands, and what each kind of change must cover |
| [`TESTING.md`](../../../dev-docs/TESTING.md#how-to-write-a-test-case) | How to write the case itself, and what a test must prove to count |
| [`WORKTREES.md`](../../../dev-docs/WORKTREES.md) | Only when working in a linked worktree, where the private suite is absent entirely |

And [`hyperformula/test/README.md`](../../../hyperformula/test/README.md) for how the private suite is fetched and the environment variables it honours.

## 2. Work through them in order

1. Attach the private suite — [Fetching the private suite](../../../hyperformula/dev-docs/TESTING.md#fetching-the-private-suite).
2. Decide what to cover — [What each kind of change needs](../../../hyperformula/dev-docs/TESTING.md#what-each-kind-of-change-needs).
3. Write the case — [How to write a test case](../../../dev-docs/TESTING.md#how-to-write-a-test-case) — and watch it fail first, with skill `test-writing-discipline`.
4. Run it — [Running tests](../../../hyperformula/dev-docs/TESTING.md#running-tests) — and read the output.
18 changes: 18 additions & 0 deletions .claude/skills/i18n-translations/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: i18n-translations
description: Use when adding a built-in function that needs translated names, adding a language pack, or fixing a function name that is wrong in one language. Covers the translation sources, the rules, and what breaks when a key is missing.
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`I18N.md`](../../../hyperformula/dev-docs/I18N.md) | Why translations are engine input rather than decoration, the sources to translate from, the rules, adding a language pack, and testing |
| [`PARSER.md`](../../../hyperformula/dev-docs/PARSER.md) | Only when changing error literals or how the lexer reads translated names |

## 2. Work through `I18N.md` in order

1. [Where to find a translation](../../../hyperformula/dev-docs/I18N.md#where-to-find-a-translation) — look the name up before writing anything.
2. [Rules](../../../hyperformula/dev-docs/I18N.md#rules) — every one of them, for every language file you touch.
3. [Adding a language pack](../../../hyperformula/dev-docs/I18N.md#adding-a-language-pack) — only when adding a whole language.
4. [Testing](../../../hyperformula/dev-docs/I18N.md#testing) — the test the change needs, and the commands to run.
19 changes: 19 additions & 0 deletions .claude/skills/pr-creation/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: pr-creation
description: Use before creating, pushing, opening, or updating a pull request in the HyperFormula repository — load this BEFORE running `gh pr create` or pushing a feature/docs/fix branch, not only when the user says "PR". Covers branch naming, the pre-flight lint/tests, the PR-then-changelog flow, and filling the GitHub PR template.
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md) | Every item the change must contain before review, the pre-flight gate, branch naming, the order of operations, the template, and one change per pull request |
| [`DOC-STANDARDS.md`](../../../dev-docs/DOC-STANDARDS.md#the-changelog) | The changelog entry that follows the pull request |

## 2. Follow the order of operations

Work through the [order of operations](../../../dev-docs/DEFINITION-OF-DONE.md#order-of-operations) step by step, from the branch name to the pushed changelog entry. Write the entry with skill `changelog-creation`.

## 3. Check before asking for review

Go through [`DEFINITION-OF-DONE.md`](../../../dev-docs/DEFINITION-OF-DONE.md), including [One pull request, one change](../../../dev-docs/DEFINITION-OF-DONE.md#one-pull-request-one-change), which covers keeping the description current while the branch is open.
17 changes: 17 additions & 0 deletions .claude/skills/test-writing-discipline/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: test-writing-discipline
description: Use when writing, fixing, or reviewing any test for HyperFormula, and whenever a test is red during feature work. Enforces that tests prove intended behaviour rather than merely execute code, and never go "green for the sake of green".
---

## 1. Read the relevant files from `dev-docs/`

| File | Why |
|---|---|
| [`TESTING.md`](../../../dev-docs/TESTING.md#a-test-must-prove-behaviour) | The rule, the banned ways of going green, and what a hollow assertion looks like. It is short — read it now, before touching the test. |
| [`TESTING.md`](../../../hyperformula/dev-docs/TESTING.md#fetching-the-private-suite) | Why a green run can cover almost nothing |

## 2. Work through them in order

1. Write the test as [A test must prove behaviour](../../../dev-docs/TESTING.md#a-test-must-prove-behaviour) requires, and for a bug fix watch it fail first — [What a change must cover](../../../dev-docs/TESTING.md#what-a-change-must-cover).
2. While it is red, follow the same section — and none of the [banned ways of going green](../../../dev-docs/TESTING.md#banned-ways-of-going-green).
3. Run it again, read the output, and confirm the private suite is attached before treating green as coverage — [Fetching the private suite](../../../hyperformula/dev-docs/TESTING.md#fetching-the-private-suite).
Loading
Loading