Skip to content

docs(AGENTS.md): refresh based on last 4 weeks of PRs#714

Merged
peter-leonov-ch merged 3 commits into
mainfrom
copilot/update-agents-md-relevant-prs
May 9, 2026
Merged

docs(AGENTS.md): refresh based on last 4 weeks of PRs#714
peter-leonov-ch merged 3 commits into
mainfrom
copilot/update-agents-md-relevant-prs

Conversation

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor

AGENTS.md had drifted from reality after PRs #662#712: it claimed examples/web has no performance/ folder, pointed at a placeholder docs path, and said nothing about the skills/ directory or the .claude/skills/setup/ skill that replaced copilot-setup-steps.yml.

Summary

Documentation refresh plus a small manifest/test change to make the second shipped skill discoverable.

Checklist

  • A human-readable description of the changes was provided to include in CHANGELOG

Agent-Logs-Url: https://github.com/ClickHouse/clickhouse-js/sessions/54d50d94-f830-4b82-a6b3-eb2789d12e44

Co-authored-by: peter-leonov-ch <209667683+peter-leonov-ch@users.noreply.github.com>
@CLAassistant

CLAassistant commented May 9, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ peter-leonov-ch
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@peter-leonov-ch peter-leonov-ch marked this pull request as ready for review May 9, 2026 18:17
@peter-leonov-ch peter-leonov-ch requested a review from mshustov as a code owner May 9, 2026 18:17
Copilot AI review requested due to automatic review settings May 9, 2026 18:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates AGENTS.md to reflect the repository’s current docs/examples/skills layout after recent repo changes, keeping AI-agent contribution guidance aligned with reality.

Changes:

  • Refreshes log-message guidance to point at the real docs/ structure (docs/howto/, docs/socket_hang_up_econnreset.md).
  • Updates examples guidance to acknowledge examples/web/performance/ now exists for browser-safe performance scenarios.
  • Adds new sections documenting shipped AI-agent skills (skills/) and embedded docs (docs/), and aligns CHANGELOG guidance with the PR template workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
Comment thread AGENTS.md Outdated
…ing skill

Agent-Logs-Url: https://github.com/ClickHouse/clickhouse-js/sessions/d330a245-76e3-47a0-abca-b2811a4c5ede

Co-authored-by: peter-leonov-ch <209667683+peter-leonov-ch@users.noreply.github.com>
@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Co-authored-by: Peter Leonov <peter.leonov@clickhouse.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread tests/e2e/skills/check.js
Comment thread tests/e2e/skills/check.js
@peter-leonov-ch peter-leonov-ch merged commit 40c7da5 into main May 9, 2026
64 checks passed
@peter-leonov-ch peter-leonov-ch deleted the copilot/update-agents-md-relevant-prs branch May 9, 2026 20:18
peter-leonov-ch added a commit that referenced this pull request May 9, 2026
…#717)

## Summary

Address unresolved review comments from #714 on
`tests/e2e/skills/check.js`: the hardcoded skill list and single-skill
symlink assertion let a missing/misdeclared skill (or wrong `path`) slip
through. Make the repo-root `skills/` directory the source of truth and
verify the full `agents.skills` manifest.

- **`packages/client-node/package.json`** — add
`clickhouse-js-node-coding` to `agents.skills` so both shipped skills
are discoverable. (Also landed independently on `main` via #714 and
reconciled during the merge.)
- **`tests/e2e/skills/check.js`** — discover skills from `skills/`
(subdirs containing `SKILL.md`) and assert, for the installed
`@clickhouse/client` tarball:
- `agents.skills` declares **exactly** that set (sorted-name
`deepStrictEqual` — catches both missing and stale entries).
- Each declared entry has `path === ./skills/<name>`, the path resolves
inside the installed package, and contains `SKILL.md`.
- Each declared skill is symlinked under `.claude/skills/` by
`skills-npm` and the symlink target contains `SKILL.md` (no longer
hardcoded to `clickhouse-js-node-troubleshooting`).
  - `@clickhouse/client-web` still ships no `skills/` dir.
- Descriptive error if `skills/` is missing; `npm-*` link list is
re-read inside each check to avoid stale snapshots.
- Merged latest `main` and resolved a conflict in
`tests/e2e/skills/check.js` by keeping this PR's source-of-truth-driven
implementation over the simpler hardcoded `nodeSkills` array introduced
by #714.

## Checklist

- [x] Unit and integration tests covering the common scenarios were
added

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: peter-leonov-ch <209667683+peter-leonov-ch@users.noreply.github.com>
Co-authored-by: copilot <copilot@github.com>
Co-authored-by: Peter Leonov <peter.leonov@clickhouse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants