Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This project is a Node.js Express server using CommonJS modules and SQLite for persistence. The guidelines below exist to help future contributors extend the application safely and consistently.
Sign in to like and favorite skills
This project is a Node.js Express server using CommonJS modules and SQLite for persistence. The guidelines below exist to help future contributors extend the application safely and consistently.
gamify.js and notify.js.require/module.exports syntax.const/let over var and keep files focused on a single responsibility.middleware/logger.js).next(err) so that middleware/error.js can handle logging and metrics.express-validator and the middleware/validate.js helper.PORT, DB_FILE and JWT_SECRET come from a .env file via dotenv – never commit secrets.db.js during initialization.PRAGMA foreign_keys = ON.safeAddColumn pattern in db.js so migrations remain idempotent.utils/gamify.js should be used when awarding points, levels or badges.routes/ and export an Express Router.authenticate middleware for protected routes and the validate middleware after express-validator rules.middleware/logger.js already tracks requests and response times.utils/notify.js.uploads/ directory (which should be gitignored).clamscan when available and removed if infected.public folder contains a small React app served via CDN with Tailwind CSS styling.README.md and update openapi.json so Swagger docs at /docs stay accurate.AGENTS.md with any new development guidelines.npm start locally to ensure the server boots without errors.npm test to execute Playwright unit and integration tests.npm start and npm test; ensure both succeed before committing.README.md, openapi.json, AGENTS.md) when introducing new features or guidelines.Adhering to these practices will keep the project maintainable and ready for future expansion.