create-playground-pages
Guide for creating pages in the playground for the module
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Guide for creating pages in the playground for the module
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Workflow for creating SSR-safe, memory-safe, version-adaptive composables wrapping anime.js utilities.
Create complete documentation sites for projects. Use when asked to: "create docs", "add documentation", "setup docs site", "generate docs", "document my project", "write docs", "initialize documentation", "add a docs folder", "create a docs website". Generates Docus-based sites with search, dark mode, MCP server, and llms.txt integration.
Scaffolds a documentation sample for a new composable using the project's standard structure.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating utility tests in this project using Nuxt test utils and component mounting.
| name | Create Playground Pages |
| description | Guide for creating pages in the playground for the module |
Use this skill when you need to create a page in the playground for testings
Playground pages reflect the same structure of files at
src/runtime/app
Confirm the structure of the composable or component you want to create a page for
e.g useSplitText which is at src/runtime/app/composables/useSplitText.ts
Create a page (a vue file) at the playground/pages directory, under the composables route
e.g playground/app/pages/composables/useSplitText.vue
Use the premade components at playground/app/components to create the page. The components
are already styled and ready to use. You do not need to import them. you can use it as PWrapper, PButton, ...etc
For module components, i.e components at the src/runtime/app/components directory, they should be imported based on their
file name playground/.nuxt/components.d.ts as you see in this file. The format is A + file folder + file name.
e.g the component at src/runtime/app/components/transition/Slide.vue should be imported as ATransitionSlide
Depending on the component or composable being created, read from the anime-core/anime directory to see examples and how they are created
Do not however use examples with utilites not created, or provided in the modules. Thus, the only valid examples that can be created are those that use utilities already used in the module directory, i.e text, animate, animatable, timeline, layout.
createScope in examples ...etc can not be used
playground/app/pages/index.vueplayground/app/components directory or create one there
if it doesn't exist and is absolutely neededuseMouseInElement, useElementSize, useIntersectionObserver, useResizeObserverisOutside for conditional logic?.()) when calling methods on dynamically created objectsas type assertions unless absolutely necessary (e.g., edge cases with library type definitions)watchEffect for side effects that depend on multiple reactive valuesif (isOutside.value) return to limit execution scopeconst containerRef = useTemplateRef('container')
const { elementX, elementY, isOutside } = useMouseInElement(containerRef)
watchEffect(() => {
if (isOutside.value) return
// Your logic here using elementX.value, elementY.value
})
pnpm test:types passespnpm test passes