Clean up in-repo dev docs (HF-65)#1682
Conversation
✅ Deploy Preview for hyperformula-dev-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Task linked: HF-65 Clean up the dev docs in the repo |
Performance comparison of head (df801c8) vs base (c7cfc9d) |
sequba
left a comment
There was a problem hiding this comment.
@cursoragent fix these issues
|
All review comments addressed. Pushed 3 new commits to PR #1682. Changes made:
New commits:
|
|
@cursoragent fix issues |
|
All requested fixes applied in commit Changes:
|
|
All review comments addressed in 2 new commits. Changes:
New commits:
|
|
@cursoragent fix issues from my last review |
|
All four review comments addressed in 2 new commits. Changes:
New commits:
|
|
The remaining new comment is addressed. Change in commit
The earlier "fix" comments (suggestions for |
|
@marcin-kordas-hoc please, review these changes |
marcin-kordas-hoc
left a comment
There was a problem hiding this comment.
Reviewed. Good cleanup — DEV_DOCS.md becoming the canonical entry point is the right call and the expanded content is well-structured.
Fixes applied in my commit (0de2c7a73):
DEV_DOCS.mdQuick links was missingdocs/guide/contributing.mdanddocs/guide/code-of-conduct.md, which the PR description claimed were linked — added both- Repository tree diagram used
```text(unsupported fence in VuePress 1) — changed to``` AGENTS.mdResponse style was missing the LLM no-mention rule that existed in the oldCLAUDE.md— carried it over
Still needs attention before merge:
-
PR template checkboxes — 11 items unchecked. For a docs-only PR most are N/A (CLA, Excel/GSheets compat, migration guide, changelog). Please tick them off or mark N/A so the template is complete.
-
Symlinks on Windows (informational) —
CLAUDE.mdandCONTRIBUTING.mdare now git symlinks (mode 120000). On Windows without developer mode enabled, these materialise as plain text files containing the link target path. Not a blocker since the internal team works on Linux/Mac, but worth knowing if we ever want external Windows contributors to get the full content in-editor. -
DEV_DOCS.mdrepo tree showsscript/— the repo also has ascripts/directory now (maintenance tooling), so the tree is slightly out of date. Minor.
Overall: approve pending checkbox cleanup.
Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Make DEV_DOCS.md the canonical reference for everyone working on the source code. It now contains: - quick links to building, contributing, code of conduct, tests, etc. - project overview - architecture (core modules, function plugins, i18n) - how to add a new function - code style - definition of done - sources of function translations Existing content (definition of done, translation sources) is preserved and grouped with the new sections so that information is no longer duplicated across CLAUDE.md and other files. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
- AGENTS.md links to DEV_DOCS.md and adds rules that are specific to AI agents (attribution, response style). - CLAUDE.md is reduced to a pointer to AGENTS.md. - .cursor/rules/main.mdc is added so Cursor agents are routed to AGENTS.md as well. This removes the duplication that previously existed between CLAUDE.md and DEV_DOCS.md / docs/guide/building.md / docs/guide/contributing.md. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
CONTRIBUTING.md duplicated docs/guide/contributing.md almost verbatim. Reduce it to a single link so that the docs portal version is the canonical source. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
…e log Address PR review: - Remove the 'Communication and attribution' rule. - Update 'Start here' to point readers at the repository README and the public documentation portal in addition to DEV_DOCS.md. - Add a 'Common ways agents fail' section. The team will append items to it whenever an agent makes a mistake worth flagging, so future agents read it before starting non-trivial tasks. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Address PR review: - Reframe the audience: maintainers, internal team, and AI agents triggered by them. Drop the contributing-guide link from the quick links since that document targets external contributors. - Update the public docs portal URL to the canonical /docs path. - Add a repository directory tree so people can navigate the repository quickly. - Drop the redundant 'Project overview' section. - Fold the architecture i18n subsection into the function-translations section so all i18n information lives in one place. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Address PR review: instead of one-line pointer files, make them filesystem symlinks so any tool that opens them sees the target content directly: - CLAUDE.md -> AGENTS.md - CONTRIBUTING.md -> docs/guide/contributing.md Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Address PR review: - DEV_DOCS.md and AGENTS.md: describe the public portal as 'main documentation' (per reviewer suggestion). - DEV_DOCS.md: drop the Code of conduct link from quick links. - DEV_DOCS.md: collapse the test/ subtree, and remove tree entries for examples/, .cursor/rules/, CLAUDE.md, and CODE_OF_CONDUCT.md so the layout focuses on navigation-relevant directories. - DEV_DOCS.md: simplify the README.md description to 'Project overview'. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
The previous run failed only on the build (24, windows-latest, ci) matrix slot in 19s with no npm output captured. All other 17 matrix combinations passed, the same slot passed on the previous commit of this branch (f922598), and this branch only touches markdown files, so the failure is unrelated to the changes. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Address PR review: - Collapse src/i18n/ and src/i18n/languages/ into a single tree entry per reviewer suggestion. - Describe CONTRIBUTING.md as 'Guide for external contributors' instead of leaking the symlink target. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Address PR review: replace the link to the rendered documentation portal with pointers to the markdown sources in docs/guide/ and docs/api/, so agents read local files rather than fetching from the web. Note that docs/api/ is generated from JSDoc and requires running npm run docs:build if it is missing. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Per reviewer suggestions: - Replace the long 'Start here' paragraph with a direct one-sentence instruction to read DEV_DOCS.md first. - Promote 'For additional context, also consult:' to a proper 'Other important resources' heading. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Per reviewer suggestions: - Rename the 'Public docs source' quick link to 'Docs README'. - In 'How to add a new function', point readers at docs/guide/custom-functions.md because adding a built-in function follows the same function-implementation patterns as adding a custom function. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
Add an empty 'Skills, MCPs, and other agent tools' section that mirrors the 'Common ways agents fail' section so the team can list any skills, MCP servers, or other tools vetted as useful for agents working on this codebase. Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
0de2c7a to
a4506ff
Compare
- DEV_DOCS.md: add contributing guide and code of conduct to Quick links
(PR description claimed they were linked; they weren't)
- DEV_DOCS.md: change unsupported \`\`\`text fence to \`\`\` (VuePress 1)
- AGENTS.md: add LLM no-mention rule carried over from old CLAUDE.md
("do not mention AI tool names in commits, PRs, comments, docs")
a4506ff to
df801c8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1682 +/- ##
========================================
Coverage 97.16% 97.16%
========================================
Files 176 176
Lines 15322 15322
Branches 3356 3356
========================================
Hits 14887 14887
Misses 427 427
Partials 8 8 🚀 New features to boost your workflow:
|


Context
The in-repo developer documentation was scattered across several files with significant duplication:
CLAUDE.mdduplicated build/test commands (also indocs/guide/building.md), contributing rules (also inCONTRIBUTING.md/docs/guide/contributing.md), and translation sources (also inDEV_DOCS.md).CONTRIBUTING.mdwas an almost-verbatim copy ofdocs/guide/contributing.md.DEV_DOCS.mdcontained only a small subset of what a developer needs.This PR removes the duplication and gives both humans and AI agents a single, predictable entry point.
New structure
DEV_DOCS.mddocs/guide/building.mddocs/guide/contributing.mdAGENTS.mdDEV_DOCS.mdplus rules specific to AI agents (attribution, response style).CLAUDE.mdAGENTS.md..cursor/rules/main.mdcAGENTS.md(always applied).CONTRIBUTING.mddocs/guide/contributing.md.How did you test your changes?
Manual review of the resulting file set:
DEV_DOCS.mdcontains everything a developer needs and links todocs/guide/building.md,docs/guide/contributing.md,docs/guide/code-of-conduct.md,test/README.md,docs/README.md,CHANGELOG.md, and.github/pull_request_template.md.AGENTS.mdlinks toDEV_DOCS.mdand only adds agent-specific rules.CLAUDE.md,.cursor/rules/main.mdc, andCONTRIBUTING.mdare thin pointers with no duplicated content.docs/guide/building.mdis the only place that lists build/test/lint commands and bundle output formats.docs/guide/contributing.mdis unchanged (it already covered the contributor flow in full).Types of changes
Related issues
Checklist