Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This repository contains a Next.js 15 application written in TypeScript and managed with Bun.
Sign in to like and favorite skills
This repository contains a Next.js 15 application written in TypeScript and managed with Bun.
bun for all commands.app/ router and Tailwind CSS.#components, #images, #commission, #data, #lib, and #admin/* aliases (#admin/actions swaps between dev + stub automatically).data/commissions.db; access it through data/sqlite.ts (Bun uses bun:sqlite, Node falls back to better-sqlite3).{ fileName: string, Links: string[], Design?: string, Description?: string, Hidden?: boolean }{ Character: string, Commissions: Commission[] }CharacterCommissions[]; default data shape for components and pages.Props loaded from SQLite and sorted by date.Map<string, CharacterCommissions> for quick lookup.data/commissionStatus.ts.{ characters: CharacterRow[], commissions: CommissionRow[] } returned by #lib/admin/db for the admin dashboard.app/(dev)/admin and is served from /admin; production requests fall through to notFound().#admin/actions; Next routes this to actions.dev.ts when NODE_ENV=development and to the stub otherwise.create*, update*, deleteCommission) are blocked outside development; ensure NODE_ENV is development before mutating data.data/commissions.db; commit that file alongside related changes so the static export stays in sync.arrowParens: avoid, width 100.Run these before pushing changes:
bun dev – start local development server.bun run lint – auto-fix and check formatting/linting.bun run build – ensure the project compiles.No automated tests currently. Add and run them when introduced.
bun run scripts/convert.ts to optimize images and bun run scripts/imageImport.ts to refresh data/imageImports.ts..next/, dist/, out/, etc.HOSTING for secrets..env files or API keys.