Skip to content

docs: rewrite CLAUDE.md and add AGENTS.md contributor guide#928

Merged
czlonkowski merged 3 commits into
mainfrom
docs/claude-md-refresh
Jul 12, 2026
Merged

docs: rewrite CLAUDE.md and add AGENTS.md contributor guide#928
czlonkowski merged 3 commits into
mainfrom
docs/claude-md-refresh

Conversation

@czlonkowski

Copy link
Copy Markdown
Owner

Summary

Refreshes the two agent/contributor guidance files so they match the codebase at v2.64.0.

CLAUDE.md rewrite (208 → 100 lines)

The previous version described the codebase as it was around v2.7. Every claim in the new version is verified against the current repo:

  • Architecture: replaced the stale file-level tree (11 of 14 listed scripts no longer existed; services/ listed 10 of 38 files) with a directory-level subsystem map that now covers telemetry/, community/, triggers/, n8n/, mcp/tool-docs/, and mcp/skills/. Removed the "(NEW in v2.x)" annotations.
  • Commands: verified against package.json. Removed broken test:templates (source deleted) and one-time migrate:fts5; added build:all, test:e2e, fetch:community, and generate:docs:incremental with pointers to the MEMORY_N8N_UPDATE.md / MEMORY_TEMPLATE_UPDATE.md runbooks.
  • Tool guidance: replaced retired get_node_essentials()/get_node_info() advice with the current get_node detail levels.
  • Cleanup: removed the duplicated instruction block at the bottom, merged its unique rules into the workflow section, added the feature-branch rule, and fixed the attribution spelling ("Concieved" → "Conceived").

AGENTS.md (new)

Adds a repository contributor guide covering project structure, build/test commands, coding style, testing thresholds, commit/PR conventions, and security notes for public-repo hygiene.

Conceived by Romuald Członkowski - www.aiadvisors.pl/en

🤖 Generated with Claude Code

czlonkowski and others added 2 commits July 12, 2026 18:10
Architecture section replaced with a directory-level map covering all
current subsystems (telemetry, community, triggers, n8n wrapper, tool-docs,
skills). Commands verified against package.json: removed broken
test:templates and stale migrate:fts5, added build:all, test:e2e,
fetch:community, generate:docs:incremental with pointers to the
MEMORY_N8N_UPDATE.md and MEMORY_TEMPLATE_UPDATE.md runbooks. Replaced
retired get_node_essentials/get_node_info guidance with get_node detail
levels. Removed the duplicated instruction block and version annotations,
fixed the attribution spelling. 208 lines down to 100.

Conceived by Romuald Członkowski - www.aiadvisors.pl/en

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 16:16

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 the repository’s agent/contributor guidance to better reflect the current n8n-mcp structure and workflows around v2.64.0, and introduces a dedicated contributor guide.

Changes:

  • Rewrites CLAUDE.md to modernize the architecture overview, development commands, and tool guidance.
  • Adds AGENTS.md as a contributor-focused guide covering structure, build/test workflows, style, and PR hygiene.

Reviewed changes

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

File Description
CLAUDE.md Modernizes agent guidance (commands, architecture map, workflow/tool guidance).
AGENTS.md Adds contributor guidelines for structure, commands, style/testing, and PR/security practices.

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

Comment thread CLAUDE.md Outdated
## Architecture

### Core Components
Directory-level map of `src/`. This file intentionally stays at subsystem level — for file-level detail, explore the directories.
Comment thread CLAUDE.md Outdated
- After changing MCP server code: build, then ask the user to reload the MCP server before testing
- Run `npm run typecheck` after every code change
- Never commit directly to main — use feature branches and PRs
- Add to every commit message and PR description: `Conceived by Romuald Członkowski - www.aiadvisors.pl/en`. Never put this attribution inside file contents
Comment thread AGENTS.md Outdated

## Project Structure & Module Organization

Core TypeScript lives in `src/`: MCP tools in `src/mcp/`, business logic in `src/services/`, persistence in `src/database/`, and shared code in `src/types/` and `src/utils/`. Tests mirror these areas in `tests/unit/` and `tests/integration/`; supporting fixtures and mocks stay under `tests/`. React/Vite apps live in `ui-apps/src/`, utilities in `scripts/`, documentation in `docs/`, and generated skills/databases in `data/`. Treat `dist/`, coverage output, and `ui-apps/dist/` as generated.
Mark the src/ map as non-exhaustive and add the scripts/ subsystem,
scope the attribution rule to exclude file contents unambiguously, and
mention src/scripts/ in the AGENTS.md project structure.

Conceived by Romuald Członkowski - www.aiadvisors.pl/en

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 17:05

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 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread CLAUDE.md
Comment on lines +85 to +86
- Never commit directly to main — use feature branches and PRs
- Add to every commit message and PR description: `Conceived by Romuald Członkowski - www.aiadvisors.pl/en`. The attribution belongs in commit messages and PR descriptions only — never in source, test, or documentation file contents
Comment thread AGENTS.md
Comment on lines +12 to +14
- `npm run typecheck` (also `npm run lint`) performs strict checks without emitting.
- `npm run dev:http` rebuilds and restarts the HTTP server as sources change.
- `npm run rebuild` regenerates the node database; expect this to take several minutes.
@czlonkowski
czlonkowski merged commit 43fbd17 into main Jul 12, 2026
5 checks passed
@czlonkowski
czlonkowski deleted the docs/claude-md-refresh branch July 12, 2026 18:54
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