Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This guide standardizes how AI coding agents (and contributors) should work in this repository. It applies to the entire repo. If a more deeply nested `AGENTS.md` appears, it takes precedence for files under its directory.
Sign in to like and favorite skills
This guide standardizes how AI coding agents (and contributors) should work in this repository. It applies to the entire repo. If a more deeply nested
AGENTS.md appears, it takes precedence for files under its directory.
22.x (see package.json:engines)pnpm@sveltejs/adapter-vercelIf needed locally, copy environment variables:
.env.example → .env.
pnpm dev – Start development serverpnpm build – Production build (runs image copy step first)pnpm preview – Preview production buildpnpm check / pnpm check:watch – Svelte/TS type checkingpnpm lint – ESLint + Prettier checkpnpm format – Prettier writepnpm test / pnpm test:run / pnpm test:coverage / pnpm test:ui – Testspnpm post – Create a new blog post from templatepnpm seo:validate – Run SEO validation checkspnpm analyze – Bundle analysis (client output)npx vercel build – Verify Vercel deployment compatibility (recommended before deploy)Always ensure the following pass before committing or opening a PR:
pnpm buildpnpm format if needed, then pnpm lintpnpm checkpnpm test:run (when relevant changes are made)npx vercel buildRun SEO validation (
pnpm seo:validate) when:
posts/ – Markdown posts (frontmatter-supported)templates/post.md – New-post templatescripts/create-post.ts – Interactive post generator (pnpm post)src/routes/ – SvelteKit routes (includes RSS and sitemap endpoints)src/lib/components/ – Reusable Svelte componentssrc/lib/utils/ – Utilities (slug normalization, date, caching, URL helpers, etc.)src/routes/*/+server.*Notable utilities/components:
src/lib/utils/posts.tssrc/lib/utils/date.ts, src/lib/utils/url-helpers.tssrc/lib/utils/cache-manager.ts, src/lib/utils/ttl-cache.tssrc/lib/components/ui/*Primary flow (interactive):
pnpm postposts/ using templates/post.mdDetails:
src/lib/types/blog.ts (Category enum). Values are Korean: 일상 (Daily), 개발 (Development), 생각 (Thoughts), 리뷰 (Review).scripts/create-post.ts and will auto-suggest; it sanitizes input and falls back to a date-time-based slug when necessary, preserving Korean where applicable.title, description, date, category, and tags. Optional fields include updated, draft, image, author.Images:
docs/IMAGE_GUIDELINES.md for conventions.scripts/copy-images.js; other optimization scripts are available under scripts/ if needed.pnpm seo:validate during structural/SEO-related changes.src/routes/rss.xml/+server.js) and sitemap (src/routes/sitemap.xml/+server.js) still work after routing/content changes.src/lib/utils/accessibility.ts and component patterns.src/**/**/*.test.*.src/test/setup.ts).@sveltejs/adapter-vercel.npx vercel build locally to catch adapter/runtime issues before merging.@vercel/analytics, @vercel/speed-insights are integrated.pnpm devpnpm build → pnpm previewpnpm lint / pnpm formatpnpm checkpnpm test:runpnpm postpnpm seo:validatenpx vercel build