Skip to content

Replace .context and .cursor rules with AGENTS.md - #1149

Merged
koutst merged 2 commits into
mainfrom
claude/agents-md-setup-dc21e0
Oct 7, 2026
Merged

koutst merged 2 commits into
mainfrom
claude/agents-md-setup-dc21e0

Conversation

@koutst

@koutst koutst commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

Removes the .context/ and .cursor/ folders and adds a short AGENTS.md in their place.

  • The old rule files (about 4,900 lines) were stale. They described Jest and Cypress testing, Node 20, an external_references/ directory, and dumps of backend tables and endpoints.
  • AGENTS.md (35 lines) covers what an agent can't find by reading the repo: the checks to run, the private-registry .npmrc, the npm 10.7.0 lockfile rule, and the service/transformer conventions the code follows today.
  • CLAUDE.md is a one-line @AGENTS.md import so Claude Code loads the same file, matching researchhub-backend.
  • Three Cursor debug logs that had been committed under .cursor/ are removed too.

.cursor/ stays in .gitignore and the ESLint ignores, so a local Cursor folder stays out of the repo.

Testing

Docs only; no code changes.

🤖 Generated with Claude Code

The rule files were stale: they described Jest and Cypress testing, Node 20, an external_references directory, and dumps of backend tables and endpoints. AGENTS.md covers the checks, dependency gotchas, and conventions the code follows today. CLAUDE.md imports it so Claude Code loads the same file, matching researchhub-backend.

Also removes three Cursor debug logs that had been committed.
@koutst
koutst requested a review from a team as a code owner October 7, 2026 13:42
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Ready Ready Preview Oct 7, 2026 1:50pm UTC

Request Review

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@koutst
koutst merged commit 77949c5 into main Oct 7, 2026
4 of 5 checks passed
@koutst
koutst deleted the claude/agents-md-setup-dc21e0 branch October 7, 2026 15:30

This branch was successfully deployed

1 active deployment
Preview — 09d085f3 Deployed Oct 7, 2026 by vercel[bot]
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.

2 participants