Checks the backend onboarding pages in docs/backend against the code changes since each page was last reviewed, and fixes the statements that are no longer true. Use for the monthly docs pass, or when asked to refresh or re-check docs/backend.
The pages in docs/backend explain the n8n backend to new engineers. The code
changes every day, so a page can become wrong while nobody edits it. This skill
finds those statements and corrects them.
Each fix costs a reviewer time. Fix a statement only when a reader who trusts it gets a wrong picture of the backend, or takes a wrong action. For example:
Do not change:
Every fix must name the commit that made the statement wrong. If you cannot name a commit, do not make the fix. If you are not sure, do not make the fix. A run that changes nothing is a valid result.
git fetch origin master. Every git log below runs on
origin/master, and "the current code" means the code on origin/master.docs/backend and docs/backend/how-to, read
last_reviewed in the frontmatter.last_reviewed:
git log origin/master --since=<last_reviewed> --no-merges --format='%h %ad %s' --date=short -- <folders>.last_reviewed. Include the root files, because the pages name root
pnpm scripts:
git log origin/master --since=<oldest last_reviewed> --no-merges --format='%h %ad %s' --date=short -- . ':!packages/frontend' ':!packages/testing' ':!docs/backend'.
Mark each commit that can change a statement on a page, for example a
move, a removal, a replacement, or a new default. Note the pages that it
can change.AGENTS.md and the
Vale styles in docs/backend/styles. Keep each sentence to 25 words or
fewer.node scripts/backend-docs-check.mjs. It must pass. It checks the
paths, the environment variables, and the symbols in tables with "File"
and "Symbol" columns. It does not check other symbols in code spans, for
example decorators and class names. For each of these, confirm with
git grep -w -F -e <name> origin/master -- ':!docs/backend' ':!packages/frontend' ':!packages/testing'
that the name still exists in the backend. CI
runs Vale and Lychee on the PR.Change only files in docs/backend.
last_reviewedIf at least one page has a fix, set last_reviewed to today's date on every
page, also on the pages with no fix. You checked them all, and the date
records that check.
If no page has a fix, change nothing and open no PR.
Write the report as the PR description. If there is no PR, give the same report as the final output of the run.
Do not describe the method, and do not list the pages with no fix. The owners
in OWNERS review the PR.
n8n-io/n8n
e405c26
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.