- name
SKILL.md
ไฟล์สกิลยังคงอยู่ในรีโพซิทอรีของผู้เผยแพร่
วางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add YunYouJun/valaxy --skill valaxy -a cursor -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add YunYouJun/valaxy --skill valaxy -a claude-code -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add YunYouJun/valaxy --skill valaxy -a codex -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add YunYouJun/valaxy --skill valaxy -a grok -yส่งข้อความที่คัดลอกไว้ในแชต Grok Bot แล้ว Bot จะดึง SKILL.md นี้จาก GitHub และเพิ่มลงในสกิลที่ Bot ทุกตัวของคุณใช้ร่วมกัน
Install this skill: https://github.com/YunYouJun/valaxy/tree/HEAD/skills/valaxyจากผู้เผยแพร่
Next-generation static blog framework: Vue 3 + Vite + UnoCSS + file-based routing + markdown-it.
pnpm create valaxy # scaffold new site
pnpm i # MUST use pnpm
pnpm dev # dev server at localhost:4859
pnpm build # SSG build to dist/
Two config files:
site.config.ts — site metadata (title, author, social, search, comments) via defineSiteConfig()valaxy.config.ts — framework config (theme, addons, markdown, vite) via defineValaxyConfig<ThemeConfig>()theme.config.ts — theme-specific via defineThemeConfig()Posts go in pages/posts/*.md. Frontmatter controls title, date, tags, categories, cover, draft, encryption, layout, etc.
Config sources merge via defu (user wins): Default → Theme → Addons → User.
roots = [clientRoot, themeRoot, ...addonRoots, userRoot]
User components/layouts/styles override theme which overrides core — by filename matching.
File-based via vue-router/vite. Files in pages/ become routes. Layout auto-assigned:
pages/posts/** → post layoutpages/tags/** → tags layoutpages/categories/** → categories layoutOverride with layout: xxx in frontmatter.
Define in pages/collections/{name}/index.ts using defineCollection():
import { defineCollection } from 'valaxy'
export default defineCollection({
key: 'hamster',
title: 'Hamster Stories',
items: [
{ title: 'Chapter 1', key: '1' },
],
})
::: zh-CN / ::: en containers in markdownlocales/*.ymltitle: { en: 'Title', 'zh-CN': '标题' }$locale:tag.notes syntaxCreate styles/index.ts (or .scss/.css) — auto-loaded. Override CSS vars for theming.
Place .vue files in components/ — auto-registered, overrides theme/core components by name.
When working on the Valaxy core framework itself:
pnpm i # install all workspace deps
pnpm run build # build core: utils → valaxy → devtools
pnpm dev:lib # watch core packages
pnpm demo # run demo site
pnpm docs:dev # run docs site
pnpm test # unit tests (vitest)
pnpm e2e # E2E tests (playwright)
pnpm lint # eslint
pnpm typecheck # type check
When displaying repository URLs from package.json, import and use normalizeRepositoryUrl() from @valaxyjs/utils to remove the git+ prefix.
Generate or redesign a theme from a brief: use the dedicated valaxy-theme skill from this repository (pnpm dlx skills add YunYouJun/valaxy --skill valaxy-theme). It covers a runnable theme/demo, UI-library integration and verification.
Framework architecture, virtual modules, composables, components: Read references/architecture.md
Theme/addon development, post frontmatter, addon gallery: Read references/theme-addon-dev.md
>
---name: valaxydescription: >---# skills/valaxy/SKILL.mdFAQ
ดาวน์โหลด skills/valaxy/SKILL.md จากผู้เผยแพร่ หรือคัดลอกพาธแล้วเปิดรีโพซิทอรี PlugMCP แสดงรายการสกิลเท่านั้น ไม่ได้โฮสต์ไฟล์
ผู้เผยแพร่เก็บไว้ที่ https://github.com/YunYouJun/valaxy
Claude, Cursor, Codex และ Grok Build อ่าน SKILL.md ที่คุณเพิ่มจากรีโพซิทอรีของผู้เผยแพร่ได้ ส่วน Grok Bot จะติดตั้งให้เมื่อคุณส่งลิงก์โฟลเดอร์ GitHub ของสกิลในแชต