Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
>
Sign in to like and favorite skills
SYSTEM INSTRUCTION (READ FIRST)
Do not modify any files outside
without stopping and waiting for explicit user permission. If you believe a change outside the test folder is unavoidable, first provide a clear, written justification explaining why test‑only changes cannot solve it, why the app must remain unchanged to preserve upstream compatibility, and why this is a last resort. The app is working as expected and this repository must maintain a clean connection to upstream; any non‑test changes require a burdensome approval process.backend/open_webui/test
backend/open_webui/
main.py (FastAPI app), routers/, models/, utils/, internal/ (DB/migrations), static/, storage/.backend/open_webui/test/ (router, util, and integration-style tests).src/ (SvelteKit app, Tailwind, i18n assets).pyproject.toml (Python deps), package.json (frontend/tooling scripts), alembic.ini and migrations/ for DB.python -m venv .venv && . .venv/bin/activate && pip install -e ..uvicorn open_webui.main:app --reload.npm cinpm run dev (Vite, fetches Pyodide resources)npm run build, preview: npm run previewpytest backend/open_webui/test -qpytest backend/open_webui/test/apps/webui/routers -qnpm run format:backend), Pylint (npm run lint:backend). Use snake_case for modules/functions, PascalCase for classes, 4‑space indents.npm run lint, npm run format). Use kebab-case for files, PascalCase for Svelte components.TestClient for API routes.backend/open_webui/test, files test_*.py, functions test_*.DATABASE_URL for local runs; isolate via fixtures; mock external services (Redis, S3, OAuth) in unit tests.backend/open_webui/test/run_tests.sh all runs without error. Use this script (which applies test-local pytest.ini and disables plugin autoload) for final verification.routers: add models listing filter)..env for secrets; never commit credentials. Common vars: DATABASE_URL, WEBUI_SECRET_KEY, REDIS_URL.backend/open_webui/env.py loads and normalizes env; Postgres URLs should use postgresql://.