Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
Detailed guidance for AI agents working with this codebase.
Sign in to like and favorite skills
Detailed guidance for AI agents working with this codebase.
This repository is a template/base for new Vue projects. It provides a pre-configured setup with modern tooling and best practices.
This is a Vue 3 template project using:
bun dev # Start dev server (opens browser automatically) bun build # Production build (sets NODE_ENV=production) bun serve # Preview production build
bun test # Run all tests (silent mode) bun test:watch # Run tests in watch mode bun coverage # Run tests with coverage report
bun lint # Fix all linting issues (JS/CSS) bun lint:js # Lint specific JS/TS/Vue files bun lint:js:all # Lint all JS/TS/Vue files bun lint:css # Lint specific CSS/Vue files bun lint:css:all # Lint all CSS/Vue files bun tsc # TypeScript type checking (no emit)
src/pages/*.vuevite-plugin-vue-layouts from src/layouts/src/main.ts using setupLayouts(generatedRoutes)src/pages/[...all].vueThe project uses
unplugin-auto-import to automatically import:
ref, computed, watch, etc.)@vueuse/core, @vueuse/head)src/util/ directoryComponents are auto-imported via
unplugin-vue-components with namespace support for nested directories.
Generated type definitions:
auto-imports.d.ts and components.d.ts (do not edit manually).
src/store/nav.ts manages navigation state (page titles)src/main.ts resets nav store on route changeslight and darkflex="~ col")scrollbar-c for consistent scrollbar stylinguno.config.tssrc/dark.ts/~/ maps to src/ (configured in both vite.config.ts and tsconfig.json)import { useNavStore } from "/~/store/nav"test/setup-plugins.ts@vue/test-utilstest/simple-counter.test.tsPreferred VCS: Jujutsu (
) - While the repository has git compatibility, the preferred source control tool is jj
jj (jujutsu) rather than git.
Commit Message Format: Uses conventional commits enforced by commitlint:
type(scope): descriptionfeat, fix, chore, docsfix(deps): update dependency @vueuse/core to v14 (#143)chore(deps): update actions/checkout digest to 08eba0bdocs: add user authentication guideCreating commits: Use
jj commit -m "message" to create commits, not jj describe.
Pre-commit hook (
.husky/pre-commit) runs:
lint-staged - lints and type-checks only staged files:
bun test - runs all tests.eslintrc.js (legacy config) with Vue 3 + TypeScriptsimple-import-sort for import orderingprettier-vue for formattingvue-eslint-parser for .vue files with TypeScript support.stylelintrc.jsonstylelint-config-standard and stylelint-config-idiomatic-order.stylelintignorevite.config.ts (currently uses placeholder "TODO" values)src/main.ts.vue files in src/pages/ - routes are auto-generatedsrc/util/ - they'll be auto-importedsrc/components/ - they'll be auto-importedsrc/store/ following the Pinia patternpackageManager field in package.json)mise.toml)noUnusedLocalssingleAttributePerLine: true