Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- `routes/` Fresh routes (`index.tsx`, `[id].tsx`, API endpoints). Prefer nested
Sign in to like and favorite skills
routes/ Fresh routes (index.tsx, [id].tsx, API endpoints). Prefer nested
routes as folders with index.tsx.components/ Preact components (PascalCase.tsx). islands/ interactive
islands only.api/ server-side data helpers (e.g., listPosts.ts, loadPost.ts).data/posts/ Markdown sources with front matter. static/ public assets.assets/ CSS entry for Tailwind v4; bundled via Vite from client.ts._fresh/ is generated by vite build — do not edit.tests/ Deno tests. Other shared code in utils/, types.ts.deno task dev — run locally with Vite (HMR).deno task build — build server and assets into _fresh/.deno task start — start the production server.deno task test — run Deno tests.deno task check — format check, lint, and type-check.deno task update — update Fresh and dependencies.any; prefer explicit types.deno fmt; Linting: deno lint (configured via deno.json).BlogLayout.tsx); routes use path-style
names (sitemap.xml.ts, [id].tsx).useX.fresh (core) and fresh/runtime for Head; $std/ and npm
deps via deno.json.$std/testing asserts and BDD (describe, it).tests/ or colocated as *_test.ts.api/ helpers and route handlers (happy paths + error cases).deno task test and ensure deno task check passes before pushing.feat: paginate posts on index, fix: handle missing post file..env is loaded via $std/dotenv/load.ts — never commit
secrets.main.ts; keep cache headers in mind for new
assets._fresh/ output; regenerate via
deno task build/update.