Repository navigation
Make two docs sections understandable on their own (IT-474) - #1910
Merged
Merged
Conversation
The isItPossibleTo* section of the basic operations guide names example operations instead of pointing at "the above-mentioned operations". The SORT limitations link caseSensitive and accentSensitive to the ConfigParams reference and state their defaults and what they mean for sorting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
There was a problem hiding this comment.
Tip
Low risk: Documentation-only wording changes to two guide pages; no runtime code, build config, or API surface is touched.
Full review: no issues found.
Want a deeper review? Comment /review improve on its own line: a full review of the latest commit with an extra fix-oriented pass (about 2x the cost).
sequba
added a commit
that referenced
this pull request
Nov 23, 2026
#1912) ### Context AI coding agents (Claude Code, Cursor, Copilot, ChatGPT search and others) now read our docs often. They look for `llms.txt` first, often fetch only part of a large file, read one section at a time, and sometimes don't follow a redirect to another host. This is one of six PRs that close the gaps a review of the published docs and the `develop` preview found against these habits. Task: [IT-474 Improve readability of the docs by AI agents](https://app.clickup.com/t/86c8dty70). ### Problem The built-in functions page is a large table of 467 functions. How functions differ from Excel and Google Sheets is documented on a separate page, but the functions page doesn't link to it. An agent that reads the table can't tell that some functions behave differently. ### Changes `docs/guide/built-in-functions.tmpl.md`: adds a short paragraph near the top. It links to `list-of-differences.md` and to `known-limitations.md#nuances-of-the-implemented-functions`. The template is the source: `built-in-functions.md` is generated from it and isn't committed. ### Why this way One paragraph at the top reaches every reader and agent. A link from each table row would need the generator and the differences page to share anchors, which is a bigger change for later. ### Related PRs and merge order - The six PRs for IT-474: - [`llms.txt` for the docs](#1909) - [self-contained sections](#1910) - [coding-agent guide](#1911) - [functions page links the differences](#1912) (this PR) - [per-page meta descriptions](#1913) - [`robots.txt` and `llms.txt` on the HyperFormula host (handsontable.com-v3)](handsontable/handsontable.com-v3#285) - PRs 1909–1913 (`hyperformula`) don't depend on each other. They reach production with the next docs release from `develop`. - #1910 and #1913 both edit `docs/guide/basic-operations.md`, in different places. Whichever is merged second may need a rebase; there is no real conflict. - [handsontable.com-v3#285](handsontable/handsontable.com-v3#285) serves a new `llms.txt` on `hyperformula.handsontable.com` that links to `https://handsontable.com/docs/hyperformula/llms.txt`, which #1909 creates. Merge and deploy handsontable.com-v3#285 only after #1909 is live in production. Merged earlier, everything else works but that one link returns 404. - After handsontable.com-v3#285 is deployed, the `handsontable/hyperformula-website` Worker no longer serves anything. Retiring it is a separate step, not part of these PRs. ### How did you test your changes? - `npm run docs:build` passed (228 pages). It runs `docs:generate-function-docs` as its first step. - The paragraph is in the generated `guide/built-in-functions.html`, and not in the `develop` build. - Its two links go to `guide/list-of-differences.html`, which exists, and to `guide/known-limitations.html#nuances-of-the-implemented-functions`, whose anchor exists. - The engine's lint and Jest suites weren't run: the change touches only the page template. ### Out of scope and follow-ups - A link from each function's row to its entry on the differences page. It needs anchors shared between the generator and that page. ### AI assistance Claude Code (Claude Opus 5.5) wrote this change and this description, from a patch prepared earlier. I reviewed them. ### Compatibility with Excel and Google Sheets Not applicable. ### Public API changes None. ### Types of changes - [ ] Breaking change (existing functionality no longer works as before) – agreed with the maintainers - [ ] New feature or improvement (a non-breaking change that adds functionality) - [ ] Bug fix (a non-breaking change that fixes an issue) - [ ] Additional language file, or a change to an existing language file (translations) - [x] Change to the documentation ### Related issues 1. IT-474 (internal task, linked above). No public issue. ### Checklist - [x] My pull request meets the [Definition of Done](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DEFINITION-OF-DONE.md). External contributors: see also [Contributing to HyperFormula](https://handsontable.com/docs/hyperformula/guide/contributing.html). - [ ] I have signed the [Contributor License Agreement](https://goo.gl/forms/yuutGuN0RjsikVpM2). (Not applicable: internal team.) - [x] I read my own diff end to end before requesting a review. - [x] I added a [CHANGELOG.md](https://github.com/handsontable/hyperformula/blob/develop/CHANGELOG.md) entry, written by [the changelog rules](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DOC-STANDARDS.md#the-changelog) – or none is needed (docs, tests or tooling only). - [x] I updated the documentation and JSDoc to match the change. - [ ] Breaking change only: I added a section to the migration guide. - [x] I updated the `dev-docs/` pages this change affects – or none needed it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
sequba
added a commit
that referenced
this pull request
Nov 23, 2026
…T-474) (#1911) ### Context AI coding agents (Claude Code, Cursor, Copilot, ChatGPT search and others) now read our docs often. They look for `llms.txt` first, often fetch only part of a large file, read one section at a time, and sometimes don't follow a redirect to another host. This is one of six PRs that close the gaps a review of the published docs and the `develop` preview found against these habits. Task: [IT-474 Improve readability of the docs by AI agents](https://app.clickup.com/t/86c8dty70). ### Problem In `docs/guide/setup-coding-agent.md`: - The page recommends adding a line to `AGENTS.md`, but doesn't give the line. - The page doesn't say how to check that the setup works. ### Changes In `docs/guide/setup-coding-agent.md`: - Replaces the one-sentence rules-file advice with a section, "Add HyperFormula to your rules file", that has a block to paste into `AGENTS.md` or `CLAUDE.md`. The block gives the docs URLs (`llms-full.txt`, per-page `.md`, API reference) and tells the agent to read them before it writes HyperFormula code. It also has two rules: create instances with `buildEmpty`, `buildFromArray` or `buildFromSheets` and not with `new HyperFormula()`, and check that a function is in the built-in functions list before using it. - Adds a section, "Check that the setup works": `/plugin` for the skill, `/mcp` for the MCP server, and a test question with an expected answer. ### Why this way - People copy a ready block far more often than they turn a description into one. - The test question has one checkable answer (`caseSensitive`, default `false`), so a user can tell whether the agent read the docs or guessed. ### Deviation from the original plan The prepared patch also removed the interactive wizard (`<hf-coding-agent-wizard>`) and its intro sentence, on the assumption that the Astro build renders nothing for it. That assumption is wrong. `docs/src/components/MarkdownContent.astro` loads `docs/src/scripts/coding-agent-wizard.mjs`, and on `develop` the page shows the "Which coding agent do you use?" picker with four buttons. The wizard is kept, so this PR only adds content. ### Related PRs and merge order - The six PRs for IT-474: - [`llms.txt` for the docs](#1909) - [self-contained sections](#1910) - [coding-agent guide](#1911) (this PR) - [functions page links the differences](#1912) - [per-page meta descriptions](#1913) - [`robots.txt` and `llms.txt` on the HyperFormula host (handsontable.com-v3)](handsontable/handsontable.com-v3#285) - PRs 1909–1913 (`hyperformula`) don't depend on each other. They reach production with the next docs release from `develop`. - #1910 and #1913 both edit `docs/guide/basic-operations.md`, in different places. Whichever is merged second may need a rebase; there is no real conflict. - [handsontable.com-v3#285](handsontable/handsontable.com-v3#285) serves a new `llms.txt` on `hyperformula.handsontable.com` that links to `https://handsontable.com/docs/hyperformula/llms.txt`, which #1909 creates. Merge and deploy handsontable.com-v3#285 only after #1909 is live in production. Merged earlier, everything else works but that one link returns 404. - After handsontable.com-v3#285 is deployed, the `handsontable/hyperformula-website` Worker no longer serves anything. Retiring it is a separate step, not part of these PRs. ### How did you test your changes? - `npm run docs:build` passed (228 pages). The built page has the wizard tag, the "Add HyperFormula to your rules file" section, and the "Check that the setup works" section. The `.md` companion has the full rules block. - I opened the page on the local docs server for `develop`: the wizard renders and its four choice buttons work. - The rules are true for the current API: `HyperFormula`'s constructor is `protected` (`hyperformula/src/HyperFormula.ts:134`), and instances come from the static `buildEmpty`, `buildFromArray` and `buildFromSheets` methods. - The test question's answer is right: `caseSensitive` exists in `ConfigParams` and defaults to `false` in `hyperformula/src/Config.ts`. - `handsontable-skills` is the marketplace plugin's name in `handsontable/handsontable-skills/.claude-plugin/marketplace.json`, and the skill's path is `skills/hyperformula/SKILL.md`, which matches the manual-install check. - The engine's lint and Jest suites weren't run: the change touches only one guide page. ### Out of scope and follow-ups None. ### AI assistance Claude Code (Claude Opus 5.5) wrote this change and this description, from a patch prepared earlier. I reviewed them. ### Compatibility with Excel and Google Sheets Not applicable. ### Public API changes None. ### Types of changes - [ ] Breaking change (existing functionality no longer works as before) – agreed with the maintainers - [ ] New feature or improvement (a non-breaking change that adds functionality) - [ ] Bug fix (a non-breaking change that fixes an issue) - [ ] Additional language file, or a change to an existing language file (translations) - [x] Change to the documentation ### Related issues 1. IT-474 (internal task, linked above). No public issue. ### Checklist - [x] My pull request meets the [Definition of Done](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DEFINITION-OF-DONE.md). External contributors: see also [Contributing to HyperFormula](https://handsontable.com/docs/hyperformula/guide/contributing.html). - [ ] I have signed the [Contributor License Agreement](https://goo.gl/forms/yuutGuN0RjsikVpM2). (Not applicable: internal team.) - [x] I read my own diff end to end before requesting a review. - [x] I added a [CHANGELOG.md](https://github.com/handsontable/hyperformula/blob/develop/CHANGELOG.md) entry, written by [the changelog rules](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DOC-STANDARDS.md#the-changelog) – or none is needed (docs, tests or tooling only). - [x] I updated the documentation and JSDoc to match the change. - [ ] Breaking change only: I added a section to the migration guide. - [x] I updated the `dev-docs/` pages this change affects – or none needed it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
sequba
added a commit
that referenced
this pull request
Nov 23, 2026
### Context AI coding agents (Claude Code, Cursor, Copilot, ChatGPT search and others) now read our docs often. They look for `llms.txt` first, often fetch only the first ~100 KB of a file, read one section at a time, and sometimes don't follow a redirect to another host. This is one of six PRs that close the gaps a review of the published docs and the `develop` preview found against these habits. Task: [IT-474 Improve readability of the docs by AI agents](https://app.clickup.com/t/86c8dty70). ### Problem - `https://handsontable.com/docs/hyperformula/llms.txt` returns an error, so agents that look for `llms.txt` at the docs root find nothing. - The only agent file is `llms-full.txt`, which is 1.67 MB. An agent that fetches only part of a file gets the first 10 or so pages and none of the rest. ### Changes - `docs/src/md-companions/index.mjs`: the build now also writes `llms.txt` next to `llms-full.txt`, served at `/docs/hyperformula/llms.txt`. It contains: - a short summary of HyperFormula and a link to `llms-full.txt`; - the home page; - "AI and agent resources": the Docs MCP server, the AI Docs Assistant, the coding-agent guide, and the agent skills; - "Guides" (57 pages) and "API reference" (169 pages): one link per page, to its `.md` companion, titled with the page title; - "Source and licensing": GitHub, npm, the license key guide, pricing, and contact sales. - `docs/README.md`: describes `llms.txt` next to `llms-full.txt`. `dev-docs/DOC-STANDARDS.md` requires this README update for changes to the `.md` companions and `llms-full.txt`. ### Why this way - `llms.txt` is the standard index agents read first ([llmstxt.org](https://llmstxt.org/)). - Linking to each page's `.md` companion lets an agent fetch only the pages it needs. - The page list is generated in the same loop as `llms-full.txt`, from the same sources, so it can't fall out of date. - The resource and licensing links used to be in the hand-written `llms.txt` on `hyperformula.handsontable.com` (the old `hyperformula-website` Worker). They're kept here so that file can be retired. - As before, nothing is written to the domain root `/llms.txt`, which belongs to handsontable.com. ### Related PRs and merge order - The six PRs for IT-474: - [`llms.txt` for the docs](#1909) (this PR) - [self-contained sections](#1910) - [coding-agent guide](#1911) - [functions page links the differences](#1912) - [per-page meta descriptions](#1913) - [`robots.txt` and `llms.txt` on the HyperFormula host (handsontable.com-v3)](handsontable/handsontable.com-v3#285) - PRs 1909–1913 (`hyperformula`) don't depend on each other. They reach production with the next docs release from `develop`. - #1910 and #1913 both edit `docs/guide/basic-operations.md`, in different places. Whichever is merged second may need a rebase; there is no real conflict. - [handsontable.com-v3#285](handsontable/handsontable.com-v3#285) serves a new `llms.txt` on `hyperformula.handsontable.com` that links to `https://handsontable.com/docs/hyperformula/llms.txt`, which #1909 creates. Merge and deploy handsontable.com-v3#285 only after #1909 is live in production. Merged earlier, everything else works but that one link returns 404. - After handsontable.com-v3#285 is deployed, the `handsontable/hyperformula-website` Worker no longer serves anything. Retiring it is a separate step, not part of these PRs. ### How did you test your changes? - Ran `npm run docs:build` on this branch and on `develop` (in a separate worktree). Both passed: 228 pages built. - `llms.txt` is next to `llms-full.txt` in `docs/dist/docs/hyperformula/`. No `llms.txt` was written outside the base path. - A script checked every link in `llms.txt`: 237 links in total, 230 of them to the docs. Each docs link ends in `.md` (except the `llms-full.txt` link) and points to a file the build wrote: 0 missing, 0 not `.md`. - `llms-full.txt` is unchanged. A diff against the `develop` build differs only in the three Stackblitz links' `?v=` build timestamp, which changes on every build. - `llms.txt` is 23.8 KB. - `npm run docs:lint` passed. - The first 30 lines of the generated `llms.txt`: ```md # HyperFormula > HyperFormula is a headless spreadsheet calculation engine for JavaScript and TypeScript. > It parses and evaluates Excel-compatible formulas, with no UI. Full documentation as a single Markdown file: https://handsontable.com/docs/hyperformula/llms-full.txt - [Welcome](https://handsontable.com/docs/hyperformula/index.md) ## AI and agent resources - [Docs MCP server](https://docs-assistant.handsontable.com/mcp): first-party MCP server (streamable HTTP) with search over the HyperFormula and Handsontable docs, API reference, release notes and GitHub issues - [AI Docs Assistant](https://handsontable.com/docs/javascript-data-grid/ai-docs-assistant/): answers questions about HyperFormula and Handsontable, with citations from the docs - [Set up your coding agent](https://handsontable.com/docs/hyperformula/guide/setup-coding-agent.md): skills, MCP and rules-file setup for Claude Code, Cursor, Copilot and other agents - [Agent skills](https://github.com/handsontable/handsontable-skills): official Claude Code skills for HyperFormula and Handsontable ## Guides - [Advanced usage](https://handsontable.com/docs/hyperformula/guide/advanced-usage.md) - [HyperFormula AI SDK for Vercel](https://handsontable.com/docs/hyperformula/guide/ai-sdk.md) - [Array formulas](https://handsontable.com/docs/hyperformula/guide/arrays.md) - [Basic operations](https://handsontable.com/docs/hyperformula/guide/basic-operations.md) - [Basic usage](https://handsontable.com/docs/hyperformula/guide/basic-usage.md) - [Batch operations](https://handsontable.com/docs/hyperformula/guide/batch-operations.md) - [Branding](https://handsontable.com/docs/hyperformula/guide/branding.md) - [Building](https://handsontable.com/docs/hyperformula/guide/building.md) - [Built-in functions](https://handsontable.com/docs/hyperformula/guide/built-in-functions.md) - [Cell references](https://handsontable.com/docs/hyperformula/guide/cell-references.md) - [Client-side installation](https://handsontable.com/docs/hyperformula/guide/client-side-installation.md) - [Clipboard operations](https://handsontable.com/docs/hyperformula/guide/clipboard-operations.md) ``` The engine's lint and Jest suites weren't run: the change touches only the docs portal. ### AI assistance Claude Code (Claude Opus 5.5) wrote the code change, the README update, and this description, from a patch prepared earlier. I reviewed them. ### Compatibility with Excel and Google Sheets Not applicable. ### Public API changes None. ### Out of scope and follow-ups - Serving `llms.txt` on `hyperformula.handsontable.com` is in `handsontable.com-v3` (see Related PRs). - Retiring the `hyperformula-website` Worker is a separate step after that PR is deployed. ### Types of changes - [ ] Breaking change (existing functionality no longer works as before) – agreed with the maintainers - [ ] New feature or improvement (a non-breaking change that adds functionality) - [ ] Bug fix (a non-breaking change that fixes an issue) - [ ] Additional language file, or a change to an existing language file (translations) - [x] Change to the documentation ### Related issues 1. IT-474 (internal task, linked above). No public issue. ### Checklist - [x] My pull request meets the [Definition of Done](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DEFINITION-OF-DONE.md). External contributors: see also [Contributing to HyperFormula](https://handsontable.com/docs/hyperformula/guide/contributing.html). - [ ] I have signed the [Contributor License Agreement](https://goo.gl/forms/yuutGuN0RjsikVpM2). (Not applicable: internal team.) - [x] I read my own diff end to end before requesting a review. - [x] I added a [CHANGELOG.md](https://github.com/handsontable/hyperformula/blob/develop/CHANGELOG.md) entry, written by [the changelog rules](https://github.com/handsontable/hyperformula/blob/develop/dev-docs/DOC-STANDARDS.md#the-changelog) – or none is needed (docs, tests or tooling only). - [x] I updated the documentation and JSDoc to match the change. - [ ] Breaking change only: I added a section to the migration guide. - [x] I updated the `dev-docs/` pages this change affects – or none needed it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1910 +/- ##
===========================================
+ Coverage 97.67% 97.71% +0.04%
===========================================
Files 212 212
Lines 18328 18522 +194
Branches 4258 4331 +73
===========================================
+ Hits 17902 18099 +197
+ Misses 418 415 -3
Partials 8 8 🚀 New features to boost your workflow:
|
Performance comparison of head (7dacd51) vs base (9dcd615) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
AI coding agents (Claude Code, Cursor, Copilot, ChatGPT search and others) now read our docs often. They look for
llms.txtfirst, often fetch only part of a large file, read one section at a time, and sometimes don't follow a redirect to another host. This is one of six PRs that close the gaps a review of the published docs and thedeveloppreview found against these habits. Task: IT-474 Improve readability of the docs by AI agents.Problem
Agents and search snippets read one section at a time, so a section must make sense without the text above it. Two sections don't:
caseSensitiveandaccentSensitiveoptions, but doesn't say what they do or what their defaults are.Changes
docs/guide/basic-operations.md: names example operations (addSheet,removeRows,moveCells) instead of "the above-mentioned operations".docs/guide/known-limitations.md: links both options to theConfigParamsreference, says both default tofalse, and says what that means for sorting:"a","A"and"á"sort as equal.Why this way
This is the smallest wording change that makes each section stand on its own. No content was moved.
Related PRs and merge order
llms.txtfor the docsrobots.txtandllms.txton the HyperFormula host (handsontable.com-v3)hyperformula) don't depend on each other. They reach production with the next docs release fromdevelop.docs/guide/basic-operations.md, in different places. Whichever is merged second may need a rebase; there is no real conflict.llms.txtonhyperformula.handsontable.comthat links tohttps://handsontable.com/docs/hyperformula/llms.txt, which Generate llms.txt for the HyperFormula docs (IT-474) #1909 creates. Merge and deploy handsontable.com-v3#285 only after Generate llms.txt for the HyperFormula docs (IT-474) #1909 is live in production. Merged earlier, everything else works but that one link returns 404.handsontable/hyperformula-websiteWorker no longer serves anything. Retiring it is a separate step, not part of these PRs.How did you test your changes?
npm run docs:buildpassed (228 pages).guide/known-limitations.html, the links go toapi/interfaces/configparams.html#casesensitiveand#accentsensitive. Both anchors exist in the builtconfigparams.html.guide/basic-operations.htmlhas the new sentence, and "above-mentioned" is gone.hyperformula/src/Config.tssetscaseSensitive: falseandaccentSensitive: falsein its defaults.="á"="A"and="A"="a"returnTRUE.=SORT({"b";"á";"A";"a"})returnsá, A, a, b, and=SORT({"a";"á";"A"})keepsa, á, A, so equal values keep their input order. WithaccentSensitive: true,="á"="a"returnsFALSE.Out of scope and follow-ups
None.
AI assistance
Claude Code (Claude Opus 5.5) wrote this change and this description, from a patch prepared earlier. I reviewed them.
Compatibility with Excel and Google Sheets
Not applicable.
Public API changes
None.
Types of changes
Related issues
Checklist
dev-docs/pages this change affects – or none needed it.🤖 Generated with Claude Code