plugins/cloudflare/skills/cf-hono/SKILL.md
Hono framework patterns for Cloudflare Workers: routing, middleware, type-safe handlers, request validation, error handling. Use when building APIs with Hono on Cloudflare.
npx skillsauth add mpazaryna/agentic-factory cf-honoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
import { Hono } from 'hono';
type Bindings = {
AI: Ai;
FEED_CACHE: KVNamespace;
};
const app = new Hono<{ Bindings: Bindings }>();
app.get('/health', (c) => c.text('OK'));
app.post('/summarize', async (c) => {
const { text } = await c.req.json();
const result = await c.env.AI.run('@cf/mistralai/mistral-small-3.1-24b-instruct', {
messages: [{ role: 'user', content: `Summarize: ${text}` }]
});
return c.json(result);
});
export default app;
Hono<{ Bindings: Bindings }> for type-safe c.env accessapp.get(), app.post(), app.route() for nested routesapp.use() for auth, CORS, loggingc.req.json(), c.req.query(), c.req.param()app.onError() for global error handlerFor detailed patterns, see references/hono.md.
development
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
tools
Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.
tools
Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
tools
Planning conductor — runs the full PRD → Spec → Gherkin loop in a single interactive session with human approval gates.