AGENTS.md@packages/serverC

AGENTS.md@packages/server from webjsdev/webjs is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add webjsdev/webjs/packages/server/AGENTS.md@git:20261007.7d6dd15

Pins git:20261007.7d6dd15 in mdr.lock. Pin the fingerprint instead.

Audit grade
C, 12 of 14 checks passed
Kind
AGENTS.md file
Repository
webjsdev/webjs
Path
packages/server/AGENTS.md
Versions recorded
5
Latest version
git:20261007.7d6dd15, committed Oct 7, 2026
First version recorded
Oct 7, 2026
Size
146,441 bytes
Repository stars
27
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md for @webjsdev/server

The webjs **server runtime**: dev + prod request handling, SSR,
file-based router, server actions (RPC scanner + endpoint), auth,
session, cache store, rate limiting, WebSocket upgrade, CSRF,
compression, build helper, convention validator.

Framework-wide rules (workflow, JSDoc-in-`packages/`, no-build,
commit conventions, autonomous-mode behaviour, scaffold rules) live
in the **framework root [`../../AGENTS.md`](../../AGENTS.md)** and
apply here. Read that first.

This file only covers what's specific to `@webjsdev/server`.

## Role

Two entry shapes:

- `startServer({ appDir, port, dev })`: owns the HTTP server, used
  by the CLI's `webjs dev` / `webjs start`.
- `createRequestHandler({ appDir })`: returns `{ handle(req): Response }`
  for embedding under Express / Fastify / Bun / Deno / edge.

Both go through the same pipeline: `dev.js` (file serving + TS
transform) → `router.js` (file → route table) → `ssr.js` (page render
with metadata, Suspense, streaming) for HTML, or `api.js` /
`actions.js` for JSON / RPC, or `websocket.js` for `WS` upgrade.

## Module map (`src/`)

| File | What it owns |
|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add webjsdev/webjs/packages/server/AGENTS.md@sha256:202352fbb828b138

The line at the top of this page pins the label git:20261007.7d6dd15, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qkzpjhziqu6pj4nc.svg)](https://markdownregistry.com/a/art_qkzpjhziqu6pj4nc)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, all committed on Oct 7, 2026.

versioncommittedcommitsizeaudit
git:20261007.7d6dd15 latest2026-10-07 7d6dd15 146,441 BC view · diff
git:20261007.b7a14ad2026-10-07 b7a14ad 146,226 BC view · diff
git:20261007.eefd3472026-10-07 eefd347 145,430 BC view · diff
git:20261007.6d1b08b2026-10-07 6d1b08b 145,216 BC view · diff
git:20261007.053f0ac2026-10-07 053f0ac 144,652 BC view

Audit of the latest version

C  12 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: read, the `.env)
  • fail: No script tag (matched: <script)
  • pass: Size between 200 bytes and 200 KB (146441 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

webjsdev/webjs · 27 stars · license MIT · pushed 2026-10-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qkzpjhziqu6pj4nc
GET https://markdownregistry.com/api/v1/resolve?ref=webjsdev/webjs/packages/server/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/202352fbb828b13831af1140113a52c77437e23e0a5d801ba976fa113d4c4d95

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from webjsdev/webjs

webjs SKILL.md skill
webjsdev/webjs · .agents/skills/webjs/SKILL.md · Build and review WebJs applications. Use when working on WebJs app structure, pages, layouts, routes, server actions…
git:20261008.e0a4867 · audit B · 27 stars
pr-review SKILL.md skill
webjsdev/webjs · .claude/skills/pr-review/SKILL.md · Review a GitHub pull request the way a human reviewer would, entirely inline, and post the review through the GitHub…
git:20260922.7965b7e · audit A · 27 stars
use-railway SKILL.md skill
webjsdev/webjs · .claude/skills/use-railway/SKILL.md · Operate Railway infrastructure: create projects, provision services and databases, manage object storage buckets…
git:20260615.aa5ec36 · audit A · 27 stars
webjs-blog-write SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-blog-write/SKILL.md · Use this skill whenever the task is to write, draft, or substantially edit a webjs blog post (a marketing/engineering…
git:20260728.16198d1 · audit A · 27 stars
webjs-doc-sync SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-doc-sync/SKILL.md · Use this skill whenever a change ships a user-facing or agent-facing surface (a new export, CLI flag, package.json…
git:20260816.720cadc · audit A · 27 stars
webjs-file-issue SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-file-issue/SKILL.md · Use this skill when the user asks to file a new task, create an issue, or track new work on the webjsdev/webjs project…
git:20260808.e7eb5dc · audit A · 27 stars
webjs-instagram-post SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-instagram-post/SKILL.md · Publish an SEO post to the WebJs Instagram account (@webjs_dev). Use this skill whenever the user asks to post to…
git:20260728.16198d1 · audit A · 27 stars
webjs-list-todos SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-list-todos/SKILL.md · Use this skill when the user asks what work is open or pending on the webjsdev/webjs project board. Trigger phrases…
git:20260808.e7eb5dc · audit A · 27 stars
webjs-ready-for-dev SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-ready-for-dev/SKILL.md · Use this skill when the user asks to get one or more tracked issues ready for development. Trigger phrases include "get…
git:20260808.e7eb5dc · audit A · 27 stars
webjs-research-record SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-research-record/SKILL.md · Use this skill to record a research, design, or decision investigation on the webjsdev/webjs project. A research/design…
git:20260808.e7eb5dc · audit A · 27 stars
webjs-scaffold-sync SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-scaffold-sync/SKILL.md · Use this skill whenever a change affects what `webjs create` GENERATES (a new or changed gallery/showcase demo, a new…
git:20260810.c60f226 · audit A · 27 stars
webjs-start-work SKILL.md skill
webjsdev/webjs · .claude/skills/webjs-start-work/SKILL.md · Use this skill when the user asks to start work on a tracked GitHub issue in the webjsdev/webjs project. Trigger…
git:20261008.030b64b · audit B · 27 stars

Every file in webjsdev/webjs

Other files named AGENTS.md@packages/server

AGENTS.md@packages/server AGENTS.md file
gronxb/hot-updater · packages/server/AGENTS.md
git:20261009.92971a0 · audit A · 1,778 stars
AGENTS.md@packages/server AGENTS.md file
code-yeongyu/senpi · packages/server/AGENTS.md
git:20260831.a99450d · audit A · 486 stars

Browse by kind, by grade C, or by owner.