Skip to content

chore(agents): adopt agent baseline + deploy skill#76

Merged
scalvert merged 1 commit into
mainfrom
agent-baseline
Jun 16, 2026
Merged

chore(agents): adopt agent baseline + deploy skill#76
scalvert merged 1 commit into
mainfrom
agent-baseline

Conversation

@scalvert

@scalvert scalvert commented Jun 16, 2026

Copy link
Copy Markdown
Owner

What

Via @gleanwork/configure-agents:

  • AGENTS.md — promoted from the existing CLAUDE.md (build commands + architecture), with the runtime-adapter section updated to the consolidated createWebRequestHandler + Node dev server.
  • CLAUDE.md — now a thin pointer (@AGENTS.md).
  • .github/workflows/agent-baseline.yml — CI drift check.
  • skills/SKILL.md — hand-authored library skill.

The skill

Teaches a consuming AI how to use the package end-to-end:

  • the build-time plugin → build/mcp/ artifacts;
  • deployment: import the artifacts and pass them to the single generic createWebRequestHandler, with the per-platform wrapper + config glue to scaffold (Cloudflare wrangler.toml + Data rule, modern Netlify functions, Vercel Edge, Deno, Bun);
  • the local Node dev server;
  • common mistakes (filesystem paths on edge, missing Cloudflare Data rule, reaching for the removed/renamed handlers, wrong baseUrl).

Per the configure-agents rule, it points at the published .d.ts for signatures rather than transcribing them, so it won't rot against the types.

Verification

configure-agents check passes ("Baseline OK"); Prettier clean on all new/changed files; snippets:check still green.

🤖 Generated with Claude Code

Run @gleanwork/configure-agents: promote CLAUDE.md into AGENTS.md (CLAUDE.md
becomes a pointer), add the agent-baseline CI drift check, and author
skills/SKILL.md.

The SKILL.md teaches a consuming AI to use the package: the build-time
plugin, deploying the MCP endpoint via the single generic
createWebRequestHandler (with per-platform wrapper + config guidance for
Cloudflare Workers, modern Netlify functions, Vercel Edge, Deno, Bun), and
the local Node dev server. It points at the published .d.ts for signatures
rather than transcribing them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@scalvert scalvert changed the title chore(agents): adopt gleanwork agent baseline + deploy skill chore(agents): adopt agent baseline + deploy skill Jun 16, 2026
@scalvert
scalvert merged commit b1907ca into main Jun 16, 2026
9 checks passed
@scalvert
scalvert deleted the agent-baseline branch June 16, 2026 23:44
@scalvert scalvert added enhancement New feature or request internal labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant